Problem

Find a state machine diagram for a traffic light controller that works as follows: A timin...

Find a state machine diagram for a traffic light controller that works as follows: A timing signal T is the input to the controller. T defines the yellow light interval, as well as the changes of the red and green lights. The outputs to the signals are defined by the following table:

Output

Light Controlled

GN

Green Light, North/South Signal

YN

Yellow Light, North/South Signal

RN

Red Light, North/South Signal

GE

Green Light, East/West Signal

YE

Yellow Light, East/West Signal

RE

Red Light, East/West Signal

While T = 0, the green light is on for one signal and the red light for the other. With T = 1, the yellow light is on for the signal that was previously green, and the signal that was previously red remains red. When T becomes0, the signal that was previously yellow becomes red, and the signal that was previously red becomes green. This pattern of alternating changes in color continues. Assume that the controller is synchronous with a clock that changes much more frequently than input T.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search