User manual
DE2 User Manual
58
data stored in the frame buffer with a default image pattern and display the overlapped image on the
VGA display.
Figure 5.3. Block diagram of the USB paintbrush demonstration.
Demonstration Setup, File Locations, and Instructions
Project directory: DE2_NIOS_HOST_MOUSE_VGA
Bit stream used: DE2_NIOS_HOST_MOUSE_VGA.sof
Nios II Workspace: DE2_NIOS_HOST_MOUSE_VGA
• Connect a USB Mouse to the USB Host Connector (type A) of the DE2 board
• Connect the VGA output of the DE2 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_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.