Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Chapter4_4Web.ppt
1. Combinational Logic 1
DIGITAL LOGIC DESIGN
by
Dr. Fenghui Yao
Tennessee State University
Department of Computer Science
Nashville, TN
2. Combinational Logic 2
Remember
Combinational
The outputs depend only on the current input
values
It uses only logic gates
Sequential
The outputs depend on the current and past input
values
It uses logic gates and storage elements
Network
.
.
.
.
.
.
Inputs Outputs
3. Combinational Logic 3
Notes
If there are n input variables, there are
2^n input combinations
For each input combination, there is
one output value
Truth tables are used to list all possible
combinations of inputs and
corresponding output values
5. Combinational Logic 5
Design
Determine the inputs and outputs
Assign a symbol for each
Derive the truth table
Get the simplified boolean expression
for each output
Draw the network diagram
10. Combinational Logic 10
Adders
Essential part of every CPU
Half adder (Ignore the carry-in bit)
It performs the addition of two bits
Full adder
It performs the addition of three bits
16. Combinational Logic 16
Binary Subtractor
Remember
You need to take 2’s complement to represent
negative numbers
A-B
Take 2’s complement of B and add it to A
First take 1’s complement and add 1
17. Combinational Logic 17
4-Bit Adder and Subtractor
)
(
)
(
1
)
(
0
Overflow
V
Subtractor
M
Adder
M
From course book
28. Combinational Logic 28
Full Adder with Decoder
i
i
i
i
i
i
i
i
i
i
i
i
i
B
A
C
B
A
C
B
A
C
C
B
A
S
'
'
1
29. Combinational Logic 29
Multiplexers
You can select information from one of
many input lines and assign it to one
output line
You have input lines, control lines, and
one output line
It is called MUX
37. Combinational Logic 37
Study Problem
Course Book Chapter – 4 Problems
4 – 31
Construct a 16x1 multiplexer with two 8x1 and
one 2x1 multiplexer. Use block diagrams
38. Combinational Logic 38
Study Problem
Course Book Chapter – 4 Problems
4 – 34
implements
r
multiplexe
hat the
function t
Boolean
the
Determine
'
;
;
1
;
0
inputs
data
The
ly.
respective
S
and
,
S
,
S
inputs
selection
the
to
connected
C
and
B,
A,
inputs
has
r
multiplexe
8x1
An
6
4
0
5
3
7
2
1
0
1
2
D
I
D
I
I
I
I
I
I
I