DE2-70 User Manual
73
Nios II
CPU
Altera
System
Interconnect
Fabric
Philips
ISP1362
Host
Port
VGA
Controller
Frame
Buffer
USB
Mouse
ADV7123
Figure 6.5. Block diagram of the USB paintbrush demonstration.
Demonstration Setup, File Locations, and Instructions
Project directory: DE2_70_NIOS_HOST_MOUSE_VGA
Bit stream used: DE2_70_NIOS_HOST_MOUSE_VGA.sof
Nios II Workspace: DE2_70_NIOS_HOST_MOUSE_VGA\Software
• Connect a USB Mouse to the USB Host Connector (type A) of the DE2-70 board
• Connect the VGA output of the DE2-70 board to a VGA monitor (both LCD and CRT type
of monitors should work)
• Load the bit stream into FPGA
• Run the Nios II and choose DE2_70_NIOS_HOST_MOUSE_VGA as the workspace. Click
on the Compile and Run button
• You should now be able to observe a blue background with an Altera logo on the VGA
display
• Move the USB mouse and observe the corresponding movements of the cursor on the screen
• Left-click mouse to draw white dots/lines and right-click the mouse to draw blue dots/lines
on the screen.
Figure 6.6 illustrates the setup for this demonstration.