-
Notifications
You must be signed in to change notification settings - Fork 0
Lab 4
An-Ting Hsu edited this page Apr 23, 2015
·
1 revision
- Due Date: 2015.04.10 Fri.
- Review sequential circuits.
- Review shift registers.
- Fundamentals of logic gates.
- Clocking concepts
- Logic modeling in Verilog HDL.
- Cascade eight DFFs together as the figure shown below with the input bits D=(d), output
Q=(q7q6q5q4q3q2q1q0), and tie all their Cs together as clk (the divided clock). This is a serial
shift register circuit. By adding a multiplexer before the first DFF, we can choose the input
from outside or from q0. As the clk changes 0,1,0,1,…, let the output of LEDs be (01010101),
(10101010), (01010101), (10101010), ….
- Construct the Verilog RTL representation for the logics with verification
- Implement pre-lab1 with the following pin assignments.
- Use the idea from pre-lab1. We can do something on the seven-segment display. Assume we have the pattern of E, H, N, T, U for seven-segment display as shown below. Try to implement the scrolling pre-stored pattern NTHUEE with the four seven-segment displays.
- (Bonus) Display 1010 in the seven-segment display. Use the DIP switch (one bit to indicate left/right shift, three bits with one hot to display the kind of shift operation) as the control input to implement the functional/arithmetic/barrel shifter. Use one push button to control the display of the number before/after the shift operation.
[Home Page] (https://github.com/andyhsu10/LogicDesignLab/wiki)
- [Introduction to Verilog HDL] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-1)
- [FPGA Emulation] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-2)
- [Counters] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-3)
- [Shift Registers] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-4)
- [Stop Watches] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-5)
- [Simple Calculator] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-6)
- [Electronic Clock I(Time Display)] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-7)
- [Electronic Clock II(Multi-functions)] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-8)
- [Speaker] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-9)
- [Electronic Organ] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-10)
- [LCD Display (1)] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-11)
- [LCD Display (2)] (https://github.com/andyhsu10/LogicDesignLab/wiki/Lab-12)