Assignment:
Draw the circuit diagram for a finite state machine (FSM) regulating pedestrian traffic across a busy highway with two traffic lights. The light for pedestrians turns green only after pressing a button. Assign states for each light and an input for the button.
Make each phase (green, yellow, etc) one clock period.