ECE172 Digital Circuits and Systems Ch04 HVT 2023-CombinationalCircuits BuildingBlocks
ECE172 Digital Circuits and Systems Ch04 HVT 2023-CombinationalCircuits BuildingBlocks
Digital Systems
Chapter 4. Combinational Circuits
& Building Blocks
Huỳnh Việt Thắng
Electronic & Telecommunication Engineering
DaNang University of Science and Technology
[email protected]
Feb. 2023
References
• [Chapter 6] Stephen Brown and Zvonko Vranesic,
“Fundamentals of Digital Logic with Verilog
Design”, 3rd Edition
Overview
• Combinational Circuits are systems whose outputs
are only logic function according to the inputs
3
Characteristics of Combinational Systems
• Consider a combinational system with n inputs
and m outputs
5
Contents
• Multiplexer (MUX)
• De-Multiplexer (DEMUX)
• Encoder
• Decoder
• Code conversion: BCD to 7-segment decoder
MUX & DEMUX
in Communication System
Channel
7
Multiplexer (MUX) – Mạch ghép kênh
• Multiplexer (channel selector) is a circuit that has
the function of selecting 1 out of N input channels
to bring to a single output (called a common
transmission line)
8
Multiplexers: 2-to-1 MUX
s
s f
w0 0 w0
f 0
w1 1 1 w1
w0 w0
s f s
w1 w1 f
• An n-bit binary code in which exactly one of the bits is set to 1 at a time is
referred to as one-hot encoded, meaning that the single bit that is set to 1 is
deemed to be “hot.” The outputs of a binary decoder are one-hot encoded.
2-to-4 Decoder
3-to-8 Decoder
• 3-to-8 Decoder using 2-to-4 Decoders
4-to-16 Decoder
Using Decoder & Tri-state Buffers to
implement a MUX
74138, 74139 Decoder/Demultiplexer
Decoding memory blocks
• Example 6.11
Decoding memory blocks
BCD-to-7-Segment Decoder
(Giải mã LED 7 đoạn)
• Seven Segments Display LED
32
BCD-to-7-Segment Decoder (cont.)
• Common Anode 7 Segments (Anode chung = cực + chung)
• Common Cathode 7 Segments (Cathode chung = cực - chung)
34
Common Anode 7-seg LED decoder (cont.)
• Truth Table
35
7-Segment Decoder Practical ICs