Question: 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 is pressed or switched
From the "red" state, after 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 K 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!!! all the work and if possible on paper
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
