Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
There are useful book named "FPGA Prototyping by VHDL Examples" **broken link removed**
There you'll find the example. Though the author works with PS/2 board. Unfortunatelly you had not mentioned which interface do you need.