Professional Documents
Culture Documents
4 Sequential Circuits
page 1 of 11
EE201:
Com(inational )ogic
,n"ut Signals Out"ut Signals
4 Sequential Circuits
page 2 of 11
C"#
S 0 0 1 1 1 0 0 1 1
0 0 1 0 1
45 4 0 1 6
4 45 0 0 0 1 1 0 1 1 4 45 0 0 0 1 1 0 1 1
S 0 1 0 6 1 0 1 6 6
0 6 0 1 0 2 6 6 1 0
12 .li"/.lo"
$ %
SET
C"#
2 45 0 4 1 0 0 1 1 %4
D .li"/.lo"
SET
D 0 1
45 0 1
4 45 6 0 6 1
D 0 1
C"#
3 .li"/.lo"
D T
SET
3 0 1
45 4 %4
C"#
4 45 0 0 0 1 1 0 1 1
3 0 1 1 0
4 Sequential Circuits
page & of 11
State Diagram
Determine t$e State 3a(le 'inimi9e t$e num(er o states 8ssign (inary codes to eac$ state Determine t$e num(er o C$oose t$e ty"e o
li"/ lo"s needed and give a letter sym(ol to eac$ o t$em li"/ lo"s
unctions
4 Sequential Circuits
page 4 of 11
State Coding
!resent State 8 ? C D Code 0 0 1 1 0 1 0 1
.li" .lo"s
@e require two 12 li"/ lo"s. )et5s name t$em 128 and 12?
4 Sequential Circuits
page ' of 11
State 3a(le
!resent State 8 ? C D *e+t State 6<0 6<1 8 ? 8 C 8 D 8 D Out"ut ; 6<0 6<1 1 1 1 1 1 1 1 0
E+citation 3a(le
48 0 0 0 0 1 1 1 1 4? 0 0 1 1 0 0 1 1 6 0 1 0 1 0 1 0 1 458 0 0 0 1 0 1 0 1 45? 0 1 0 0 0 1 0 1 18 0 0 0 1 + + + + 28 + + + + 1 0 1 0 1? 0 1 + + 0 1 + + 2? + + 1 1 + + 1 0 ; 1 1 1 1 1 1 1 0
J A = XQ B
4 Sequential Circuits
page ( of 11
KA
6A 48 4? 0 1 00 ) ) 01 11 1 0 10 1 0
KA = X
JB
6A 48 4? 0 1 00 0 1 01 11 10 0 1
JB = X
KB
6A 48 4? 0 1 00 01 1 1 11 1 0 10
K B = X + Q A = XQ A
Z
6A 48 4? 0 1 00 0 0 01 0 0 11 0 1 10 0 0
Z = XQ AQB
4 Sequential Circuits
page * of 11
4 Sequential Circuits
page 0 of 11
!resent State 8 ? C D E . C
Out"ut 6<1 0 0 0 1 1 1 1
!resent State 8 ? C D E .
Out"ut 6<1 0 0 0 1 1 1
4 Sequential Circuits
page 7 of 11
!resent State 8 ? C D E
Out"ut 6<1 0 0 0 1 1
/y reducing the num!er of states, the num!er of flip9flops and amount of com!inational circuitry needed to implement this sequential circuit could ha+e decreased, reducing the cost of the circuit :owe+er in this e ample the num!er of flip9flops remains the same-
4 Sequential Circuits
page 10 of 11
4 Sequential Circuits
page 11 of 11
4.E Fomewor Faving t$e ollowing state ta(le: design t$e sequential circuit ollowing state assignment 1: 2 and 7: res"ectively. !resent State 8 ? C D E *e+t State 6<0 8 C 8 E 8 6<1 ? D D D D 6<0 0 0 0 0 0 Out"ut 6<1 0 0 0 1 1