DC Lecture 6
DC Lecture 6
1. Don't-Care Conditions
2. NAND and NOR Implementation
3. Other Two-level Implementations
4. Exclusive-OR Function
Gate Level Minimization (Cont.)-
Don’t-Care Conditions
1. Don't-Care Conditions
2. NAND and NOR Implementation
3. Other Two-level Implementations
4. Exclusive-OR Function
Gate Level Minimization (Cont.)-
NAND & NOR Implementation- NAND Gate
(xy)’
x’
y’
Gate Level Minimization (Cont.)-
NAND & NOR Implementation- NAND Gate (Cont.)-
Two-Level Implementation-
NAND-NAND = Sum of Product
2. A NAND gate for each product term; the inputs to each NAND
gate are the literals of the term (the first level);
3. A single NAND gate for the second sum term (the second level);
(A+B)’
(A+B)
(C+D)’
(C+D)
E
E’
AB’
A’B
(C+D’)
(C+D’)’
Outline
1. Don't-Care Conditions
2. NAND and NOR Implementation
3. Other Two-level Implementations
4. Exclusive-OR Function
Gate Level Minimization (Cont.)-
NAND & NOR Implementation- NAND Gate (Cont.)-
Other Two-Level Implementations
TTL: Transistor-Transistor Logic
Wired logic ECL: Emitter-Coupled Logic
– A wire connection between the outputs of two gates
– Open-collector TTL NAND gates: wired-AND logic
– The NOR output of ECL gates: wired-OR logic
Gate Level Minimization (Cont.)-
NAND & NOR Implementation- NAND Gate (Cont.)-
Other Two-Level Implementations- Degenerate Forms
How Many Two-level Combinations Of Gates Are Possible? We
consider 4 types of gates: AND, OR, NAND, and NOR.
̶ If we assign one type of gate for the first level and one type for the second
level, we find that there are 16 possible combinations of two-level forms.
̶ Eight of them are said to be degenerate forms because they will result in
a single operation effectively.
• Example: This can be seen from a circuit with AND gates in the first level and
an AND gate in the second Level. The output of the circuit is merely the AND
function of all input variables.
• AND-AND, AND-NAND, OR-OR, OR-NOR, NAND-OR, NAND-NOR, NOR-AND,
NOR-NAND.
̶ The first gate listed in each of the forms
constitutes a first level in the
A
implementation. The second gate listed B
C
is a single gate placed in the second level D
Gate Level Minimization (Cont.)-
NAND & NOR Implementation- NAND Gate (Cont.)-
Other Two-Level Implementations- Non-Degenerate Forms
x+y+z
x’ + y’ + z
1. Don't-Care Conditions
2. NAND and NOR Implementation
3. Other Two-level Implementations
4. Exclusive-OR Function
Gate Level Minimization (Cont.)-
Exclusive-OR Function
Exclusive-OR (XOR)
x⊕y = xy‘ + x'y
Exclusive-NOR (XNOR)
(x⊕y)' = xy + x'y'
Some identities
x⊕0 = x
x⊕1 = x'
x⊕x = 0
x⊕x' = 1
x⊕y' = (x⊕y)'
x'⊕y = (x⊕y)'
Commutative and associative
A⊕B = B⊕A
(A⊕B) ⊕C = A⊕ (B⊕C) = A⊕B⊕C
Gate Level Minimization (Cont.)-
Exclusive-OR Function (Cont.)-
Two-Variable Exclusive-OR Implementation
(xy)’
Exclusive-OR Implementations
Gate Level Minimization (Cont.)-
Exclusive-OR Function (Cont.)-
Two-Variable Exclusive-OR Implementation- Odd Function
– A⊕B⊕C
= (A ⊕ B) ⊕C x ⊕ y = xy‘ + x'y
= (A ⊕ B) C’ + (A ⊕ B)’ C
(x ⊕ y)' = xy + x'y'
= (AB'+A'B)C' +(AB+A'B')C
= AB'C'+A'BC'+ABC+A'B'C
= Σ(1, 2, 4, 7)
– XOR is an odd function →
an odd number of 1's, then F = 1.
– XNOR is an even function →
an even number of 1's, then F = 1.
Gate Level Minimization (Cont.)-
Exclusive-OR Function (Cont.)-
Two-Variable Exclusive-OR Implementation-
Odd & Even Function