Hello,
I need help with a traffic light FSM problem. We need to design a traffic light controller FSM which spends 1 sec in each state.
The clock frequency in this example is 1 Hz, and my circuit works as expected.
Then we need to modify to circuit to spend 4 s in the red, 1 sec in the red-yellow, 2 sec in the green and 1 sec in the yellow state. But I have no idea how to do that. Can you help me with this? Thank you.
I need help with a traffic light FSM problem. We need to design a traffic light controller FSM which spends 1 sec in each state.
The clock frequency in this example is 1 Hz, and my circuit works as expected.
Then we need to modify to circuit to spend 4 s in the red, 1 sec in the red-yellow, 2 sec in the green and 1 sec in the yellow state. But I have no idea how to do that. Can you help me with this? Thank you.