Slides for Lecture 29
ENEL 353: Digital Circuits — Fall 2013 Term Steve Norman, PhD, PEng
Electrical & Computer Engineering Schulich School of Engineering University of Calgary
Slides for Lecture 29 ENEL 353: Digital Circuits Fall 2013 Term - - PowerPoint PPT Presentation
Slides for Lecture 29 ENEL 353: Digital Circuits Fall 2013 Term Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary 18 November, 2013 slide 2/17 ENEL 353 F13 Section 02
Electrical & Computer Engineering Schulich School of Engineering University of Calgary
1
1 1 1 1
◮ four states for regular mode; ◮ four more states for parade mode.
S0
LA: green LB: red LA: green LB: red LA: yellow LB: red LA: yellow LB: red LA: red LB: green LA: red LB: green LA: red LB: yellow LA: red LB: yellow
S1 S3 S2
TA TA TB TB
Reset S4 S5 S7 S6
TA TA P P P P P P R R R R R P R P TA P TA P P TA R TA R R TB R TB R
◮ Trying to solve every synchronous sequential system
◮ FSMs are nevertheless a great design tool. Sometimes it
LA: green LB: red LA: yellow LB: red LA: red LB: green LA: red LB: yellow
S0 S1 S3 S2
TA TA M + TB MTB
Reset Lights FSM S0
M: 0
S1
M: 1 P Reset P
Mode FSM
R R
◮ Examine circuit, stating inputs, outputs, and state bits. ◮ Write next-state and output equations.
2
1
◮ Use next-state and output
◮ Reduce the next-state table
◮ Assign each valid state bit
2 S′ 1 S′
◮ Rewrite next-state and output tables with state names. ◮ Draw state transition diagram. ◮ State in words what the FSM does.
◮ What are sufficient conditions on the D input of a DFF to
◮ Given timing specifications for DFFs and a desired clock
◮ What can go wrong if D inputs of DFFs go 0 → 1 or