0
603views
Design a circuit to compare two-2 bit numbers. Implement this circuit using only NOR gate
0
12views

Let A and B are the two 2-bit numbers. The outputs of this circuit when we compare "A" with "B".

  • G (greater) should be 1 only when A>B
  • E (equal) should be 1 only when A=B
  • L (lesser) should be 1 only when A<B</li>
A B G E L
A1 A0 B1 B0
0 0 0 0 0 1 0
0 0 0 1 0 0 1
0 0 1 0 0 0 1
0 0 1 1 0 0 1
0 1 0 0 1 0 0
0 1 0 1 0 1 0
0 1 1 0 0 0 1
0 1 1 1 0 0 1
1 0 0 0 1 0 0
1 0 0 1 1 0 0
1 0 1 0 0 1 0
1 0 1 1 0 0 1
1 1 0 0 1 0 0
1 1 0 1 1 0 0
1 1 1 0 1 0 0
1 1 1 1 0 1 0

 To obtain the simplified Boolean expression, let's use k-maps.

There are three functions (each with the same inputs A1, A0, B1, B0), so we need three k-maps.

G(A1, A0, B1, B0)=A1A0B0'+A0B1B0'+A1B1'

E(A1, A0, B1, B0)=A1'A0'B1'B0'+A1'A0B1'B0'+A1A0B1B0+A1A0'B1B0'

L(A1, A0, B1, B0)=A1'A0'B0+A0'B1B0+A1'B1

Please log in to add an answer.