Lab 3: USB Paint Brush
55
Figure 7.1 The Block Diagram of the USB Paint Brush Application
7-2
Lab Setup and Instructions
Project Directory: C:\DE2\UP4_NIOS_HOST_MOUSE_VGA
Bitstream Used: UP4_api.sof
NIOS II Workspace : C:\DE2\UP4_NIOS_HOST_MOUSE_VGA
Refer to Figure 7.2 and setup the lab according to the following steps:
Connect a USB Mouse to the USB Host Connector of the DE2 board.
Connect VGA output to a LCD/CRT Monitor
Load the bitstream into FPGA
Run NIOS II IDE and choose C:\DE2\UP4_NIOS_HOST_MOUSE_VGA as
workspace. Click on “Compile and Run” button.
Now you see the blue canvas with Altera logo on the VGA screen.
Move the USB mouse to move the green cross target.
Left-click mouse to draw white dots/lines and right-click mouse to draw
blue dots/lines on the screen.