How many bits in your code from Exercise 18.1 must you change in order for a light

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Digital Design Using VHDL A Systems Approach

ISBN: 9781107098862

1st Edition

Authors: William J. Dally, R. Curtis Harting, Tor M. Aamodt

Question Posted: