













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














Chapter 3 : Sequential Logic Design Digital Logic Design James E. Stine, Jr. Portions of slides taken from Digital Design and Computer Architecture D. M. Harris and S. L. Harris, Elsevier, 2007
Next State Logic Next State
Output Logic Outputs
B
B T A T B L A L B CLK Reset Traffic Light Controller
1 1
1 1 X X 0
0
B
A
0 Current State Inputs Next State S3 11
State Encoding S' 1
1
0 S' 0
1
0
A
1
0
B
B 1 1
1 1 1 0 1
B 0
A 0
A 1
0 Current State Outputs red 10 yellow 01 green 00 Output Encoding L A 1
1 L A 0
1
0 L B 1
1 L B 0
1
0
S 1 S 0 S' 1 S' 0 CLK next state logic state register Reset T A T B inputs S 1 S 0 r
S 1 S 0 S' 1 S' 0 CLK next state logic state register output logic Reset L A 1 L B 1 L B 0 L A 0 T A T B inputs outputs S 1 S 0 r