Electronics
Co
ombinaationall Logicc Functions
Code Converte
C rs, Paritty Generrators & Checkers
Code Converters:
C :
A code converter is
i a combin
national loggic circuit th
hat changees
data preesented in one
o type of binary co
ode to anotther type o
of
binary code.
c
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
1 0 1 0 1 1 1 1
1 0 1 1 1 1 1 0
1 1 0 0 1 0 1 0
1 1 0 1 1 0 1 1
1 1 1 0 1 0 0 1
1 1 1 1 1 0 0 0
2, 3, 4, 5,
5 10, 11, 12, 13 , 1, 2,
2 5, 6, 9, 10
0, 13, 14
By simplifying the above expressions using K maps, we get
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 1 0 0 1 0
0 0 1 0 0 0 1 1
0 1 1 0 0 1 0 0
0 1 1 1 0 1 0 1
0 1 0 1 0 1 1 0
0 1 0 0 0 1 1 1
1 1 0 0 1 0 0 0
1 1 0 1 1 0 0 1
1 1 1 1 1 0 1 0
1 1 1 0 1 0 1 1
1 0 1 0 1 1 0 0
1 0 1 1 1 1 0 1
1 0 0 1 1 1 1 0
1 0 0 0 1 1 1 1
, G
G G
G G G
BCD to Excess-3 Code Converter:
Parity Generator and Checker:
The circuit that generates the parity bit in the transmitter is called a parity
generator. The circuit that checks the parity in the receiver is called a parity
checker.
X Y Z P
0 0 0 0
Y Z
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
Even Parity Checker:
y z P