DE3 User Manual
74
The system flow is controlled by a NIOS program. First, the NIOS program writes test patterns into
the whole 256M-Bytes SDRAM by calling standard library function – “memcpy”. Then, it calls
NIOS system function, alt_dache_flush_all, to make sure all data has been written to SDRAM.
Finally, it calls “memcpy” again to read 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 contrroler, 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.
1.
Pin Assignments
DE3_System builder can help users quickly generate accuracy pin assignments for DDR2. For DE3
configuration, select “DDR2-SO-DIMM” type, as shown
Figure 5.16.
For DDR2 configuration,
select “Altera DDR2 IP” Pin Name, as shown
Figure 5.17.
Then,
Figure 5.16. Select DDR2 SO-DIMM Type in DE3 Configuration
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 ...