DE4 User Manual
132
www.terasic.com
June 20, 2018
clock provided from the board. The DDR2 controller is configured as a 1Gbytes DDR2-800
controller. The DDR2 IP generates one 400 MHz clock as SDRAM’s data clock and one half-rate
system clock 200 MHz for those controllers, e.g. NIOS processor, accessing the SDRAM. In the
SOPC, NIOS and On-Chip Memory are designed running with the 200 MHz clock, and the other
controllers are designed running with 10 MHz clock which is generated by the PLL. The NIOS
program is running in the on-chip memory.
Figure 5
–22 Block diagram of the DDR2 demonstration
The system flow is controlled by a NIOS program. First, the NIOS program writes test patterns into
the whole 1GBytes SDRAM. Then, it calls NIOS system function, alt_dache_flush_all, to make
sure all data has been written to SDRAM. Finally, it reads data from SDRAM for data verification.
The program will show progress in JTAG-Terminal when writing/reading data to/from the SDRAM.
When verification process is completed, the result is displayed in the JTAG-Terminal.
Altera DDR2 SDRAM High Performance Controller
To use Altera DDR2 controller, users need to perform three major steps: 1). Create correct pin
assignment for DDR2. 2). Setup correct parameters in DDR2 controller dialog. 3). Execute TCL
files, generated by DDR2 IP, under your Quartus project.
The following section describes some of the import issues in support of the DDR2 controller
Summary of Contents for ALTERA DE4
Page 1: ...DE4 User Manual 1 www terasic com June 20 2018 ...
Page 54: ...DE4 User Manual 54 www terasic com June 20 2018 ...
Page 83: ...DE4 User Manual 83 www terasic com June 20 2018 Figure 3 8 Access DDR2 SO DIMM memory ...
Page 92: ...DE4 User Manual 92 www terasic com June 20 2018 Figure 3 17 Fan Control of the DE4 ...
Page 150: ...DE4 User Manual 150 www terasic com June 20 2018 Figure 5 35 SOPC builder ...