User manual

DE2 User Manual
54
Chapter 5
Examples of Advanced Demonstrations
This chapter provides a number of examples of advanced circuits implemented on the DE2 board.
These circuits provide demonstrations of the major features on the board, such as its audio and
video capabilities, and USB and Ethernet connectivity. For each demonstration the Cyclone II
FPGA (or EPCS16 serial EEPROM) configuration file is provided, as well as the full source code in
Verilog HDL code. All of the associated files can be found in the DE2_demonstrations folder from
the DE2 System CD-ROM. For each of demonstrations described in the following sections, we
give the name of the project directory for its files, which are subdirectories of the
DE2_demonstrations folder.
Installing the Demonstrations
To install the demonstrations on your computer, perform the following
1. Copy the directory DE2_demonstrations into a local directory of your choice. It is
important to ensure that the path to your local directory contains no spaces otherwise, the
Nios II software will not work.
2. In the directory DE2_demonstrations, go to the subdirectory fixpaths.
3. Run the DE2_fixpaths.bat batch file. In the dialog box that pops up, select the directory
DE2_demonstrations in your local directory where you copied the files to. Click OK.
4. When fixpaths is finished, press any key to complete the process.
5.1 DE2 Factory Configuration
The DE2 board is shipped from the factory with a default configuration that demonstrates some of
the basic features of the board. The setup required for this demonstration, and the locations of its
files are shown below.
Demonstration Setup, File Locations, and Instructions
Project directory: DE2_Default
Bit stream used: DE2_Default.sof or DE2_Default.pof