Professional Documents
Culture Documents
ECE 238L - 3
Computer Logic Design
1
8/16/15
Integrated Circuits
2
8/16/15
Analysing and
Designing Logic
Circuits
3
8/16/15
4
8/16/15
Analysing IC
Logic Circuits
5
8/16/15
Designing IC
Logic Circuits
6
8/16/15
7
8/16/15
8
8/16/15
9
8/16/15
10
8/16/15
Generating
Detailed
Schematics
Detailed Schematics
11
8/16/15
Detailed Schematics
Design of F2 = A’B + AB’ (SOP) using a single gate and IC
device. Show detailed connections (or wiring) required to
build a circuit on a PC board.
Detailed Schematics
12
8/16/15
VHDL Listing
WAVEFORM
13
8/16/15
Designing Circuits in
NAND/NAND and
NOR/NOR Form
DeMorgan Rules
To obtain a De Morgan equivalent gate symbol for an
AND, OR, NAND, or NOR gate:
– Add bubbles to all inputs
– Add bubbles to all outputs
– Change ANDs to ORs
– Change ORs to ANDs
– Two bubbles result in no bubble; Double Negation
Theorem
14
8/16/15
15
8/16/15
AND-OR to NAND-NAND
Transformation
Design of Minimum Two-Level NAND-NAND
Circuits
16
8/16/15
AND-OR to NAND-NAND
Transformation
Design of Minimum Two-Level NAND-NAND
Circuit
F = l 1 + l 2 + • • • + P 1 + P2 + • • •
AND-OR to NAND-NAND
Transformation
Design of Minimum Two-Level NAND-NAND
Circuits
17
8/16/15
AND/OR to NAND/NAND
AND/OR to NAND/NAND
F1 = A’B’C’ + BC + AC’
18
8/16/15
F1 = A’B’C’ + BC + AC’
OR-AND to NOR-NOR
Transformation
Design of Minimum Two-Level NOR-NOR
Circuits
19
8/16/15
OR-AND to NOR-NOR
Transformation
Design of Minimum Two-Level NOR-NOR
Circuits
OR/AND to NOR/NOR
20
8/16/15
OR/AND to NOR/NOR
F2 = X’Z’ + XZ + Y
F2’ = (X + Y)(X’ + Z’)Y’
F2 = X’Z’ + XZ + Y
F2’ = (X + Y)(X’ + Z’)Y’
21
8/16/15
Propagation Time
Delay
22
8/16/15
Propagation Delay
tPHL = propagation delay when output changes from High to
Low
tPLH = propagation delay when output changes from Low to
High
Propagation Delay
Delays add up!!!!! Fastest circuit have shorter delay times,
have fewest number of cascaded components.
Worst case delay time = tp1 + tp2 + tp3
23
8/16/15
Decoders
Decoders
Converts n input lines to one of the 2n different
output lines: n-to-2n Decoder.
The most important function!!!!
The decoder is another commonly used type of
integrated circuit.
The decoder generates all of the minterms
(maxterms) of the n input variables. Exactly one of
the 2n output lines will be 1 (0) for each
combination of the values of the input variables.
24
8/16/15
Decoders
If n-bit coded information has “don’t cares”, then
the Decoder will output less than 2n outputs. That
is m <= 2n.
1-to-2 Decoder
25
8/16/15
2-to-4 Decoder
26
8/16/15
27
8/16/15
Decoders
The decoder generates all of the minterms
(maxterms) of the n input variables. Exactly one of
the 2n output lines will be 1 (0) for each
combination of the values of the input variables.
• Active High if outputs are 1s (minterms)
• Active Low if outputs are 0s (maxterms)
28
8/16/15
29
8/16/15
A B C D
7442
30
8/16/15
Decoders
Used as address decoders in microprocesor/
microcontroller systems to select specific devices
such as RAM, ROM, I/O devices, other.
31
8/16/15
32
8/16/15
33
8/16/15
34
8/16/15
Designing Logic
Circuits with
Decoders and
Single Gates
35
8/16/15
F1 = Σm(2,3,5,7) - SOM
36
8/16/15
37
8/16/15
Realization of a Multiple-Output
Circuit Using a Decoder
f1(a, b, c, d) = m1 + m2 + m4
f2(a, b, c, d) = m4 + m7 + m9
f1 = (m1′m2′m4′)′
f2 = (m4′m7′m9′)′
38
8/16/15
Transfer Data on a
Common Data Bus
39
8/16/15
40
8/16/15
41
8/16/15
42
8/16/15
43
8/16/15
Excess-3 to
Decimal Decoder
44
8/16/15
45
8/16/15
Binary-to-Gray
and
Gray-to-Binary
Decoders
46
8/16/15
47
8/16/15
48
8/16/15
49
8/16/15
Multiplexers
Multiplexers (MUXs)
50
8/16/15
Z = A′I0 + AI1
2-to-1 Multiplexer
F = D0S0’ + D1S0 = D0 when S0 = 0
F = D0S0’ + D1S0 = D1 when S0 = 1
51
8/16/15
52
8/16/15
53
8/16/15
54
8/16/15
Multiplexers
55
8/16/15
56
8/16/15
Designing
Logic Circuits
with MUXs
57
8/16/15
58
8/16/15
Technique 1:
• For N variables, use N-1 variables as inputs to
select lines. Hence, we need a 2N-1-to-1 MUX.
• From Truth table determine what the 2N inputs
lines should be.
59
8/16/15
60
8/16/15
61
8/16/15
62
8/16/15
Hazards
Hazards in
Combinational Logic
A hazard can cause a logic glitch, i,.e. un undesired
momentary pulse that occurs at the output of a
circuit. Circuit failures.
Function Hazard: glitch at the output when two or
more input signals change at the same time. These
transients occur when different paths from input to
output have different propagation delays.
63
8/16/15
Hazards in
Combinational Logic
Can be identified by plotting the function in a K-
Map.
Designer has no control over function hazards.
Types of Hazards
64
8/16/15
3 Input XOR
Hazards in
Combinational Logic
Logic Hazard: glitch at the output when one input
signal is changed due to delays in the circuit.
65
8/16/15
Detection of a 1-Hazard
66
8/16/15
Fixing a 1-Hazard
67
8/16/15
Detection of a 1-Hazard
68
8/16/15
69
8/16/15
70
8/16/15
Selected
Problems
71
8/16/15
FIGURE P3.13
FIGURE P3.17
72
8/16/15
FIGURE P3.18
FIGURE P3.19
73
8/16/15
FIGURE P3.83
Q&A
74