Digital
Digital
Combinational Circuit
• When logic gates are connected Combinational
together to produce a specified Inputs circuit Outputs
output for certain specified
combinations of input variables,
with no storage involved, the
resulting circuit is called
combinational logic.
Applications:
• Derive the boolean expression for some binary calculation (e.g.,
addition)
• Then build the circuit using the various logic gates
Half Adder
– Notice that sum computes the same as XOR and carry
computes the same as AND
– We build an Adder using just one XOR and one AND gate
or
Logic diagram
Full Subtractor
Implementation using two half-subtractors
and an OR gate
Serial Adder/Subtractor
Two numbers stored in right shift registers A and B can be added serially.
Serial Adder
Parallel Adder
• A single full adder is capable of adding two one-bit numbers and an
carry.
• In order to add binary numbers with more than one bit, additional full
adders must be employed.
Y=S3S2+S3S1
• D3-higest priority ,
• D0- lowest priority.
4-bit Priority Encoder-K Map
4-bit Priority Encoder
Multiplexers
• It is a digital switch. It allows digital
information from several sources to be routed
onto a single output line.
Truth table
Logic diagram
Quadruple 2-to-1 line multiplexer
•It has 4 MUX each capable of
selecting one of the two input
lines.
•Output Y1 can be selected to
have the value of 1 or B1
respectively.
•The selection line ‘s’ selects
one of the two lines in all 4
MUX.
•The control input ‘E’ enables
the MUX in ‘0’ state and
disables them in ‘1’ state.
•When E=1,o/p have all o’s,
regardless of the value of S.
74xx151 8 to 1 multiplexer
Design of 32x1 MUX using two 74ls150 IC’S
Design of 32x1 MUX using four 8x1 MUX
AND 2X4 DECODER
Implementation of Combinational
logic using MUX
• F(A,B,C)= Σ m(1,3,5,6)
Implementation table
MUX implementation
Implementation of Combinational
logic using MUX
F(A,B,C,D)=Σ(0,1,2,4,6,9,12,14)