Académique Documents
Professionnel Documents
Culture Documents
g
, State Table
Circuits with Flip-Flop = Sequential Circuit
Circuit = State Diagram = State Table
State Minimization
Sequential Circuit Design
Example: Sequence Detector
Example:
p Binary
y Counter
present state
0000
0001
0010
16
...
states 1101
1110
1111
0000 0001
0001 0010
0010 0011
...
...
1101 1110
1110 1111
1111 0000
0
1
0
1
state table
0
1
...
state diagram
1
1
0
1
0
1
0
1
0
Meal t pe
Mealy-type
state diagram
state table
Moore-type
yp
Input values labeled along
the directed lines
Output values indicated
inside the circles
0
00 /0
0
1
11 /1
0
circuit
i it
state table
state diagram
01 /0
10 /0
0
AB
00 01
11
10
DA
DA=Ax+Bx
AB
00 01
11
10
DB
DB=ABx
AB
00 01
11
10
z=Ax
z=Ax
DA=Ax+Bx
D
DB=ABx
SET
Q A
CLR
SET
CLR
y = AB
DA = Ax+Bx
DB = Ax+Bx
1
0
01/0
1
10 /0
x: input, y: output
A, B: present state
DA, DB: next state (D-FF)
S0
S1
S2
S3
present
state
A2 A1 A0
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
next
state
A2 A1 A0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
00
11
01
1
1
0
10
present
state
AB
00
01
10
11
next state
x=0
x
0 x=1
x 1
AB AB
11 01
00 11
01 00
10 10
present
state
AB
00
01
10
11
next state
x=0
x
0 x=1
x 1
AB AB
11 01
00 11
01 00
10 10
DA
AB
x
0
1
DB
00 01
11
10
1
0
1
1
0
0
0
1
AB
x
0
1
00 01
11
10
1
1
0
0
1
0
DA=AB+Bx+ABx
0
1
DB=Bx+Ax
DA
DB
clock