66
Figure 5-5 Setup for the Karaoke Machine
5
5
.
.
4
4
S
S
D
D
R
R
A
A
M
M
T
T
e
e
s
s
t
t
b
b
y
y
N
N
i
i
o
o
s
s
I
I
I
I
Many applications use SDRAM to provide temporary storage. In this demonstration hardware and
software designs are provided to illustrate how to perform memory access in QSYS. We describe
how the Altera’s SDRAM Controller IP is used to access a SDRAM, and how the Nios II processor
is used to read and write the SDRAM for hardware verification. The SDRAM controller handles the
complex aspects of using SDRAM by initializing the memory devices, managing SDRAM banks,
and keeping the devices refreshed at appropriate intervals.
System Block Diagram
Figure 5-6
shows the system block diagram of this demonstration. The system requires a 50 MHz
clock provided from the board. The SDRAM controller is configured as a 64MB controller. The
working frequency of the SDRAM controller is 100MHz, and the Nios II program is running in the
on-chip memory.
Summary of Contents for DE1-SOC
Page 1: ...1...
Page 108: ...107 Figure 8 4 Select Devices Page...