0
6.8kviews
4-bit binary to gray code converter.
1 Answer
| written 3.9 years ago by |
4-bit binary to gray code converter.
Step 1: Truth table.
| Input (Binary) | Output (Gray code) | |----|----|
| - | B3 | B2 | B1 | B0 | G3 | G2 | G1 | GO |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
| 2 | 0 | 0 | 1 … |