Altera DE2-115 Manual de usuario Pagina 84

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 121
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 83
83
VGA controller to perform the real-time image storage and display. Figure 6-3 shows the block
diagram of the circuit, which allows the user to draw lines on the VGA display screen using the
USB mouse. The VGA Controller block is integrated into the Altera Avalon bus so that it can be
controlled by the Nios II processor.
Once the program runs, the Nios II processor is started as it will detect the existence of the USB
mouse connected to DE2-115 board. When the mouse moves, the Nios II processor is able to keep
track of the movement and record it in a frame buffer memory. The VGA Controller will overlap the
data stored in the frame buffer with a default image pattern and display the overlapped image on the
VGA display.
Figure 6-3 Block diagram of the USB paintbrush demonstration
Demonstration Setup, File Locations, and Instructions
Project directory: DE2_115_NIOS_HOST_MOUSE_VGA
Bit stream used: DE2_115_NIOS_HOST_MOUSE_VGA.sof
Nios II Workspace: DE2_115_NIOS_HOST_MOUSE_VGA\Software
Connect a USB Mouse to the USB Host Connector (type A) of the DE2-115 board
Connect the VGA output of the DE2-115 board to a VGA monitor (both LCD and CRT type of
monitors should work)
Load the bit stream into FPGA(note*)
Run the Nios II and choose DE2_115_NIOS_HOST_MOUSE_VGA\Software as the workspace.
Click on the Run button(note*)
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 erase white dots/lines on
the screen.
Vista de pagina 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 120 121

Comentarios a estos manuales

Sin comentarios