46
Chapter 5
Examples of Advanced Demonstrations
This chapter provides a number of examples of advanced circuits implemented on the DE1 board.
These circuits provide demonstrations of the major features on the board, such as its audio and
video capabilities. For each demonstration the Cyclone II FPGA (or EPCS4 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 DE1_demonstrations folder from the DE1 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 DE1_demonstrations folder.
Installing the Demonstrations
To install the demonstrations on your computer, perform the following
1. Copy the directory DE1_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 DE1_demonstrations, go to the subdirectory fixpaths.
3. Run the DE1_fixpaths.bat batch file. In the dialog box that pops up, select the directory
DE1_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 DE1 Factory Configuration
The DE1 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: DE1_Default
• Bit stream used: DE1_Default.sof or DE1_Default.pof