A comparator logic circuit with four inputs and four outputs will be designed. Ay, A, B, and B, the inputs of the circuit: Y3 = F (A1, A0, B1, B0). Y2 = F (A1, A0, B1, Bo). Y0 = F (A1, A0, B1, B0) and Yo = F (A1, A0, B1, B0) are the outputs of the circuit. A = (A1, A0)2 and B = (B1, B0)2 represent 2-bit numbers in base 2. When A> B, output Y3, when A> = B, Y2 output, when A
A comparator logic circuit with four inputs and four outputs will be designed. Ay, A, B, and B, the inputs of the circuit: Y3 = F (A1, A0, B1, B0). Y2 = F (A1, A0, B1, Bo). Y0 = F (A1, A0, B1, B0) and Yo = F (A1, A0, B1, B0) are the outputs of the circuit. A = (A1, A0)2 and B = (B1, B0)2 represent 2-bit numbers in base 2. When A> B, output Y3, when A> = B, Y2 output, when A <B, Y1 output, when A <= B, Y0 output, Logic 1.
a) Create the truth table of the logic circuit.
b) Design the Y2 output of the comparator with two layer NOR-OR gates and draw the output Y2.
Example: For the numbers A = (01)2 B = (11)2 the input will be (A1, A0, B1, B0)2 = (0111)2 and the output will be (Y3, Y2, Y1, Y0)2 = (0011)2
For the numbers A = (10)2 B = (01) 2 the input will be (A1, A0, B1, B0)2 = (1001)2 and the output will be (Y3, Y2, Y1, Y0)2 = (1100)2
For the numbers A = (11), B = (11), the input will be (A1, A0, B1, B0)2 = (1111) and the output will be (Y3, Y2, Y1, Y0) = (0101).
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images