Assignment 5
Assignment 5
7/7/2022
1
Exercise 1
• Design a comparator to compare two 3-bit binary
numbers using only NAND gates. The output is 1 if
the two numbers are equal.
2
Exercise 2
• Design a full comparator to compare two 4-bit binary
numbers.
3
Exercise 3
• Use an 8-to-1 MUX to implement the following
Boolean function:
F(A, B, C) =
4
Exercise 4
• Find the Boolean function Y(A, B, C, D) of the
following logic circuit:
5
Exercise 5
• Implement the following Boolean function using a 3-
to-8 decoder and OR/NOR gates:
6
Exercise 6
• Design a 32-to-1 MUX using only 8-to-1 MUXs, a 2-
to-4 decoder, and an OR gate.
7
Exercise 7
• Design a BCD-to-7 Segment decoder.
Common anode
7-Seg. display
8
Exercise 8
• Design a logic circuit to implement the following
equation: M = N + 3, where M is a 4-bit binary
number and N is a 4-bit BCD code.