DE10-Lite
User Manual
53
www.terasic.com
May 11, 2018
5
5
.
.
3
3
S
S
D
D
R
R
A
A
M
M
T
T
e
e
s
s
t
t
i
i
n
n
V
V
e
e
r
r
i
i
l
l
o
o
g
g
DE10-Lite system CD offers another SDRAM test with its test code written in Verilog HDL. The
memory size of the SDRAM bank tested is still 64MB.
◼
Function Block Diagram
Figure 5-4
shows the function block diagram of this demonstration. The SDRAM controller uses 50
MHz as a reference clock and generates 100 MHz as the memory clock.
Figure 5-4 Block diagram of the SDRAM test in Verilog
RW_Test module writes the entire memory with a test sequence first before comparing the data read
back with the regenerated test sequence, which is the same as the data written to the memory.
KEY0 triggers test control signals for the SDRAM, and the LEDs will indicate the test result
according to
Table 5-1
错误
!
未找到引用源。
.
D
D
e
e
s
s
i
i
g
g
n
n
T
T
o
o
o
o
l
l
s
s
•
Quartus II v16.0
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
o
o
u
u
r
r
c
c
e
e
C
C
o
o
d
d
e
e
•
Project directory: \SDRAM_RTL_Test
•
Bit-stream used: DE10_LITE_SDRAM_RTL_Test.sof