Professional Documents
Culture Documents
G[3] = bin[3]
G[2] = bin[3] ^ bin[2]
G[1] = bin[2] ^ bin[1]
G[0] = bin[1] ^ bin[0]
Page 2 of 9
B Srinidhi EC20B1042
bin[3] = G[3]
bin[2] = G[3] ^ G[2]
bin[1] = G[3] ^ G[2] ^ G[1]
bin[0] = G[3] ^ G[2] ^ G[1] ^ G[0]
Page 3 of 9
B Srinidhi EC20B1042
E0=B0'
E1=B1B0+B1'B0'
E2=B2'B1+B2'B0+B2B1'B0'
E3=B3+B2B1+B2B0
Page 4 of 9
B Srinidhi EC20B1042
B1=E1'E0+E1E0'
B2=E2'E1'+E2'E0'+E2E1E0
B3=E3E2+E3E1E0
Page 5 of 9
B Srinidhi EC20B1042
Page 6 of 9
B Srinidhi EC20B1042
Page 7 of 9
B Srinidhi EC20B1042
6.4 6.5
Page 8 of 9
B Srinidhi EC20B1042
Result:
All Code converters and magnitude comparators have been
implemented using logic gates using Multisim and verified them
using truth tables.
Page 9 of 9