Answered step by step
Verified Expert Solution
Link Copied!

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 16-button keypad. There are two outputs. The top output is 4-bit bus output that is set to the value of the last pressed button. If you press the "C" button, the output will be 0b1100, or 0xc. 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 6 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 2/3 as many components!
I have included a picture of what I have in my diagram but the test fails at 19 Expected yel=1 but got yel=0. Please give me a fix of what is wrong with my circuit and how i can fix it. A diagram would be helpful.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions