Verify Binary To Gray and Gray To Binary Conversion Using NAND Gates Only
Verify Binary To Gray and Gray To Binary Conversion Using NAND Gates Only
Introduction
Gray code has property that two successive numbers differ in only one
bit because of this property gray code does the cycling through various
states with minimal effort and used in K-maps, error correction,
communication etc.
1. The Most Significant Bit (MSB) of the gray code is always equal to
the MSB of the given binary code.
2. Other bits of the output gray code can be obtained by Ex-ORing
binary code bit at that index and previous index.
There are four inputs and four outputs. The input variable are
defined as B3, B2, B1, B0 and the output variables are defined as G3,
G2, G1, G0. From the truth table, combinational circuit is
designed.The logical expressions are defined as :
B 3 = G3
B 2 ⊕ B3 = G2
B 1 ⊕ B2 = G1
B0 ⊕ B1 = G0
There are four inputs and four outputs. The input variable are defined as
G3, G2, G1, G0 and the output variables are defined as B 3, B2, B1, B0. From
the truth table, combinational circuit is designed.The logical expressions
are defined as :
G 0 ⊕ G 1 ⊕ G 2 ⊕ G 3 = B0
G 1 ⊕ G 2 ⊕ G 3 = B1
G 2 ⊕ G 3 = B2
G3 = B3
Figure-3: Gray to Binary Code Converter Circuit
Step-5) Click "Print" to get the print out of the Truth Table.
Step-5) Click "Print" to get the print out of the Truth Table.