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...

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

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

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
Image of page 2
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.
Image of page 3

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.
Image of page 4
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
Image of page 5

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.
Image of page 6
State Transition Diagrams: Looking for “1101” S0 0 Moore Machine: States indicate output
Image of page 7

Subscribe to view the full document.

State Transition Diagrams: Looking for “1101” S0 0 S1 0 1 0 Moore Machine: States indicate output
Image of page 8
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
Image of page 9

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
Image of page 10
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
Image of page 11

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
Image of page 12
Image of page 13
  • Fall '09

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes