Traffic light
easythis question, we will design a traffic light controller. We will follow a structured design approach and explore several possible implementations, highlighting the advantages and trade-offs of each
1.
Define the number of states required for the traffic light controller. Implement the state machine using a shift register to represent the states.
2.
Can you reduce the number of flip-flops required? Show how you would optimize the design while preserving the same functionality.
3.
In the previous parts, each state remained active for the same amount of time. Modify the design so that the duration of each state can be controlled independently.