144
clock provided from the board. The SDRAM controller is configured as a 32MB controller. The
working frequency of the SDRAM controller is 100MHz, and the Nios II program is running in the
SDRAM
.
Figure 8-15 Block diagram of the SDRAM Basic Demonstration
The system flow is controlled by a Nios II program. First, the Nios II program writes test patterns
into the SDRAM.
Then, it calls Nios II system function, alt_dcache_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.
Design Tools
Quartus II 13.0 SP1
Nios II Eclipse 13.0 SP1
Demonstration Source Code
Quartus Project directory: DE0_NANO_SDRAM_Nios_Test
Nios II Eclipse: DE0_NANO_SDRAM_Nios_Test \Software
Nios II Project Compilation
Содержание De0-Nano
Страница 1: ...1 ...
Страница 4: ...4 9 3 Revision History 155 9 4 Copyright Statement 155 ...
Страница 44: ...44 Figure 6 5 Browse to find the location Figure 6 6 There is no need to test the driver ...
Страница 90: ...90 Figure 7 14 Add NIOS II Processor ...
Страница 91: ...91 Figure 7 15 Nios II Processor 9 Click Finish to return to main window as shown in Figure 7 16 ...
Страница 93: ...93 Figure 7 17 Rename the CPU 1 Figure 7 18 Rename the CPU 2 ...
Страница 98: ...98 Figure 7 23 Add On Chip Memory ...
Страница 100: ...100 Figure 7 25 Update Total memory size ...
Страница 102: ...102 Figure 7 28 Update CPU settings ...
Страница 104: ...104 Figure 7 30 Add PIO ...
Страница 106: ...106 Figure 7 32 PIO 21 Rename pio_0 to pio_led as shown in Figure 7 33 Figure 7 33 Rename PIO ...
Страница 113: ...113 Figure 7 43 Input verilog Text Figure 7 44 Open DE0_NANO_SOPC v ...
Страница 146: ...146 Figure 8 16 Display Progress and Result Information for the SDRAM Demonstration ...
Страница 150: ...150 Figure 9 3 Select Devices Page ...
Страница 151: ...151 Figure 9 4 Convert Programming Files Page ...