DE10-Standard
User Manual
78
www.terasic.com
January 19, 2017
Load the bitstream into the FPGA by executing \DE10_Standard _PS2 \demo_batch\test.bat
Plug in the PS/2 mouse
Press KEY[0] to enable data transfer
Press KEY[1] 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
Table 5-4
when the left-button, right-button, and/or middle-button is pressed.
Table 5-4 Description of 7-segment Display and LED Indicators
Indicator Name
Description
LEDR[0]
Left button press indicator
LEDR[1]
Right button press indicator
LEDR[2]
Middle button press indicator
HEX0
Low byte of X displacement
HEX1
High byte of X displacement
HEX2
Low byte of Y displacement
HEX3
High byte of Y displacement
5
5
.
.
8
8
I
I
R
R
E
E
m
m
i
i
t
t
t
t
e
e
r
r
L
L
E
E
D
D
a
a
n
n
d
d
R
R
e
e
c
c
e
e
i
i
v
v
e
e
r
r
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
DE10_Standard system CD has an example of using the IR Emitter LED and IR receiver. This
demonstration is coded in Verilog HDL.
Figure 5-12 Block diagram of the IR emitter LED and receiver demonstration
Figure 5-12
shows the block diagram of the design. It implements a IR TX Controller and a IR RX
Controller. When KEY0 is pressed, data test pattern generator will generate data to the IR TX
Controller continuously. When IR TX Controller is active, it will format the data to be compatible
Содержание DE10-Standard
Страница 1: ...DE10 Standard User Manual 1 www terasic com January 19 2017 ...
Страница 7: ...DE10 Standard User Manual 6 www terasic com January 19 2017 ...
Страница 105: ...DE10 Standard User Manual 104 www terasic com January 19 2017 Figure 6 14 LCD display for the LCD Demonstration ...
Страница 121: ...DE10 Standard User Manual 120 www terasic com January 19 2017 Figure 8 4 Select Devices page ...