Find an algorithmic state machine (ASM) chart 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
Green Light, North/south Signal
Yellow Light, North/south Signal
Red Light, North/south Signal
Green Light, East/west Signal
Yellow Light, East/west Signal
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 becomes 0, 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.
Recently Asked Questions
- A kite is flying at a 45 degree angle. If it is 40 feet in the air, how much kite string is connecting you to the kite? Please Help Me!!!
- Distinguish between ethnocentrism and cultural relativism in evaluating actions within each culture
- A speech on how to choose a realtor, stage your home, and set a price for your house is using which type of organizational division? Compare/contrast Topical