Digital Logic Design
Digital Logic Design
Karnaugh map
Karnaugh map
its complement. 11
Ones are read as the true variable
10
and zeros are read as the
complemented variable.
Gray code
Decimal Binary Gray code
0 0000 0000
• Gray code is an unweighted 1 0001 0001
2 0010 0011
code that has a single bit 3 0011 0010
change between one code 4 0100 0110
5 0101 0111
word and the next in a 6 0110 0101
sequence. 7 0111 0100
8 1000 1100
• Gray code is used to avoid 9 1001 1101
problems in systems where an 10 1010 1111
11 1011 1110
error can occur if more than 12 1100 1010
one bit changes at a time. 13 1101 1011
14 1110 1001
15 1111 1000
Alternatively, cells can be labeled with the variable
letters. This makes it simple to read, but it takes more
time preparing the map.
CC CC
Read the terms for the AB
AB ABC ABC
yellow cells.
AB
AB ABC
ABC ABC
AB
The cells are ABC and ABC. AB ABC ABC
AB
AB ABC ABC
ABC
Two variable Map
Two variable X and Y can form four AND
combination, which are:
Y
0 1
X
0 XY XY
1 XY XY
Three variable Map
Self
training:
Find the
Simplified
expression
“Don’t Care” Conditions
Any question?
References