your cycle length is 18 seconds think of 2/6-bit (one/3 color) PROM with 18 addressable memory locations (incase of PROM you can have input translation Combinational logic - Wikipedia)
Exactly, I should have been more precise. There are 6 unique lights that need to be controlled; obviously.well the main road lights can be considered as one traffic light.
so there are two sets - main and side. in total 6 lights
This is homework. We're supposed to guide the member, not do the work for them.Rearranging the positions of the traffic lights suggests a simple pattern that can be represented by a 3-bit counter with the counting sequence: 010, 011, 000, 111, 110, 101, ... repeating.
The LSB establishes the base timing interval of 3 seconds. The middle bit drives the green-yellow pattern. The MSB switches from the main to side street and drives the red lights.
Note: The 3-bit counter can be designed with 3 JK flip-flops and 3 gates.
i don't fully understand if i need one or two counters...
I've managed to produce a 5 sec up 1 sec down output for the upper counter
and 2 sec up 1 sec down output for the lower counter
I want to use some kind of flip flops to control the output signal.
It was hardly a complete answer; more like an initial Preliminary Design Review where engineering concepts are discussed to better understand the problem before any actual design work is done.please do not give complete answers to the TS assignment
(no matter the TS may already have found something else interesting to do) your color box below does not make any sense ? you should only plot one side light there - but you have 1-st half cycles for each ? -- making this incomplete reference . . . if it was intended so - it applies not giving the full answers - but may be confusing for a noviceIt was hardly a complete answer;
it depends how you set up your automaton . . . if you use "decoders" 1 will do if you want to "divide" your clock for/from 6\(\rightarrow\)4 cycles you need two or three - again - depending on how you set such updon't fully understand if i need one or two counters...