Homework #8
Guidelines
- Complete your work on green engineering paper
- Staple in upper left if more than one sheet.
- Format the top of the first sheet as follows.
CSCE 436 | [Your name] | HW#9 | [Due Date] | [Page ref]
|
The page reference for the first page of a four page document would be 1/4, the
second page of this document would be labeled 2/4 and so on.
- Do not write on the back side of the green engineering paper
- Digital copies of all code, testbenches, and waveforms will also be submitted via BitBucket.
-
Design the control unit for the keyboard scancode converter started in
lecture 11. Integrate it into the code and run a testbench showing
two buttons pressed - not the same ones that the existing testbench
presses.
Turn in:
- Hand-drawn diagram showing how all the files given in Lecture 12 are connected together.
Using the testbench (lec12_tb) as the top level entity and interconnecting the keyboard,
lec12 (Lec 12 entity), lec12_cu (control unit), and lec12_dp (datapath).
- Hand-drawn state diagram for the control unit.
- The complete control word table for your design.
- Hardcopy and digital copy of the VHDL describing your control unit
- Hardcopy and digital Image of your testbench output in Isim showing the
following signals - remove all other signals.
- clk
- reset
- keyboard clock
- keyboard data
- control unit state
- Status word
- Control word
- busy signal
- shift register
- scan code
- keyCntr