Skip to main content
. 2024 Nov 15;10(22):e40446. doi: 10.1016/j.heliyon.2024.e40446

Table 1.

Truth table of the BCD to gray code converter.

BCD Inputs
Gray Outputs
A B C D G3 G2 G1 G0
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0
0 1 0 1 0 1 1 1
0 1 1 0 0 1 0 1
0 1 1 1 0 1 0 0
1 0 0 0 1 1 0 0
1 0 0 1 1 1 0 1