VHDL Code Library
All code on this page is released under an open-source license (LGPL). It is the 21th century reconfigurable logic equivalent of 74xx logic.
A collection of small building blocks that can help you to build larger FPGA designs.
vhdl_gen.zip Last update 20100714 Some support entities. Contains entities of binary counters, a reset circuit and a pipeline register (with configurable depth and width).
vhdl_io_ps2.zip Lowlevel device-drivers in VHDL for PS/2 keyboard and mouse.
The keyboard driver delivers raw scan-codes and can update the status of the LEDs.
The mouse driver supports both 2 button-mice and 3 button-mice with scroll-wheel.
The scroll-wheel support can be turned off to reduce logic gate usage.
Don't forget to set the correct value for ticksPerUsec (aka the clock-speed in MHz).
|