DE0-CV User Manual
47
www.terasic.com
May 4, 2015
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
B
B
a
a
t
t
c
c
h
h
F
F
i
i
l
l
e
e
The files are located in the director: \DE0_CV_SDRAM_Nios_Test \demo_batch.
The folder includes the following files:
Batch file for USB-Blaster II : DE0_CV_SDRAM_Nios_Test.bat and
DE0_CV_SDRAM_Nios_Test.sh
FPGA configuration file : DE0_CV_SDRAM_Nios_Test.sof
Nios II program: DE0_CV_SDRAM_Nios_Test.elf
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
e
e
t
t
u
u
p
p
Quartus II v14.0 and Nios II v14.0 must be pre-installed on the host PC.
Power on the DE0_CV board.
Connect the DE0_CV board (J13) to the host PC with a USB cable and install the USB-Blaster
driver if necessary.
Execute the demo batch file “DE0_CV_SDRAM_Nios_Test.bat” from the directory
DE0_CV_SDRAM_Nios_Test\demo_batch
After the program is downloaded and executed successfully, a prompt message will be displayed
in nios2-terminal.
Press any button (
KEY3~KEY0)
to start the SDRAM verification process. Press
KEY0
to run
the test continuously
.
The program will display the test progress and result, as shown in
Figure 5-3
.
Figure 5-3 Display of progress and result for the SDRAM test in Nios II