Combination Circuits

Binary to Gray Code converter

In this circuit we’ll convert BINARY numbers to GRAY numbers. Following is the truth table for it: B3           B2          B1           B0           G3           G2          G1          G0 0.            0              0              0              0              0              0              0              0 1.            0             0             0              1 […]

Binary Code

Gray Code

This is also called unit distance code or reflected code. This coding system has a property that there is only one bit change between consecutive gray codes. The following table would show gray codes of decimal values. Binary to gray conversion: Starting from right to left If it is MSB then place it as it is […]