User manual

DE2 User Manual
20
AUDIO_DAC Verilog module defines a circuit that reads the contents of the Flash memory
and sends it to the external audio chip.
3.7 VGA Display Control
The Control Panel provides a tool with the associated IP that allows the user to display an image via
the VGA output port. To illustrate this feature, we will show how an image can be displayed on a
VGA monitor. Perform the following steps to display a default image:
Select the VGA tab in the Control Panel to reach the window in Figure 3.9.
Figure 3.9. Displayed image and the cursor controlled by the scroll bars
Make sure that the checkboxes Default Image and Cursor Enable are checked.
Connect a VGA monitor to the DE2 board and you should see on the screen the default
image shown in Figure 3.9. The image includes a cursor which can be controlled by means
of the X/Y-axes scroll bars on the DE2 Control Panel.
The image in Figure 3.9 is stored in an M4K memory block in the Cyclone II FPGA. It is loaded
into the M4K block in the MIF/Hex(Intel) format during the default bit stream configuration stage.
We will next describe how you can display other images and use your own images to generate the
binary data patterns that can be displayed on the VGA monitor.
Another image is provided in the file picture.dat in the folder DE2_demonstrations\pictures on the
DE2 System CD-ROM. You can display this image as follows:
Select the SRAM page of the Control Panel and load the file picture.dat into the SRAM.