CSEE 3827: Fundamentals of Computer Systems, Spring 2011
- 5. Finite State Machine Design
- Prof. Martha Kim (martha@cs.columbia.edu)
CSEE 3827: Fundamentals of Computer Systems, Spring 2011 5. Finite - - PowerPoint PPT Presentation
CSEE 3827: Fundamentals of Computer Systems, Spring 2011 5. Finite State Machine Design Prof. Martha Kim (martha@cs.columbia.edu) Web: http://www.cs.columbia.edu/~martha/courses/3827/sp11/ Outline (H&H 3.5) Finite State Machines
2
Current State Inputs Next State S TA TB S’ AGreen X AYellow AGreen 1 X AGreen AYellow X X BGreen BGreen X BYellow BGreen X 1 BGreen BYellow X X AGreen
(diagram reprinted for reference) AGreen AYellow BGreen BYellow
Current State Encoded Current State Inputs Next State Encoded Next State S S1 S0 TA TB S’ S1’ S0’ AGreen X AYellow 1 AGreen 1 X AGreen AYellow 1 X X BGreen 1 BGreen 1 X BYellow 1 1 BGreen 1 X 1 BGreen 1 BYellow 1 1 X X AGreen Encoding State S1 S0 AGreen AYellow 1 BGreen 1 BYellow 1 1
Output Encoding Green Yellow 1 Red 1
State LA LB State S1 S0 LA1 LA0 LB1 LB0 AGreen 1 AYellow 1 1 1 BGreen 1 1 BYellow 1 1 1 1
22
ASYNC SYNC ASYNC ASYNC ASYNC SYNC ASYNC SYNC
23