Question: traffic logic controller has 4 inputs A , B , C , and D . The controller has two outputs, which are the intersection lights.
traffic logic controller has inputs A B C and D The controller has two outputs, which are
the intersection lights. There is an eastwest EW light and northsouth NS light. Inputs A and B are a
bit unsigned binary number with A being the MSB and C and D are another bit binary unsigned
number with C being the MSB The logic of the controller works as follows:
If the number AB is greater than the number CD the EW light is OFF and NS is ON
If the number CD is greater than the number AB the NS is OFF and the EW is ON
If the number AB is equal to number CD EW light is OFF and NS is O
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
