T7-Combinational Systems
T7-Combinational Systems
Topic
Topic 73
COMBINATIONAL SYSTEMS
Lectures: 3 hours
Exercises: 2 hours
COMBINATIONAL SYSTEMS
1. Introduction.
2. Combinational systems.
3. Multiplexers & Demultiplexers.
4. Decoders & Encoders.
Index
2
Electronic Systems. Topic 7
COMBINATIONAL SYSTEMS
1. Introduction
I. Integrated circuits (IC)
II. Printed circuit boards.
2. Combinational systems.
3. Multiplexers & Demultiplexers.
4. Decoders & Encoders.
Index
3
Electronic Systems. Topic 7
1.I. INTEGRATED CIRCUITS
4
Electronic Systems. Topic 7
1.I. INTEGRATED CIRCUITS
5
Electronic Systems. Topic 7
1.I. INTEGRATED CIRCUITS
8
Electronic Systems. Topic 7
COMBINATIONAL SYSTEMS
1. Introduction.
2. Combinational systems.
I. Digital systems classification.
II. Combinational circuits
3. Multiplexers & Demultiplexers.
4. Decoders & Encoders.
Index
9
Electronic Systems. Topic 7
2.I. DIGITAL SYSTEMS CLASSIFICATION
10
Electronic Systems. Topic 7
2.I. COMBINATIONAL CIRCUITS
• General features.
Clear functionality.
Input and output data are usually grouped into Binary
words.
Those blocks can be wired or inter-connected with
others in order to implement more complex systems.
Their signals can be either high-level active (1) low-
level active (0).
11
Electronic Systems. Topic 7
COMBINATIONAL SYSTEMS
1. Introduction.
2. Combinational Systems.
3. Multiplexers & Demultiplexers.
I. Multiplexers.
II. Demultiplexers.
4. Decoders & Encoder.
Index
12
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
13
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
• MUX 4:1
S1 S0 Y
3. Multiplexers & demultiplexers
0 0 D0 S1·S0·D0
0 1 D1 S1·S0·D1
1 0 D2 S1·S0·D 2
1 1 D3 S1·S0·D3
14
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
• MUX 4:1
3. Multiplexers & demultiplexers
15
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
circuit.
• Enable input (E o EN): It is used to enable or disable the
circuit. It can be High-level active or Low-level active.
16
Electronic Systems. Topic 7
3.I. MULTIPLEXORS
17
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
• Multiplexer applications
Data router: Choosing a data source among multiple
3. Multiplexers & demultiplexers
inputs..
D0
D1
Data sources ... MUX
Communication
channel
Dn-1
...
Select
18
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
20
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
21
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
22
Electronic Systems. Topic 7
3.I. MULTIPLEXERS
23
Electronic Systems. Topic 7
[Link]. DEMULTIPLEXER
1:4 DEMUX
(DEMUX) is the opposite of the
function of a MUX. 00 Y0
24
Electronic Systems. Topic 7
[Link]. DEMULTIPLEXER
1:4 DEMUX
S1 S0 Y0 Y1 Y2 Y3
0 0 Ent 0 0 0 Y 0 = S1·S0·Ent
Y1 = S1·S0·Ent
0 1 0 Ent 0 0
Y 2 = S1·S0·Ent
1 0 0 0 Ent 0
Y3 = S1·S0·Ent
1 1 0 0 0 Ent
25
Electronic Systems. Topic 7
[Link]. DEMULTIPLEXER
Example:
Imagine a 4-led panel in which a led is ON when it
3. Multiplexers & demultiplexers
LED0
A1 A0 LED0 LED1 LED2 LED3 00
0 0 P 0 0 0 01 LED1
P=‘1’
1 0 0 P 0 0
10 LED2
1 0 0 0 P 0
1 1 0 0 0 P 11 LED3
A1
A0
26
Electronic Systems. Topic 7
[Link]. DEMULTIPLEXER
D0 Y0
D1 Y1
D2 ... MUX DEMUX ... Y2 Output
data
Dn-1 Transmission Ym-1
...
...
Input-select Output-select
inputs inputs
27
Electronic Systems. Topic 7
COMBINATIONAL SYSTEMS
1. Introduction.
2. Combinational Systems.
3. Multiplexers & Demultiplexers.
4. Decoders & Encoders.
I. Decoders.
Index
II. Encoders.
28
Electronic Systems. Topic 7
4.I. DECODERS
• 2 to 4 decoder 2 to 4 Decoder
00
A1 A0 S0 S1 S2 S3 S0
4. Decoders & Encoders
0 0 1 0 0 0 S0 = A1·A 0 01
A0 S1
0 1 0 1 0 0 S1 = A1·A 0
A1 10 S2
1 0 0 0 1 0 S2 = A1·A 0
1 1 0 0 0 1 S3 = A1·A 0 S3
2 1
A0
2
1
2 1 3
S0
A1
2
1
3
S1
2
1
3
S2
2
1
3
S3
30
Electronic Systems. Topic 7
4.I. DECODERS
same time.
• The input code is a BCD word.
• The output code corresponds to the state of the
segments to display the specific number.
+5.0 V
1.0 kΩ
+5.0 V
74LS47 16
R's = MAN72
BCD/7-seg
3 VCC 330 Ω 3, 9, 14
LT a 13 1 a
4
BI/RBO b 12 13 b
5 11 10
RBI c c
6 A 10 8
d d
2 B e 9 7 e
BCD
input 1 C f 15 2 f
g 14 11 g
7
D
GND
8 33
Electronic Systems. Topic 7
4.I. DECODERS
D C B A a b c d e f g
0 0 0 0 1 1 1 1 1 1 0
0 0 0 1 0 1 1 0 0 0 0
0 0 1 0 1 1 0 1 1 0 1
0 0 1 1 1 1 1 1 0 0 1
0 1 0 0 0 1 1 0 0 1 1
0 1 0 1 1 0 1 1 0 1 1
0 1 1 0 0 0 1 1 1 1 1
0 1 1 1 1 1 1 0 0 0 0
1 0 0 0 1 1 1 1 1 1 1
1 0 0 1 1 1 1 0 0 1 1
1 0 1 0 X X X X X X X
. . . . . . . . . . . 34
Electronic Systems. Topic 7
4.I. DECODERS
• Active-High
inputs
• Active-High
outputs
35
Electronic Systems. Topic 7
[Link]. ENCODERS
• 4 to 2 Encoder:
Buttons 4 to 2 Encoder
4. Decoders & Encoders
A3 A2 A1 A0 S1 S0 CD A0
0 0 0 1 0 0 A1
DVD S0
0 0 1 0 0 1
0 1 0 0 1 0 RADIO FM A2 S1
1 0 0 0 1 1 A3
AUX
37
Electronic Systems. Topic 7
[Link]. ENCODERS
• The 74HC147 is an IC
encoder.
4. Decoders & Encoders
• 74HC147: Keyboard
encoder application.
4. Decoders & Encoders
39
Electronic Systems. Topic 7
BIBLIOGRAPHY
40
Electronic Systems. Topic 7