DE3 User Manual
58
Chapter 5
Examples of Advanced Demonstration
5
This chapter provides a number of examples of advanced circuits implemented on the DE3 board.
These circuits demonstrate the major features onboard, such as its SD card, USB host and device,
and DDR2. For each demonstration the Stratix III FPGA configuration file is provided, as well as
full source code in Verilog HDL code. All of the associated files can be found in the
DE3_demonstrations folder from the DE3 System CD. There are four sub-folders named 340, 260,
150ES, and 150 under the directory of DE3_demonstrations. The numbers correspond to the Stratix
III FPGA EP3SL340, EP3E260, EP3S150ES, and EP3S150 on DE3 board. For each of
demonstrations described in the following sections, we give the name of the project directory for its
files, which are sub-directories of the DE3_demonstrations folder.
5.1
USB Host
USB is a well-known communication standard used in many peripherals. The DE3 board provides a
complete USB solution for both host and device applications. In this demonstration, USB host
functions are implemented for USB mass-storage and Human-interface devices (HIDs) USB-Mouse.
The drivers of the above applications are implemented in NIOS II C code. All high-speed,
full-speed, and low-speed devices are supported in this demonstration.
Figure 5.1
shows the hardware system block diagram of this demonstration. The system requires a
50 MHz clock provided from the board. The PLL generates a 100 MHz clock for NIOS II processor
and high-speed controllers, and generate 10 MHz clock for low-speed peripherals, such as buttons.
A custom-defined SOPC ISP1761 controller, developed by TERASIC, is used to connect the
ISP1761 USB chip and NIOS II processor. Based on this controller, NIOS II processor can access
the register, memory, and interrupts of the USB chip. A PIO pin, named usb_reset_n, is connected to
the USB for performing hardware reset of the USB chip. The NIOS II program is stored in the
On-Chip Memory.
Summary of Contents for Altera DE3
Page 1: ...Altera DE3 Board ...
Page 67: ...DE3 User Manual 64 Figure 5 5 Plug USB Devices into DE3 Figure 5 6 Display Device Information ...
Page 75: ...DE3 User Manual 72 Figure 5 14 Display SD Card Information for the SD Card Demonstration ...
Page 79: ...DE3 User Manual 76 Figure 5 19 Parameter Settings in DDR2 Controller ...
Page 114: ...DE3 User Manual 111 Figure D 5 The reported message of the invalid I O pins ...