Synopsys interview question

design a trafffic light controller