DE4 User Manual
133
www.terasic.com
June 20, 2018
configuration. On the “Memory_Setting” tab, in order to achieve 400 MHz clock frequency, a
reference clock frequency of 50 MHz
should be used which can be generated using a PLL. If a
different DDR2 SODIMM is used, the memory parameters should be modified according to the
datasheet of the DDR2 SODIMM. From the “PHY Settings” tab, both “Use differential DQS” and
“Enable dynamic parallel on-chip termination” items should be selected.
Design Tools
Quartus II
NIOS II IDE
Demonstration Source Code
Project directory:
DE4_DDR2
Bit stream used:
DE4_DDR2.sof
NIOS II Workspace:
DE4_DDR2\Software
Nios II IDE Project Compilation
Before you attempt to compile the reference design under Nios II IDE, make sure the project is
cleaned first from the ‘Project’ menu of Nios followed by ‘Clean’.
Demonstration Batch File
Demo Batch File Folder:
DE4_DDR2\demo_batch\dim1
or
DE4_DDR2\demo_batch\dim2
The demo batch file includes following files:
DDR2 SODIMM 1
Batch File: test.bat, test_bashrc
FPGA Configure File:
DE4_DDR2.sof
NIOS II Program:
DE4_DDR2.elf
DDR2 SODIMM 2
Batch File: test.bat, test_bashrc
FPGA Configure File:
DE4_DDR2.sof
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 ...