hi guys, i have assignment to do and i am pretty much stuck. this is the question. this lecturer gave us a vid on state machines to look at on youtube an daz wit we on our own
any help greatly appriciated.
Question 2
A simple example of a FSM is a traffic light controller.
There is a busy main road that passes in front of a primary school. There is also a pedestrian crossing in front of the school controlled by two sets of traffic lights as follows: the traffic light for vehicles (on the main road) has three possible states- Red (R), Yellow (Y) and Green (Gr) while the traffic lights for pedestrians to cross the road have two lights- red for Wait (W) and green for Go (g). The normal state of the system is the green light for vehicles and the wait light for pedestrians. The pedestrian green light is activated by a push-button switch that can take two values; 1(pressed) and 0 (not pressed).
You are required to design and implement a synchronous sequential circuit using J-K flip flops to control the traffic lights in a safe and effective manner. Make any assumptions necessary
any help greatly appriciated.
Question 2
A simple example of a FSM is a traffic light controller.
There is a busy main road that passes in front of a primary school. There is also a pedestrian crossing in front of the school controlled by two sets of traffic lights as follows: the traffic light for vehicles (on the main road) has three possible states- Red (R), Yellow (Y) and Green (Gr) while the traffic lights for pedestrians to cross the road have two lights- red for Wait (W) and green for Go (g). The normal state of the system is the green light for vehicles and the wait light for pedestrians. The pedestrian green light is activated by a push-button switch that can take two values; 1(pressed) and 0 (not pressed).
You are required to design and implement a synchronous sequential circuit using J-K flip flops to control the traffic lights in a safe and effective manner. Make any assumptions necessary