SlideShare a Scribd company logo
Combinational Logic Design
Unit II
Multiplexer
• It is a combinational circuit that selects binary
information from one of the input lines and directs it
to a single output line
• Usually there are 2n input lines and n selection lines
whose bit combinations determine which input line
is selected
• For example for 2-to-1 multiplexer if selection S is
zero then I0 has the path to output and if S is one I1
has the path to output (see the next slide)
Multiplexers
S = 0, Y = I0 Truth Table S Y Y = S’I0 + SI1
S = 1, Y = I1 0 I0
1 I1
3
Function table with enable
4 to 1 line multiplexer
S1 S0 F
0 0 I0
0 1 I1
1 0 I2
1 1 I3
4 to 1 line
multiplexer
2n MUX to 1
n for this MUX is 2
This means 2
selection lines s0
and s1
Implementing Digital Functions:
by using a Multiplexer: Example 1
Implementation of F(A,B,C,D)=∑ (m(1,3,5,7,8,10,12,13,14), d(4,6,15))
By using a 16-to-1 multiplexer:
6
F
I0
0
0
1
0
NOTE: 4,6 and 15 MAY BE
CONNECTED to either 0 or 1
I1
I2
I3
I4
I5
I8
I6
I9
I7
I11
I10
I13
I12
I14
I15
0
0
0
0
1
1
1
1
1
1
1
1
S3 S2 S1 S0
Boolean function Implementation
• Another method for implementing boolean
function is using multiplexer
• For doing that assume boolean function has n
variables. We have to use multiplexer with n-1
selection lines and
• 1- first n-1 variables of function is used for data
input
• 2- the remaining single variable is used for data
input. Each data input can be z, z’, 1 or 0. From
truth table we have to find the relation of F and
z to be able to design input lines. For example :
f(x,y,z) = ∑(1,2,6,7)
Cascading multiplexers
Using three 2-1 MUX
to make one 4-1 MUX
S1 S0 F
0 0 I0
0 1 I1
1 0 I2
1 1 I3
F
F
2-1
MUX
S E
S2 E
S2 S1 S0 F
0 0 0 I0
0 0 1 I1
0 1 0 I2
0 1 1 I3
1 0 0 I4
1 0 1 I5
1 1 0 I6
1 1 1 I7
I0
I1
I2
I3
I4
I5
I6
I7
Example: Construct an
8-to-1 multiplexer using
2-to-1 multiplexers.
Example : Construct 8-to-1 multiplexer using one 2-to-1 multiplexer and
two 4-to-1 multiplexers
S2 S1 S0 X
0 0 0 I0
0 0 1 I1
0 1 0 I2
0 1 1 I3
1 0 0 I4
1 0 1 I5
1 1 0 I6
1 1 1 I7
Quadruple 2-to-1 Line Multiplexer
• Multiplexer circuits can be combined with common selection inputs to provide
multiple-bit selection logic. Compare with Fig4-24.
11
I0
I1
Y
Boolean function implementation
• A more efficient method for implementing a Boolean function of
n variables with a multiplexer that has n-1 selection inputs.
F(x, y, z) = (1,2,6,7)
12
4-input function with a multiplexer
F(A, B, C, D) = (1, 3, 4, 11, 12, 13, 14, 15)
13
Demultiplexer
• A decoder with an enable input is referred to as a decoder/demultiplexer.
• The truth table of demultiplexer is the same with decoder.
14
Demultiplexer
D0
D1
D2
D3
E
A B
Demultiplexer (DMUX)/ Decoder
A 1-to-m DMUX, with ACTIVE HIGH Outputs, has
• 1 Input: I ( also called as the Enable input when the
device is called a Decoder)
• m ACTIVE HIGH Outputs: Y0, Y1, Y2,
..................................... …………….Y(m-1)
• n Control inputs: S0, S1, S2, ...... S(m-1)
15
Characteristic table of the 1-to-4 DMUX
with ACTIVE HIGH Outputs:
16
Table 2
Characteristic Table of a 1-to-4 DMUX, with
ACTIVE LOW Outputs:
17
Table 3
Decoder
– Accepts a value and decodes it
• Output corresponds to value of n inputs
– Consists of:
• Inputs (n)
• Outputs (2n , numbered from 0  2n - 1)
• Selectors / Enable (active high or active low)
A Decoder is a Demultiplexer with a change in
the name of the inputs :
19
Y0
Y1
Y2
Y4
S1 S0
ENABLE
INPUT
2 to 4
Decoder
When the IC is used as a Decoder, the input I is called
an Enable input
The truth table of 2-to-4 Decoder
2-to-4 Decoder
2-to-4 Decoder
The truth table of 3-to-8 Decoder
A2 A1 A0 D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
3-to-8 Decoder
3-to-8 Decoder with Enable
Decoder with enable input
• Some decoders are constructed with NAND gates, it becomes more economical to generate the decoder minterms in their complemented form.
• As indicated by the truth table , only one output can be equal to 0 at any given time, all other outputs are equal to 1.
26
3-to-8 decoder with enable implement the
4-to-16 decoder
27
Implementation of a Full Adder with a
Decoder
• From table 4-4, we obtain the functions for the combinational circuit in sum of
minterms:
S(x, y, z) = ∑(1, 2, 4, 7)
C(x, y, z) = ∑(3, 5, 6, 7)
28
Decoders: Implementing Functions
• Example: Full adder
S(x, y, z) =  m(1,2,4,7)
C(x, y, z) =  m(3,5,6,7)
3x8
Dec
S2
S1
S0
x
y
z
0
1
2
3
4
5
6
7
S
C
x y z C S
0 0 0 0 0
0 0 1 0 1
0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
From Figure
Decoder Expansion
• Decoder expansion
– Combine two or more small decoders with enable
inputs to form a larger decoder
– 3-to-8-line decoder constructed from two 2-to-4-
line decoders
• The MSB is connected to the enable inputs
• if A2=0, upper is enabled; if A2=1, lower is
enabled.
Decoder Expansion
Combining two 2-4 decoders to form one 3-8
decoder using enable switch
The highest bit is used for the enables
How about 4-16 decoder
• Use how many 3-8 decoder?
• Use how many 2-4 decoder?
Characteristic table of the 1-to-4 DMUX
with ACTIVE HIGH Outputs:
34
Table 2
Characteristic Table of a 1-to-4 DMUX, with
ACTIVE LOW Outputs:
35
Table 3

More Related Content

Similar to minimization technique.ppt (20)

PPT
Magnitude Comparator
sakshiravte4
 
PPT
217456070-Chapter-3_eletrical engineering
KritiArora55
 
PDF
Lecture 7 Multiplexers and Demultiplexer
andrewzimba02
 
PPT
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
KritiArora55
 
PPT
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
PPT
combinational circuits - Multiplexer and Demultiplexer
KasthuriKAssistantPr
 
PPTX
Switching theory unit 2
Dr. SURBHI SAROHA
 
PPTX
MULTIPLEXER
Siddhi Shrivas
 
PDF
multiplexer-demultiplexer.pdfDemultiplexer
mekdiesh
 
PPT
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
Supanna Shirguppe
 
PPT
leccccccccccc14_combinational_blocks.ppt
AdityaGupta221734
 
PPTX
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
J. Glory Precious
 
PPTX
module-4_sent to students computer organization.pptx
earningmoney9595
 
PPT
Chapter 4 combinational circuit
GulAhmad16
 
PPT
11.ppt
GulAhmad16
 
DOCX
Multiplexer and De multiplexers.docx
JAMIA MILLIA ISLAMIA,NEW DELHI,110025
 
PDF
Multiplux
KTHEJESH1
 
PPTX
2.4 MUXs & DEMUXs: multiplexers and demultiplexers.pptx
nicedeb699
 
PPT
digitalelectronics-multiplexersdemultipl
bgmirankpusher
 
PPT
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 
Magnitude Comparator
sakshiravte4
 
217456070-Chapter-3_eletrical engineering
KritiArora55
 
Lecture 7 Multiplexers and Demultiplexer
andrewzimba02
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
KritiArora55
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
combinational circuits - Multiplexer and Demultiplexer
KasthuriKAssistantPr
 
Switching theory unit 2
Dr. SURBHI SAROHA
 
MULTIPLEXER
Siddhi Shrivas
 
multiplexer-demultiplexer.pdfDemultiplexer
mekdiesh
 
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
Supanna Shirguppe
 
leccccccccccc14_combinational_blocks.ppt
AdityaGupta221734
 
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
J. Glory Precious
 
module-4_sent to students computer organization.pptx
earningmoney9595
 
Chapter 4 combinational circuit
GulAhmad16
 
11.ppt
GulAhmad16
 
Multiplexer and De multiplexers.docx
JAMIA MILLIA ISLAMIA,NEW DELHI,110025
 
Multiplux
KTHEJESH1
 
2.4 MUXs & DEMUXs: multiplexers and demultiplexers.pptx
nicedeb699
 
digitalelectronics-multiplexersdemultipl
bgmirankpusher
 
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 

Recently uploaded (20)

PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
Big Data and Data Science hype .pptx
SUNEEL37
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
PDF
smart lot access control system with eye
rasabzahra
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Presentation 2.pptx AI-powered home security systems Secure-by-design IoT fr...
SoundaryaBC2
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PPTX
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
PPTX
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
PPT
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Big Data and Data Science hype .pptx
SUNEEL37
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
smart lot access control system with eye
rasabzahra
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Presentation 2.pptx AI-powered home security systems Secure-by-design IoT fr...
SoundaryaBC2
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
Ad

minimization technique.ppt

  • 2. Multiplexer • It is a combinational circuit that selects binary information from one of the input lines and directs it to a single output line • Usually there are 2n input lines and n selection lines whose bit combinations determine which input line is selected • For example for 2-to-1 multiplexer if selection S is zero then I0 has the path to output and if S is one I1 has the path to output (see the next slide)
  • 3. Multiplexers S = 0, Y = I0 Truth Table S Y Y = S’I0 + SI1 S = 1, Y = I1 0 I0 1 I1 3
  • 5. 4 to 1 line multiplexer S1 S0 F 0 0 I0 0 1 I1 1 0 I2 1 1 I3 4 to 1 line multiplexer 2n MUX to 1 n for this MUX is 2 This means 2 selection lines s0 and s1
  • 6. Implementing Digital Functions: by using a Multiplexer: Example 1 Implementation of F(A,B,C,D)=∑ (m(1,3,5,7,8,10,12,13,14), d(4,6,15)) By using a 16-to-1 multiplexer: 6 F I0 0 0 1 0 NOTE: 4,6 and 15 MAY BE CONNECTED to either 0 or 1 I1 I2 I3 I4 I5 I8 I6 I9 I7 I11 I10 I13 I12 I14 I15 0 0 0 0 1 1 1 1 1 1 1 1 S3 S2 S1 S0
  • 7. Boolean function Implementation • Another method for implementing boolean function is using multiplexer • For doing that assume boolean function has n variables. We have to use multiplexer with n-1 selection lines and • 1- first n-1 variables of function is used for data input • 2- the remaining single variable is used for data input. Each data input can be z, z’, 1 or 0. From truth table we have to find the relation of F and z to be able to design input lines. For example : f(x,y,z) = ∑(1,2,6,7)
  • 8. Cascading multiplexers Using three 2-1 MUX to make one 4-1 MUX S1 S0 F 0 0 I0 0 1 I1 1 0 I2 1 1 I3 F
  • 9. F 2-1 MUX S E S2 E S2 S1 S0 F 0 0 0 I0 0 0 1 I1 0 1 0 I2 0 1 1 I3 1 0 0 I4 1 0 1 I5 1 1 0 I6 1 1 1 I7 I0 I1 I2 I3 I4 I5 I6 I7 Example: Construct an 8-to-1 multiplexer using 2-to-1 multiplexers.
  • 10. Example : Construct 8-to-1 multiplexer using one 2-to-1 multiplexer and two 4-to-1 multiplexers S2 S1 S0 X 0 0 0 I0 0 0 1 I1 0 1 0 I2 0 1 1 I3 1 0 0 I4 1 0 1 I5 1 1 0 I6 1 1 1 I7
  • 11. Quadruple 2-to-1 Line Multiplexer • Multiplexer circuits can be combined with common selection inputs to provide multiple-bit selection logic. Compare with Fig4-24. 11 I0 I1 Y
  • 12. Boolean function implementation • A more efficient method for implementing a Boolean function of n variables with a multiplexer that has n-1 selection inputs. F(x, y, z) = (1,2,6,7) 12
  • 13. 4-input function with a multiplexer F(A, B, C, D) = (1, 3, 4, 11, 12, 13, 14, 15) 13
  • 14. Demultiplexer • A decoder with an enable input is referred to as a decoder/demultiplexer. • The truth table of demultiplexer is the same with decoder. 14 Demultiplexer D0 D1 D2 D3 E A B
  • 15. Demultiplexer (DMUX)/ Decoder A 1-to-m DMUX, with ACTIVE HIGH Outputs, has • 1 Input: I ( also called as the Enable input when the device is called a Decoder) • m ACTIVE HIGH Outputs: Y0, Y1, Y2, ..................................... …………….Y(m-1) • n Control inputs: S0, S1, S2, ...... S(m-1) 15
  • 16. Characteristic table of the 1-to-4 DMUX with ACTIVE HIGH Outputs: 16 Table 2
  • 17. Characteristic Table of a 1-to-4 DMUX, with ACTIVE LOW Outputs: 17 Table 3
  • 18. Decoder – Accepts a value and decodes it • Output corresponds to value of n inputs – Consists of: • Inputs (n) • Outputs (2n , numbered from 0  2n - 1) • Selectors / Enable (active high or active low)
  • 19. A Decoder is a Demultiplexer with a change in the name of the inputs : 19 Y0 Y1 Y2 Y4 S1 S0 ENABLE INPUT 2 to 4 Decoder When the IC is used as a Decoder, the input I is called an Enable input
  • 20. The truth table of 2-to-4 Decoder
  • 23. The truth table of 3-to-8 Decoder A2 A1 A0 D0 D1 D2 D3 D4 D5 D6 D7 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1
  • 26. Decoder with enable input • Some decoders are constructed with NAND gates, it becomes more economical to generate the decoder minterms in their complemented form. • As indicated by the truth table , only one output can be equal to 0 at any given time, all other outputs are equal to 1. 26
  • 27. 3-to-8 decoder with enable implement the 4-to-16 decoder 27
  • 28. Implementation of a Full Adder with a Decoder • From table 4-4, we obtain the functions for the combinational circuit in sum of minterms: S(x, y, z) = ∑(1, 2, 4, 7) C(x, y, z) = ∑(3, 5, 6, 7) 28
  • 29. Decoders: Implementing Functions • Example: Full adder S(x, y, z) =  m(1,2,4,7) C(x, y, z) =  m(3,5,6,7) 3x8 Dec S2 S1 S0 x y z 0 1 2 3 4 5 6 7 S C x y z C S 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 From Figure
  • 30. Decoder Expansion • Decoder expansion – Combine two or more small decoders with enable inputs to form a larger decoder – 3-to-8-line decoder constructed from two 2-to-4- line decoders • The MSB is connected to the enable inputs • if A2=0, upper is enabled; if A2=1, lower is enabled.
  • 32. Combining two 2-4 decoders to form one 3-8 decoder using enable switch The highest bit is used for the enables
  • 33. How about 4-16 decoder • Use how many 3-8 decoder? • Use how many 2-4 decoder?
  • 34. Characteristic table of the 1-to-4 DMUX with ACTIVE HIGH Outputs: 34 Table 2
  • 35. Characteristic Table of a 1-to-4 DMUX, with ACTIVE LOW Outputs: 35 Table 3