This Week:
I spent this week researching protocols and implementing + testing SystemVerilog modules to interface with a PS/2 keyboard and VGA monitor. Some time was also spent researching floppy disk protocols in preparation for the next two weeks.
I found that there are various different PS2 protocol versions that exist, making it infeasible to make a PS2 driver that is compatible with all existing versions. To remedy this, I focused on implementing the most common version of the protocol used in keyboards (detailed here). Most available PS2 keyboards only require device-to-host communication, which made implementing the module relatively simple. The device-to-host-only (DTHO) PS2 module I wrote has already been tested in synthesis and can interface with a PS2 keyboard lent to our group by Prof. Nace.
In addition to this DTHO module, I have also implemented a module capable of both device-to-host and host-to-device communication. This bidirectional communication module has been tested and shown to function in simulation, but has not yet been tested on an FPGA because I do not have access to a keyboard that requires host-to-device communication.
For VGA, I was able to quickly implement a working SystemVerilog module using code I had previously written with some small changes. The VGA module was tested in synthesis and is able to interface with a VGA monitor without any issues. Additional graphics mode modules will likely have to be added to this one once the 6502 and DOS are more developed.
Schedule:
After all of the work completed this week I am on or slightly ahead of schedule. There are no immediate concerns about the current pace of the project.
Next Week’s Plan:
Next week, I plan to add some additional functionality to the modules I have already written as well as start to implement the floppy disk module. By the end of next week there should be a minimally functional module to interface with a floppy disk drive as well as some simulation testing/waveform analysis.
