Beruflich Dokumente
Kultur Dokumente
Classic Problem in Switching Theory Tabulation Method Transformed to Set Covering Problem Set Covering Problem is Intractable n-input Function Can Have 3n/n Prime Implicants n-input Function Can Have 2n Minterms Exponentially Complex Algorithms for Exact Solutions
NOTE: Sometimes the Covering Problem is Easy to Solve (when no cyclic tables result)
BOUND STEP
If Current Solution is Better Than Previous, Return from this Level of Recursion (Note: Initially Set to Entire Set of PIs in Table) Go to Branching Step
Cyclic Cover 1
Cyclic Cover 2
Cyclic Cover 3
Initial CC3 Soln is All PIs Heuristically Choose a PI2 Reduce to CC3
CC3 Solution 1
CC3 Solution 2
Select One that Covers a Minterm Covered by Very Few Other Minterms
Note if Minterm Covered by Single PI, it is EPI This Technique Chooses One that is Almost an EPI
0 C
1) Choose PI in I that Covers Most Rows in A 2) Reduce Matrix Using New EPI Selection and Dominance 3) If Matrix is 0 0 Solution is Found Else Go To 1)
Multi-Output Functions
Minimizing Each Output Separately Usually Results in Poor Minimization
Term Sharing Occurs Only by Chance
Product Functions
Consider
f1 ( x, y, z ) = x z + x y + x z f 2 ( x, y , z ) = z + x y
x 0 0 0 0 1 1 1 1 y 0 0 1 1 0 0 1 1 z 0 1 0 1 0 1 0 1 f1 1 1 1 0 0 1 0 1 f2 0 1 1 1 0 1 0 1 f 1 f2 0 1 1 0 0 1 0 1
x y z
f1 f2
Minterms in f1f2 are Minterms for Both f1 and f2 f1f2 is a Product Function
THEOREM The set of all MOPIs is sufficient for the determination of at least one multi-output minimized SOP.
Could Generate Using K-map or Tabulation Method for Each Output Separately AND all Product Functions
too lengthy instead use Tagged Product Terms
Generating MOPIs
0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 f1 f1 f1 f1 f1 f2 f2 f2 f2 f2
Generating MOPIs
0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 f1 f1 f1 f1 f1 f2 f2 f2 f2 f2
0 0 0 0 1
0 0 1 1 -
0 1 1 1 1
f1 f1 f1 f1
f2 f2 f2 f2 f2
Generating MOPIs
0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 f1 f1 f1 f1 f1 f2 f2 f2 f2 f2
0 0 0 0 1
0 0 1 1 -
0 1 1 1 1
f1 f1 f1 f1
f2 f2 f2 f2 f2
B C D E F
f2
f1 f2 f1f2
B C A E D *F G
m5
m7
m1
m2
f2 m3 X X
m5 X X X
m7 X
f1 f2 f1f2
B C A E D *F G
f1 f2 f1f2
B C A E D *F G
Exact Solution
( B + C )( B + D)(C + G )( A + D)( E + G )( A + E )( A + F ) = 1 ( B + CD)(C + G )( A + DE )( E + G )( A + F ) = 1
( BC + BG + CD )( A + DEF )( E + G ) = 1 ( BC + BG + CD )( AE + AG + DEF ) = 1
( ABCE + ABCG + BCDEF + ACDE + ACDG +CDEF + ABEG + ABG + BDEFG ) = 1 ( ABCE + ACDE + ACDG + CDEF + ABEG + ABG + BDEFG ) = 1
Example:
Hazard Types
Static Hazard Output value the same after input change
0-Hazard 1-Hazard
Elimination of Hazard
Function Hazard Presence of hazard due to the function realized by the output. Present for transitions in which more than one input changes. Cannot be eliminated