Draw the logic circuit to encode the following Hexadecimal number (1, 3, 5, 6, 9, A, C, E) to its…
Draw the logic circuit to encode the following Hexadecimal number (1, 3, 5, 6, 9, A, C, E) to its binary equivalents. Also state the binary equivalents of the given numbers.
Draw: logic circuit to encode the hexadecimal numbers 1, 3, 5, 6, 9, A, C, E to their binary equivalents
Answer
Answer
Binary equivalents: $1=0001,\ 3=0011,\ 5=0101,\ 6=0110,\ 9=1001,\ A=1010,\ C=1100,\ E=1110$.
This is an 8-line to 4-line ENCODER: each hex digit has its own input line (I1, I3, I5, I6, I9, I10, I12, I14), active (=1) when that value is selected. Four OR gates combine these input lines to produce the 4-bit binary output B3 B2 B1 B0 (B3 = MSB):
$B_3 = I_9+I_{10}+I_{12}+I_{14}$
$B_2 = I_5+I_6+I_{12}+I_{14}$
$B_1 = I_3+I_6+I_{10}+I_{14}$
$B_0 = I_1+I_3+I_5+I_9$