Professional Documents
Culture Documents
ch4 Combinational Logic Circuits
ch4 Combinational Logic Circuits
ch4 Combinational Logic Circuits
Chapter 4
Combinational Logic Circuits
Thái Truyển Đại Chấn
Sum-of-Products (SOP) Form
• Sum-of-Products We will use
AND term
• Product-of-Sums (POS)
OR term
Simplifying Logic Circuits
• Fewer terms, fewer variables fewer gates, fewer
connections more reliable
• Methods:
• Boolean algebra theorems: inspiration and experience
• Karnaugh mapping: step-by-step and systematic
Algebraic Simplification
• A process of trial and error
• Which theorems to be applied
• Whether in its simplest form or can be further
• Two essential steps
• DeMorgan’s and multiplication SOP
• Checking product terms and factoring eliminating terms
• Example
Designing Combinational Logic Circuits
Designing Combinational Logic Circuits
Designing Combinational Logic Circuits
• Design procedure
• Truth table
• Write AND term at output = 1
• SOP
• Simplify
• Circuit
Designing Combinational Logic Circuits
• Example
• 3 inputs
• x = 1 when 2 or more inputs = 1
Designing Combinational Logic Circuits
• Example
• z = 1 when the voltage > 6V
A+BCD
Designing Combinational Logic Circuits
• Example
• z = 1 when the voltage > 6V
Designing Combinational Logic Circuits
• Example: Simple copy machine
• S = 1 when either
• No paper in tray (P = 0)
• Two microswitches are activated
(Q = R = 1)
Designing Combinational Logic Circuits
• Example: Simple copy machine
Designing Combinational Logic Circuits
• Example: Simple copy machine
Using De Moren theorem
tied NAND gate = inverter
• Looping
• Exclusive-NOR = XNOR
• Only two inputs
• HIGH only when the two inputs are at the same level
• ICs
• 74LS266 Quad XNOR (TTL family)
• 74C266 Quad XNOR (CMOS)
• 74HC266 Quad XNOR (high-speed CMOS)
Exclusive-OR and Exclusive-NOR Circuits
• Example:
• Determine the output waveform for
the input waveforms
• Example:
• Build a logic circuit to determine if two 3-bit binary numbers
(x1x2x3 and y1y2y3) are equal (z = 1) or not (z = 0)
• Classification by complexity.
Basic Characteristics of Digital ICs
• Moore’s law
• 1965, the number of transistors in a dense integrated
circuit doubles approximately every two years
• 2015, the rate of progress would reach saturation: “I see
Moore's law dying here in the next decade or so”
• Example
• Express the following bit pattern’s numeric value in binary,
hex, and decimal using AHDL and VHDL notation
• 10011
Representing Data in HDL
• Bit arrays/bit vectors
• When input, output, or signal consists of several bits
• A unique number to describe the bit’s position
Representing Data in HDL
• VHDL bit vector declarations
• PORT (p1 :IN BIT_VECTOR (7 DOWNTO 0);
• Intermediate signal
• SIGNAL temp :BIT_VECTOR (7 DOWNTO 0);
• BEGIN
• temp <= p1;
• END;
Representing Data in HDL
• VHDL bit vector declarations