fsms_TLC_Columbia.pdf - Fundamentals of Computer Systems Finite State Machines Stephen A Edwards Columbia University Fall 2012 Finite State Machine

# fsms_TLC_Columbia.pdf - Fundamentals of Computer Systems...

• 32

This preview shows page 1 - 13 out of 32 pages.

Fundamentals of Computer Systems Finite State Machines Stephen A. Edwards Columbia University Fall 2012

Subscribe to view the full document.

Finite State Machine Components C L C L CLOCK Next State Current State Current State Inputs Next State Current State Inputs? Outputs
Moore and Mealy Machines Next State Logic Output Logic CLK Next State Current State Inputs Outputs The Moore Form: Outputs are a function of only the current state.

Subscribe to view the full document.

Moore and Mealy Machines Next State Logic Output Logic CLK Next State Current State Inputs Outputs The Mealy Form: Outputs may be a function of both the current state and the inputs. A mnemonic: Moore machines often have more states.
Mealy Machines are the Most General C L Current State Next State Inputs Outputs CLK Another, equivalent way of drawing Mealy Machines This is exactly the synchronous digital logic paradigm

Subscribe to view the full document.

Moore vs. Mealy FSMs Alyssa P. Hacker has a snail that crawls down a paper tape with 1’s and 0’s on it. The snail smiles whenever the last four digits it has crawled over are 1101. Design Moore and Mealy FSMs of the snail’s brain.
State Transition Diagrams: Looking for “1101” S0 0 Moore Machine: States indicate output

Subscribe to view the full document.

State Transition Diagrams: Looking for “1101” S0 0 S1 0 1 0 Moore Machine: States indicate output
State Transition Diagrams: Looking for “1101” S0 0 S1 0 S2 0 S3 0 S4 1 1 0 1 0 1 Moore Machine: States indicate output

Subscribe to view the full document.

State Transition Diagrams: Looking for “1101” S0 0 S1 0 S2 0 S3 0 S4 1 1 0 1 0 1 0 1 0 1 0 Moore Machine: States indicate output
State Transition Diagrams: Looking for “1101” S0 0 S1 0 S2 0 S3 0 S4 1 1 0 1 0 1 0 1 0 1 0 Moore Machine: States indicate output S0 Mealy Machine: Arcs indicate input/output

Subscribe to view the full document.

State Transition Diagrams: Looking for “1101” S0 0 S1 0 S2 0 S3 0 S4 1 1 0 1 0 1 0 1 0 1 0 Moore Machine: States indicate output S0 S1 1/0 0/0 Mealy Machine: Arcs indicate input/output
• Fall '09

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern