145
Before you attempt to compile the reference design under Nios II Eclipse, make sure the project
is cleaned first by clicking ‘Clean’ from the ‘Project’ menu of Nios II Eclipse.
Demonstration Batch File
Demo Batch File Folder: DE0_NANO_SDRAM_Nios_Test \demo_batch
The demo batch file includes following files:
Batch File for USB-Blaster : DE0_NANO_SDRAM_Nios_Test.bat,
DE0_NANO_SDRAM_Nios_Test.sh
FPGA Configure File : DE0_NANO_SDRAM_Nios_Test
.sof
Nios II Program: DE0_NANO_SDRAM_Nios_Test
.elf
Demonstration Setup
Make sure Quartus II and Nios II are installed on your PC.
Connect a USB cable to the DE0-Nano board and install USB Blaster driver if necessary.
Execute the demo batch file “ DE0_NANO_SDRAM_Nios_Test
.bat
” under the batch file
folder, DE0_NANO_SDRAM_Nios_Test
\demo_batch
After Nios II prog
ram is downloaded and executed successfully, a pro
mpt message will be
displayed in n
ios2-terminal.
Press
KEY1~KEY0
of the DE0-Nano board to start SDRAM verify process. Press
KEY0
for
continued test
.
The program will display progressing and result information, as shown in
Figure 8-16
.
Summary of Contents for De0-Nano
Page 1: ...1 ...
Page 4: ...4 9 3 Revision History 155 9 4 Copyright Statement 155 ...
Page 44: ...44 Figure 6 5 Browse to find the location Figure 6 6 There is no need to test the driver ...
Page 90: ...90 Figure 7 14 Add NIOS II Processor ...
Page 93: ...93 Figure 7 17 Rename the CPU 1 Figure 7 18 Rename the CPU 2 ...
Page 98: ...98 Figure 7 23 Add On Chip Memory ...
Page 100: ...100 Figure 7 25 Update Total memory size ...
Page 102: ...102 Figure 7 28 Update CPU settings ...
Page 104: ...104 Figure 7 30 Add PIO ...
Page 106: ...106 Figure 7 32 PIO 21 Rename pio_0 to pio_led as shown in Figure 7 33 Figure 7 33 Rename PIO ...
Page 113: ...113 Figure 7 43 Input verilog Text Figure 7 44 Open DE0_NANO_SOPC v ...
Page 146: ...146 Figure 8 16 Display Progress and Result Information for the SDRAM Demonstration ...
Page 150: ...150 Figure 9 3 Select Devices Page ...
Page 151: ...151 Figure 9 4 Convert Programming Files Page ...