Question: How many bits in your code from Exercise 18.1 must you change in order for a light to change direction only when no cars are

How many bits in your code from Exercise 18.1 must you change in order for a light to change direction only when no cars are coming in the current direction and there is a car in the opposite direction?


Data in Exercise 18.1

Modify the traffic controller microcode of Table 18.1 (for the controller shown in Figure 18.1) by adding an additional input car_ns. Now a traffic light in any direction stays green until the input signaling a car traveling in the opposite direction goes high. This happens regardless of whether any cars remain in the green direction. Be sure to include yellow lights in any transition from green in one direction to another.

Step by Step Solution

3.52 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

We must change a total of 2 bits in our storage see the new table below Address ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Digital Design Using VHDL A Systems Approach Questions!