Professional Documents
Culture Documents
Simplification of Sequential Circuits: Equivalent State State Reduction Implication Table Minimization Procedure
Simplification of Sequential Circuits: Equivalent State State Reduction Implication Table Minimization Procedure
Lecture 03
Lecture 03
Lecture 03
State Reduction:
Lecture 03
Lecture 03
State Reduction:
Partition P1 a. Two or more status in the same block iff their output is identical for each input. 0 A B C P1 = (ABC)(DE) D E
EE270 Simplification of Sequential Circuits Dr. Tri Caohuu 2006 Andy Davis
Lecture 03
State Reduction:
b. Place 2 or more states in the same block iff for each input value their next states all lie in a single block of Pk-1
Lecture 03
State reduction:
c. When Pk+1 = Pk partition. P3 = (A)(BC)(D)(E) stop Pk = equivalent
Lecture 03
Implication Table
Consider the following example of a state table.
PS
A B C D E F G
EE270 Simplification of Sequential Circuits
NS 0 A D F D B G A 1 B C E F G C F 0 0 0 0 0 0 0 0
Z 1 0 1 0 0 0 1 0
Lecture 03 10
Implication Table
B C D E F G
BF AF BE BF AB BG DG AF EF AB FG DF EF BF EG BD FG
AD
A
EE270 Simplification of Sequential Circuits
F
Lecture 03 11
Implication Table
B C D E F G
BF AF BE BF AB BG DG AF EF AB FG DF EF BF EG BD FG
AD
A
EE270 Simplification of Sequential Circuits
F
Lecture 03 12
Implication Table
B C D E F G
BF AF BE BF AB BG DG AF EF AB FG DF EF BF EG BD FG
AD
A
EE270 Simplification of Sequential Circuits
F
Lecture 03 13
Implication Table
A G ( AGD ) D G
S m = {( ADG )(BF )(C )(E )}
EE270 Simplification of Sequential Circuits Dr. Tri Caohuu 2006 Andy Davis Lecture 03 14
A D
B F } (BF )
Lecture 03
15
Lecture 03
16
Example
State Table
x A B C D E F G H 0 A/B/G/C/1 A/1 D/G/H/1 C/1 A/E/0 C/C/A/G/D/Dr. Tri Caohuu 2006 Andy Davis Lecture 03 17
Implication Table
B C D E F G H
EE270 Simplification of Sequential Circuits
AC
BG AE AC BC AC AD AC CG AG AD AB AC BD AG DG AE EG GH DE CG CE AC
CD AC CG CH CD
AD AC AG CG AH CD DG AG DH AD DG
CD
G
Lecture 03 18
Compatibility Classes
G F E E D C C B A A A (GH) (GH)(FG) (EG)(EH)(GH)(FG) (FG)(EGH) (DG)(FG)(EGH) (CG)(CF)(CE)(CD)(DG)(FG)(EGH) (CEG)(CDG)(CFG)(EGH) (BC)(BG)(CEG)(CDG)(CFG)(EGH) (AE)(AG)(AH)(BC)(BG)(CEG)(CDG)(CFG)(EGH) (AEG)(AGH)(AEH)(BCG)(CEG)(CDG)(CFG)(EGH) (AEGH)(BCG)(CDG)(CEG)(CFG)
Dr. Tri Caohuu 2006 Andy Davis Lecture 03 19
Incompatibility Classes
G F E D D C B B B A A (FH) (FH)(EF) (FH)(EF)(DH)(DF)(DE) (FH)(DH)(DEF) (CH)(FH)(DH)(DEF) (BH)(BF)(BE)(BD)(CH)(FH)(DH)(DEF) (BH)(BDEF)(CH)(FH)(DH) (BDEF)(CH)(BDFH) (AB)(AC)(AD)(AF)(BDEF)(CH)(BDFH) (ABDF)(AC)(BDEF)(CH)(BDFH)
Lecture 03
20
B A C
D H
E G F
Lecture 03
21
Minimization Conditions
1. 2. 3.
Lecture 03
22
Minimization Procedure
The upper bound U on the number of states in the minimal circuit is:
U = minimum {NSMC, NSOC} NSMC: number of sets of maximal compatibles NSOC: number of states in the original circuit
Lecture 03
23
Minimization Procedure
The lower bound L on the number of states in the minimal circuit is:
L = maximum {NSMC1, NSMC2, , NSMCi, } NSMCi: number o states in the ith group of the set of maximal incompatibles of the original circuit
Lecture 03
24
Example
CLOSURE TABLE
X 0 (AEGH) AGH (BCG) BG (CDG) CG (CFG) DG (CEG) AG 1 CDG AEG CEG AEG CEG A B C D E
Lecture 03
25
Example
NSMC = 5; NSOC = 8 U = minimum {5, 8} = 5 L = maximum {4, 4, 4, 2, 2} = 4 4K 5
Lecture 03
26
27
Introductions
1.
1.
There are differences in hardware cost associating with different state assignments Total number of possible assignments for N
s
N sa =
2 Nff ! ( 2 Nff N s )!
Nff : # of flip/flops Ns : # of states 3. Many state assignment yield the same result. Nua: number of unique assignments
N ua =
Minimum Cost
Minimum gates and input counts Minimum cost circuit Reduced dependency
Lecture 03
29
Example
Given the state table, Consider all unique assignments Find the optimal assignment Verify using T f/fs
A1 A B C D 00 01 11 10 A2 00 11 01 10 A3 00 10 01 11
Dr. Tri Caohuu 2006 Andy Davis Lecture 03 31
A B C D
Example- cont.
Assignment 1
T1 = x + y2 T2 = y1 x + y2 x + x y1 y2
Assignment 2
T1 = y2 + y1 x + y1 x T2 = y1 x + y2 x + x y1 y2
Assignment 3
T1 = xy1 + y1 y2 + y1 x + y1 y2 T2 = x + y1 y2 + y1 y2
Lecture 03
32
33
Introductions
1.
1.
There are differences in hardware cost associating with different state assignments Total number of possible assignments for N
s
N sa =
2 Nff ! ( 2 Nff N s )!
Nff : # of flip/flops Ns : # of states 3. Many state assignment yield the same result. Nua: number of unique assignments
N ua =
Minimum Cost
Minimum gates and input counts Minimum cost circuit Reduced dependency
Lecture 03
35
Example
Given the state table, Consider all unique assignments Find the optimal assignment Verify using T f/fs
A1 A B C D 00 01 11 10 A2 00 11 01 10 A3 00 10 01 11
Dr. Tri Caohuu 2006 Andy Davis Lecture 03 37
A B C D
Example- cont.
Assignment 1
T1 = x + y2 T2 = y1 x + y2 x + x y1 y2
Assignment 2
T1 = y2 + y1 x + y1 x T2 = y1 x + y2 x + x y1 y2
Assignment 3
T1 = xy1 + y1 y2 + y1 x + y1 y2 T2 = x + y1 y2 + y1 y2
Lecture 03
38