PS/2 Serial Port

The DE2 board includes a standard PS/2 interface and a connector for a PS/2 keyboard or mouse. Figure 1 shows the schematic of the PS/2 circuit. Instructions for using a PS/2 mouse or keyboard can be found by performing an appropriate search on various educational web sites. The pin assignments for the associated interface are shown in Table 1.

Figure 1. PS/2 Schematic.

Table 1. PS/2 signal assignments

Signal NameDescription
PS2_CLK PS/2 Clock
PS2_DAT PS/2 Data

See DE2_pin_assignments.csv, a comma-delimited file that matches "standard" descriptive names to actual FPGA pin locations. This file can be directly opened in Microsoft Excel.


James. O. Hamblen, Tyson. S. Hall, and Michael. D. Furman, Rapid Prototyping of Digital Systems, Quartus II Edition, Springer, 2006. ISBN 0-387-27728-5. See Chapter 11 and book web site.

Maintained by John Loomis, last updated 18 April 2007