Homework #8


  1. 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 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