Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Cirsim below, drag in a Pad and a Traffic Light. A Pad is a 1 6 - button keypad. There are two outputs. The
In Cirsim below, drag in a Pad and a Traffic Light. A Pad is a button keypad. There are two outputs. The top output is bit bus output that is set to the value of the last pressed button. If you press the C button, the output will be b or xc The bottom output is true when a button is pressed. You will not need that output for this circuit.
The traffic light has three inputs for the red, yellow, and green lights. This is a table that maps a Hex keypad button to a light for the traffic light:
Create a circuit that will set the appropriate traffic light color when a button is pressed. For example, if the F button is pressed, the traffic light is red. The top red input should be true and the other inputs false. If the D button is pressed, the traffic light is yellow. If the button is pressed, the traffic light is green.
This is just a combinatorial circuit. It will require three equations. For each, create a truth table, minimize the expression, and implement that.
If you think about it there is a way to solve this problem with only two equations and about as many components!
I have included a picture of what I have in my diagram but the test fails at Expected yel but got yel Please give me a fix of what is wrong with my circuit and how i can fix it A diagram would be helpful.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started