EEE3105 ch02
EEE3105 ch02
Microprocessor
Fundamentals
Active-low
circuit symbol
Boolean Algebra
Logic Equations
Truth Table
Timing Diagram
Boolean Algebra
a mathematical process for analyzing and simplifying
OR
NOR
Exclusive-OR
Exclusive-NOR
Boolean Variables
Logic Gate
an electrical circuit that performs a Boolean algebraic
function
A A A A
F F F F
B B B B
F A B AB A B
Exclusive-NOR
F A B AB A B
ABCD...N A B C D ... N
A B C ... N A.B.C...N
A + (B C) = (A + B)(A + C)
F=
A F
A
F=
F
F=
02/04/2025 (C) VTC 2012 p.18
Universal Gates
NOR gates can also be used to implement NOT, AND
and OR gates
Classwork Exercise:
F = A(B + C)
Useful to show
how digital signals change with time
1
A
0
1
B
0
1
F
0
time / t
Fig 1
02/04/2025 (C) VTC 2012 p.23
Examples
Example:
A
A A BC
B BC
C A
F
B
Fig 1
Y = AB + CD
= A’B + A(B’ + B)
= A’B + A
=A+B
Example:
logic-1 output
Each PRODUCT term in a SOP form is called a
‘minterm’
components)
reduce power consumption
reduce fabrication costs
reduce PCB size
shorten propagation delay => increase in speed
improve circuit testability & reliability
Drawback of Simplification
Timing problems
Chapter 02 K-Map
a cell
LSB LSB
BC minterm
BC
MSB BC BC BC BC MSB BC BC BC BC
A 00 01 11 10
A 00 01 11 10
minterm no.
A 0 m0 m1 m3 m2 A 0 A’B’C’ A’B’C A’BC A’BC’
0 1 3 2 0 1 3 2
a cell
LSB LSB
CD minterm
CD
MSB CD CD CD CD MSB CD CD CD CD
AB 00 01 11 10
AB 00 01 11 10
minterm no.
A B 00 m0 m1 m3 m2 A B 00 A’B’C’D’ A’B’C’D A’B’CD A’B’CD’
0 1 3 2 0 1 3 2
Solution:
A B 00 1 1 1 1
0 1 3 2
A B 01 0 1 1 1
4 5 7 6
A B 11 0 0 1 0
12 13 15 14
A B 10 1 1 1 1
8 9 11 10
A B 00 1 1 1 1
0 1 3 2
A B 01 0 1 1 1
4 5 7 6
A B 11 0 0 1 0
12 13 15 14
A B 10 1 1 1 1
8 9 11 10
unattended
Each group – as large as possible
group
A B 00 1 1 1 1
0 1 3 2
A B 01 0 1 1 1
4 5 7 6
A B 11 0 0 1 0
12 13 15 14
A B 10 1 1 1 1
8 9 11 10
A B 00 1 1 0 1
0 1 3 2
A B 01 0 1 0 0
4 5 7 6
A B 11 0 0 0 0
12 13 15 14
A B 10 1 1 0 1
8 9 11 10
in a truth table
=> we mark it ‘X’ or ‘d’
A don’t care term ‘X’ may be treated as ‘1’ or ‘0’; thus the
logic function and the actual circuit can be further
simplified
A 0 0 0 X 0
0 1 3 2
A 1 0 1 X 1
4 5 7 6
0 0 0 0
0 0 0 0
1 1 1 1
MSB D8 E3 MSB
D4 8421 BCD-to- E2
Excess-3
D2 Code Comverter E1
LSB D1 E0 LSB
terms, and
simplify the logic equations ?
End-of-Chapter 02