DE2-115: User Manual
DE2-115: User Manual
DE2-115: User Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Figure 6-15 The setup for the SD music player demonstration<br />
6.8 PS/2 Mouse Demonstration<br />
We offer this simple PS/2 controller coded in Verilog HDL to demonstrate bidirectional<br />
communication between PS/2 controller and the device, the PS/2 mouse. You can treat it as a<br />
how-to basis and develop your own controller that could accomplish more sophisticated instructions,<br />
like setting the sampling rate or resolution, which need to transfer two data bytes.<br />
For detailed information about the PS/2 protocol, please perform an appropriate search on various<br />
educational web sites. Here we give a brief introduction:<br />
• Outline<br />
PS/2 protocol use two wires for bidirectional communication, one clock line and one data line. The<br />
PS/2 controller always has total control over the transmission line, but the PS/2 device generates<br />
clock signal during data transmission.<br />
93