Oct
19, Lab 7 Decoders (Design a traffic light controller).
Due 10/25, Wed 10 pm.
Outcome of this lab:
1. An ability to analyze a real-world problem and use the truth table / the K Map to describe the logic event.
2. An ability to implement the design into digital circuits.
Instructions:
1.
Imagine how many states the two traffic lights may have for each cycle.
The green light on one side truns yellow and then turns red before
the other light directly jumps to green from red.
2. Draw the truth table for
all the states that may happen. You will have 6 LED lights and 7 states
in total, so what is the amount of the minimum control bits needed to
control the 6 lights for the 7 states?
3. Simplify the logic expression for each light using the K map. Design the circuit in LTSpice and verify the logic.
4.
Implement the logic on a bread board using logic gates. (Connect
corresponding LEDs to the output of your circuit). The LED needs a
resistor to limit the current and avoid damages. Go back to Lab5 to
find the resistor value and the connections.
5. Using DC inputs for your control bits to control the traffic lights. Go through all the possible states of the lights. (show all the states in your report. Please don't forget to COMPRESS your figures!!!)