66
Altera
LP
DDR
2
SDRAM Controller with UniPHY
To use the Altera
LP
DDR2 controller, users need to perform three major steps:
1.
Create correct pin assignments for the LPDDR2.
2.
Setup correct parameters in LPDDR2 controller dialog.
3.
Perform “Analysis and Synthesis” by selecting from the Quartus II menu:
Process
Start
Start Analysis & Synthesis.
4.
Run the TCL files generated by LPDDR2 IP by selecting from the Quartus II menu:
Tools
TCL Scripts…
Design Tools
•
64-Bit Quartus 13.0
Demonstration Source Code
•
Project directory: C5G_LPDDR2_RTL_Test
•
Bit stream used: C5G_LPDDR2_RTL_Test.sof
Demonstration Batch File
Demo Batch File Folder:
C5G_LPDDR2_RTL_Test \demo_batch
The demo batch file includes following files:
•
Batch File: C5G_LPDDR2_RTL_Test.bat
•
FPGA Configure File: C5G_LPDDR2_RTL_Test.sof
Demonstration Setup
•
Make sure Quartus II is installed on your PC.
•
Connect the USB cable to the USB Blaster connector (J
10
) on the C5G board and host PC.
•
Power on the C5G board.
•
Execute the demo batch file “ C5G_LPDDR2_RTL_Test.bat” under the batch file folder,
C5G_LPDDR2_RTL_Test \demo_batch.
•
Press
KEY0
on the
C5G
board to start the verification process. When
KEY0
is pressed, the
LEDs
(
LED
G
[2:0]) should turn on. At the instant of releasing
KEY0
,
LED
G
1
,
LED
G
2
should
start blinking. After approximately 25 seconds,
LEDG1
should stop blinking and stay on to
indicate that the
LP
DDR
2
has passed the test, respectively.
LED
indicators.
•
If
LED
G
2
is not blinking, it means 50MHz clock source is not working.
•
If
LEDG1
do not start blinking after releasing KEY0, it indicates local_init_done or
local_cal_success of the corresponding
LP
DDR
2
failed.
•
If
LEDG1
fail to remain on after 25 seconds, the corresponding
LP
DDR
2
test has failed.