Question: 8) A stoplight changes from green to yellow under one of three conditions: a. the timer indicates that the time has elapsed (the timer,

8) A stoplight changes from green to yellow under one of three

 

8) A stoplight changes from green to yellow under one of three conditions: a. the timer indicates that the time has elapsed (the timer, a 5-bit value, sends all Os) b. one of the cross-direction traffic sensors indicates a car is waiting and the timer has reached 15 seconds or fewer c. an emergency vehicle with its siren going is approaching the intersection The timer is denoted as t4t3t2t1t0. It starts at 31 and decrements until it reaches 0 (00000) A value of 0 means that the light should change. The intersection has four sensors, s0, s1, s2, s3. The cross-direction sensors are s1 and s3. If a car is waiting in that direction, its sensor will be 1. Note for this particular light, we do not care about s0 or s2. Notice that 15 or fewer seconds has a different value for t4 that 31-16 seconds. Receiving an emergency vehicle siren comes in over sensor e. e = 1 means siren found. The light will change from green to yellow if any of the three conditions is true. a. Provide the Boolean expression to determine that the light should change. Do not worry about the timer decrementing function, that is not something this circuit has to take care of. b. Draw the circuit of the expression from part a.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The Boolean expression to determine whether the light should change can be defined as follows G C ... 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 Programming Questions!