DE0-CV User Manual
45
www.terasic.com
May 4, 2015
Figure 5-1 Command line of the batch file to program the FPGA and EPCS device
5
5
.
.
2
2
S
S
D
D
R
R
A
A
M
M
T
T
e
e
s
s
t
t
i
i
n
n
N
N
i
i
o
o
s
s
I
I
I
I
There are many applications using SDRAM as a temporary storage. Both hardware and software
designs are provided to illustrate how to perform memory access in Qsys in this demonstration. It
also shows how Altera‟s SDRAM controller IP accesses SDRAM and how the Nios II processor
reads and writes the SDRAM for hardware verification. The SDRAM controller handles complex
aspects of accessing SDRAM such as initializing the memory device, managing SDRAM banks,
and keeping the devices refreshed at certain interval.
System Block Diagram
Figure 5-2
shows the system block diagram of this demonstration. The system requires a 50 MHz
clock input from the board. The SDRAM controller is configured as a 64MB controller. The
working frequency of the SDRAM controller is 143 MHz, and the Nios II program is running on
the on-chip memory.