Understand Decoders even further
Understand how to design using decoders
Before coming to lab, read this handout.
Review the Lectures on Designing with a Binary Decoder
Task 1:
For problems 1 - 4 in the Design Problem Examples,
Implement each problem using a Binary Decoder in the simulator.
Task 2:
In Homework 4, you designed a BCD to 7 Segment display circuit using Logic Gates. You also designed the circuit using a ROM. Design the same circuit using a single Decoder.
Task 3:
Build the physical circuit using AND, OR, NOT gates on a breadboard. Test your circuit and have the TA verify that it works.
Let's work on a simpler circuit to introduce State Machines.
Task 4:
Design a simple circuit to display any 2 bit binary number as it's decimal equivalent on a 7 segment display. You may use any of the techniques that you've learned so far in the class to do this. After you design is complete make sure it works by simulating it and checking that your 7 segment display shows 0 - 3 when the inputs 00 - 11 are used as inputs to the circuit. When you are ready move on to the following discussion questions
Finite State Machine #1
We want to design a circuit that automatically counts up from 0 to 3, then 0, then back up to 3 again. The output number on the 7 Segment Display will change every clock cycle.
Finite State Machine #2
We want to design the same circuit accept we don't want it to change automatically. The numbers should still count from 0-3 and cycle back to 0 but this time the numbers should change every time a button is pushed.
What type of State Machine are being described above? (Mealy or Moore? Don't assume that there might be one of each.). Discuss this with your group or other members in your lab. Then ask your TA to confirm your answer.
Task 5:
Design the state diagram and the ASM chart for FSM #1 in Task3.
Task 6:
Figure out what the next state tables are for FSM #1 by using your charts in Task 4. (You don't need both charts but it's a good to learn both)
Design the circuit using D FlipFlops
Test to make sure your circuits work and take screenshots of your circuit.
You need to complete the following:
Part 1 (Tasks 1,2,3) - Complete all 3 tasks and include all your lab work in 1 single organized pdf.
Part 2 (Tasks 4,5,6) - Complete all 3 tasks and include all your lab work in 1 single organized pdf.