1 / 4

Lab 2 – Finite State Machine

Lab 2 – Finite State Machine. Using the Digital State Machine Simulator, create five different machine configuration files that, with each successive clock cycle: Toggles both LEDs. (Turn both on then both off – 2-state machine.) Counts from 0 to 3 (binary) in the LEDs (4-state machine).

scott
Télécharger la présentation

Lab 2 – Finite State Machine

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab 2 – Finite State Machine • Using the Digital State Machine Simulator, create five different machine configuration files that, with each successive clock cycle: • Toggles both LEDs. (Turn both on then both off – 2-state machine.) • Counts from 0 to 3 (binary) in the LEDs (4-state machine). • Alternates turning one LED on and off followed by the second LED turning on and off (4-state machine). • Turns one LED on followed by the other and then turns the first LED off followed by the other (4-state machine). • Flashes both LEDs on for one clock cycle then turns both off for the next two clock cycles (3-state machine). • Use the 2-in/4-out PAL and at least one master/slave flip-flop in each machine implementation. • Show the truth table used to implement each of your machines. • The LEDs are derived using combinational logic from the current state. • Clicking the 'Clock' button should step to the next state. • Use the 'Run' button to continuously clock your machine. Lab 2 - FSM Lab

  2. Output (LEDs) Next State Current State Current State Next State FSM Digital State Machine Simulator Lab 2 - FSM Lab

  3. Simple FSM Example Combinational Logic Sequential Logic FSM Example 1 Lab 2 - FSM Lab

  4. FSM Example 2 Finite State Machine A  B ¬A  ¬B ¬B (¬A  B) + (A  ¬B) Lab 2 - FSM Lab

More Related