Assignment 2: Boolean Logic Due Date: Feb. 11, 2016

advertisement
Assignment 2: Boolean Logic
Due Date: Feb. 11, 2016
1. Draw the logic diagrams with gates for the following Boolean functions (30 pts)
1) π‘Œ = 𝐴 + 𝐡 βˆ™ 𝐢
Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…
2) π‘Œ = (𝐴̅ + 𝐡̅ ) βˆ™ 𝐢 + 𝐴 βˆ™ (𝐡
+ 𝐢)
Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…
3) π‘Œ = Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…
𝐴̅ + 𝐡̅ + 𝐢 βˆ™ (𝐴 + 𝐷)
2. (15 pts) Prove or disprove
𝐴 + 𝐴̅ βˆ™ 𝐡̅ = 𝐴 + 𝐡̅ .
(Hint: Use a truth table)
3. (15 pts) Use De Morgan’s law and the other Boolean logic laws to prove that
(𝐡 βˆ™ 𝐢 )
((𝐴 βˆ™ 𝐡) + (𝐴 βˆ™ 𝐢)) βˆ™ Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…Μ…
is equivalent to:
(𝐴 βˆ™ 𝐡 βˆ™ 𝐢̅ ) + (𝐴 βˆ™ 𝐢 βˆ™ 𝐡̅ ).
4. (20 pts) Show that using only two-input NOR gates can build the AND, OR, NOT, and XOR
functions.
5. (20 pts) Assume that X consists of 4 bits, X3, X2, X1, X0. Write three logic functions that are
true if and only if
a. X contains only one 1
b. X contains an even number of 1’s
c. X when interpreted as an unsigned binary number is less than 10
Download