ENGR 433 -  HW 9 2024 Spring

Name: Ian Van Horn
Email: imvanhorn1@gmail.com
HW 9


This homework requires vivado and a keyboard


Task 1: Repeat Textbook. (10 points).

The code uses the functions press, extend, rls, and check to to send the usb signal. These are needed so if a key is pressed and not released the code for that key is sent continiously.
The board sits in the RDY state until ontil the start indicator (ps2data) is pulled low. Then the state is set to recieve where recieved is written as ps2data. Then the recieved is either written to data which will displayed on the leds or returned to ready if the transmission is done.


Video 1-1: Demo of Example Code




Task 2: ASCII (90 points).


Figure 2-1: Declarations for reused UART module

Figure 2-2: Case statment to get correct ASCII value



Video 2-1: Demo for serial moniter
There is a minor issue where the previous key is written instead of the current key. I could not figure this out.


Conclusion: Lots of small errors made this take a long time