Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Finite State Machines Lab 6 In this lab, we will design a simple state machine that imitates a traffic light. The state machine should do
Finite State Machines Lab
In this lab, we will design a simple state machine that imitates a traffic light. The state machine should do the following:
Start in the "green" state.
Once switch is pressed or switched the state machine should transition to the "yellow" state for clock cycle.
After clock cycle, the state machine should transition to the "red" state and stay there until switch S is pressed or switched
From the "red" state, after S is pressed, the state should transition to the "green" state.
Design the state diagram. Once you have the state diagram, create the truth table. From the truth table, use a map to design the circuit.
Use a D flip flop to store the state.
Use different output indicators to indicate the red, yellow, and green states.
Use a switch or push button switch to change the state.
Use the function generator for the clock.
Simulate the state diagram and the circuit using appropriate simulators.
For online students, you will need to move wires back and forth from and ground to imitate the clock. I forget how many LEDs had you order, but you may need to move the connection to the LED between outputs. ALWAYS MAKE SURE YOU USE A RESISTOR IN SERIES WITH YOUR LED!!!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started