MAX 10 Plus User
Manual
66
May 31, 2019
Figure 6-16 Block Diagram of the DDR3 Basic Demo
The system flow is controlled by a Nios II program. First, the Nios II program writes test patterns
into the whole 128MB of SDRAM. Then, it calls Nios II 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 DDR3 SDRAM Controller with UniPHY
To use Altera DDR3 controller, you need to perform 4 major steps:
•
Create correct pin assignments for DDR3.
•
Set up correct parameters in DDR3 controller dialog.
•
Perform “Analysis and Synthesis” by clicking Quartus menu: Process
→
Start
→
Start Analysis &
Synthesis.
•
Run the TCL files generated by DDR3 IP by clicking Quartus menu: Tools
→
TCL Scripts…
◼
Design Tools
•
Quartus II 15.0
•
Nios II Eclipse 15.0
◼
Demonstration Source Code
•
Quartus Project directory: ddr3_nios
•
Nios II Eclipse Project workspace: ddr3_nios/software
◼
Nios II Project Compilation
•
Before you attempt to compile the reference design under Nios II Eclipse, make sure the project