Hi, I have some problem to design a traffic controller. the traffic lights are placed at an intersection of two streets, one street running north-south (called NS) and another street running east-west (called EW). there is 5 clock cycles for Red light, 1 clock cycle for Yellow light , and 4 clock cycles for Green light. EW light is Red when NS light is Yellow or Green. Similarly, NS light is Red when EW light is Yellow or Green. I need to design the controller that is essentially a counter driven with a clock (without any other external input). I will need 10 states to design the circuit. The six outputs are R-EW, Y-EW, G-EW, R-NS, Y-NS, and G-NS What I did is that I tried to design a modulo 10 counter (see attached file ). I form the truth table of the system. A B C D | NS | EW | 0 0 0 0 | R | G | 0 0 0 1 | R | G | 0 0 1 0 | R | G | 0 0 1 1 | R | G | 0 1 0 0 | R | Y | 0 1 0 1 | G | R | 0 1 1 0 | G | R | 0 1 1 1 | G | R | 1 0 0 0 | G | R | 1 0 0 1 | Y | R | Then I tried the output tables, but I does resemble to anything I dont have the relationship of the table. please can you help me ? thank you B.