DE0-CV User Manual
52
www.terasic.com
May 4, 2015
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
e
e
t
t
u
u
p
p
,
,
F
F
i
i
l
l
e
e
L
L
o
o
c
c
a
a
t
t
i
i
o
o
n
n
s
s
,
,
a
a
n
n
d
d
I
I
n
n
s
s
t
t
r
r
u
u
c
c
t
t
i
i
o
o
n
n
s
s
Load the bitstream into the FPGA by executing \DE0_CV_PS2_DEMO \demo_batch\
DE0_CV_PS2_DEMO.bat
Plug in the PS/2 mouse
Press KEY0 to enable data transfer
Press KEY1 to clear the display data cache
The 7-segment display should change when the PS/2 mouse moves. The LEDR[2:0] will blink
according to
Figure 5-6
and
Table 5-2
when the left-button, right-button, and/or middle-button
is pressed.
Figure 5-6 Description of 7-segment Display and LED Indicators