Construction of Gray to Binary Converter using NAND gates only

Battery

G3(MSB)

G2

G1

G0(LSB)

B3(MSB)

B2

B1

B0(LSB)

+5V

-













      TRUTH TABLE                                                    

Serial No. Gray Binary
G3
(MSB)
G2 G1 G0
(LSB)
B3
(MSB)
B2 B1 B0
(LSB)