Ece20b Slides4 6up
Ece20b Slides4 6up
5. Find equivalent PIs and select arbitrarily one PI from each set of
equivalent PIs, checking off included minterms.
6. If minterms remain unchecked and no PI less than relations can
be obtained, then a cyclic structure exists. For a cyclic structure,
(a) arbitrarily select a PI and repeat steps 1 through 6, and
(b) delete the same PI selected and repeat steps 1 through 6. Compare
literal cost of the solutions generated and select the minimum literal
cost cover.
7. Discard any redundant (unused) PIs.
5 6
1
Other PI Selection Example
Once the Essential Prime Implicants are selected,
Select Essential PIs: Eliminate Less Than Pis:
we need to "prune" the solution set further. To
do this, we determine which can be eliminated by
finding Less Than PIs and Redundant PIs. y y
• Less Than PIs: PIi is said to be Less Than PIj if PIi
contains at least as many literals as PIj and PIj covers at 1 1 1 1 1 1 1 1
least all of the as yet uncovered minterms that PIi
covers. 1 1
• Equivalent PIs: A set of PIs which are pair-wise less x x
than each other. 1 1 1 1 1 1
• Secondary Essential PIs: Once the less than PIs are w w
removed from consideration, new PIs become essential 1 1 1 1
and they are called Secondary Essential PIs.
• Redundant PIs: These are PIs whose minterms have
been completely covered by the PIs selected and are
z z
removed from consideration.
7 8
1 1
x x
1 1 1 1 1 1 x x
w w
1 1 1 1 w w
z z z z
9 10
2
Product of Sums Example NAND and NOR Implementation
F(A,B, C,D) = Σm(3,9,11,12 ,13,14,15) +Σd (1,4,6) We can implement general Boolean
equations with three primitives:
Use F and take complement of result: • AND
• OR
• NOT
Now, we’ll see that either of two gates, the
NAND gate or the NOR gate, can be used
to implement arbitrary logic functions.
We use the Positive Logic Convention
(where all signals are active high) and a
small circle to on a symbol to represent
NOT or invert.
13 14
15 16
3
NAND Implementation (cont.) Degenerate AND Term
In the implementation, the bubbles are on The degenerate NAND becomes an
opposite ends of the same line. inverter:
By X = X , they can be combined and A
deleted: F(A,B,C)
A B
B C
G(A,B,C,D)
C To implement the complement of F using
D NAND gates, add an inverter to the output:
A sum
- of- products (SOP) form results A
To implement an equation like: F(A,B,C) = F'(A,B,C)
A + BC, the NAND for A degenerates to a B
NOT since there is only one input C
19 20
21 22
4
NOR Function Implementation Graphical Transformations
NAND gates can implement a simplified Sum-of- The relations from the previous slide lead to the
Products form. Constructing two-level NOR-NOR following transformations:
circuit:
A
B (AB) = ((AB)')' ⇔ (A'+B')'
G( A , B, C, D ) = (A + B )⋅ (C + D )
C (A+B) = ⇔ (A'B')'
D ((A+B)')'
The first level is two 2-input NOR gates using OR-
(AB)' ⇔ (A'+B')
Invert. The second level is one 2-input NOR gate
using Invert-AND. (A+B)' ⇔ (A'B')
Using the NOR relationship, we have:
G( A , B, C, D ) =(A+B)+(C+D) Recall that two bubbles in series can be removed
= (A+B)⋅ (C+D) from the circuit
= (A+B)⋅ (C+ D)
25 26
29 30