A state machine generates signals for vehicle and pedestrian traffic lights at an intersection of a main street and a side street. A blinking yellow light for the side street is generated in the reset state.
Provide a clock, hook up LEDs and generate a reset signal to reset the intersection to all-red. If your leave the reset signal enabled, a blinking yellow light is shown for the side street.
|0||clock||main street red|
|1||reset||main street yellow|
|2||none||main street green|
|3||none||main street pedestrian green|
|4||none||side street red|
|5||none||side street yellow|
|6||none||side street green|
|7||none||side street pedestrian green|