iiMegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User Guide
Contents
Chapter 1. About This MegaCore Function
Release Information ............................................................................................................................... 1–1
Device Family Support ......................................................................................................................... 1–1
Features ................................................................................................................................................... 1–2
General Description ............................................................................................................................... 1–2
OpenCore Plus Evaluation .............................................................................................................. 1–4
Performance and Resource Utilization ............................................................................................... 1–4
Simulate the Example Design ............................................................................................................ 3–11
Altera Corporation MegaCore Version 9.1iii
Contents
Simulate with IP Functional Simulation Models ....................................................................... 3–11
Simulating in Third-Party Simulation Tools Using NativeLink ............................................. 3–12
Edit the PLL .......................................................................................................................................... 3–13
Compile the Example Design ............................................................................................................ 3–14
Program a Device ................................................................................................................................ 3–15
Implement Your Design ..................................................................................................................... 3–15
Set Up Licensing .................................................................................................................................. 3–15
Additional Information
Revision History ......................................................................................................................................... i
How to Contact Altera ............................................................................................................................... i
Typographic Conventions ....................................................................................................................... ii
ivMegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User Guide
1. About This MegaCore
Function
Release
Information
fFor more information about this release, refer to the MegaCore IP Library
Device Family
Support
Table 1–1 provides information about this release of the Altera®
RLDRAM II Controller MegaCore® function.
Table 1–1. Release Information
ItemDescription
Ver si on9. 1
Release DateNovember 2009
Ordering CodeIP-RLDRAMII
Product ID00AC
Vendor ID6AF7
Release Notes and Errata.
Altera verifies that the current version of the Quartus® II software
compiles the previous version of each MegaCore function. The MegaCore
IP Library Release Notes and Errata report any exceptions to this
verification. Altera does not verify compilation with MegaCore function
versions older than one release.
MegaCore functions provide either full or preliminary support for target
Altera device families:
■Full support means the MegaCore function meets all functional and
timing requirements for the device family and may be used in
production designs
■Preliminary support means the MegaCore function meets all
functional requirements, but may still be undergoing timing analysis
for the device family; it may be used in production designs with
caution.
Altera Corporation MegaCore Version 9.11–1
November 2009
Features
Table 1–2 shows the level of support offered by the RLDRAM II
Controller MegaCore function to each Altera device family.
Table 1–2. Device Family Support
Device FamilySupport
®
HardCopy
Stratix
Stratix
Other device familiesNo support
II
®
II
II GXFull
Preliminary
Full
Features
General
Description
■Common I/O (CIO) and separate I/O (SIO) device support
■Memory burst length 2, 4, and 8-beat support
■Nonmultiplexed addressing
■Datapath generation
■Data strobe signal (DQS) and non-DQS capture modes
■Automatic constraint generation
■Easy-to-use IP Toolbench interface
■IP functional simulation models for use in Altera-supported VHDL
and Verilog HDL simulators
■Support for OpenCore Plus evaluation
The RLDRAM II controller MegaCore function handles the complex
aspects of using RLDRAM II—initializing the memory devices and
translating read and write requests from the local interface into all the
necessary RLDRAM II command signals.
The RLDRAM II controller is optimized for Altera Stratix II devices and
has preliminary support for Stratix II GX and HardCopy II devices. The
advanced features available in these devices allow you to interface
directly to RLDRAM II devices.
Figure 1–1 on page 1–3 shows a system-level diagram including the
example design that the RLDRAM II Controller MegaCore function
creates for you.
1–2MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Figure 1–1. RLDRAM II Controller System-Level Diagram
Example Design
Local
Pass
or Fail
Example
Driver
Interface
Control Logic
(Encrypted)
About This MegaCore Function
Clock
Note to Figure 1–1:
(1) Non-DQS mode only.
System
PLL
DLL
Fedback
Clock
PLL (
1
Datapath
(Clear Text)
)
RLDRAM II Controller
RLDRAM II
Interface
RLDRAM II
IP Toolbench generates the following items:
■A testbench, which instantiates the example design
■A synthesizable example design which instantiates the following
modules:
●RLDRAM II controller:
•Encrypted control logic, which takes transaction requests
from the local interface and issues writes, reads, and
refreshes to the memory interface
•A clear-text datapath
●Example driver—generates write, read and refresh requests and
outputs a pass_fail signal to indicate that the tests are
passing or failing
●System phase-locked loop (PLL)—generates the RLDRAM II
controller clocks
●Delay locked loop (DLL)—instantiated in DQS mode and
generates the DQS delay control signal for the dedicated DQS
delay circuitry
Altera Corporation MegaCore Version 9.11–3
November 2009RLDRAM II Controller MegaCore Function User Guide
Performance and Resource Utilization
●Optional fedback clock PLL—instantiated in non-DQS mode and
OpenCore Plus Evaluation
With Altera’s free OpenCore Plus evaluation feature, you can perform
the following actions:
■Simulate the behavior of a megafunction (Altera MegaCore function
or AMPPSM megafunction) within your system
■Verify the functionality of your design, as well as evaluate its size
and speed quickly and easily
■Generate time-limited device programming files for designs that
include MegaCore functions
■Program a device and verify your design in hardware
You only need to obtain a license for the megafunction when you are
completely satisfied with its functionality and performance, and want to
take your design to production.
fFor more information on OpenCore Plus hardware evaluation using the
RLDRAM II controller, refer to “OpenCore Plus Time-Out Behavior” on
page 2–12 and AN 320: OpenCore Plus Evaluation of Megafunctions.
generates a capture clock for the datapath read capture and logic
path
Performance
Table 1–3 shows typical expected performance for the RLDRAM II
Controller MegaCore function, with the Quartus II software.
and Resource
Utilization
1–4MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Table 1–3. Performance
DeviceCapture Mode
Stratix II
(EP2S60F1020C3)
Stratix II GX
(EP2SGX30CF780C3)
f
(MHz)
MAX
Non-DQS200
DQS300
Non-DQS200
DQS300
About This MegaCore Function
Stratix II and Stratix II GX devices support RLDRAM at up to 300 MHz.
Table 1–4 shows the clock frequency support for Stratix II and Stratix GX
device families, with the Quartus II software.
Table 1–4. RLDRAM II Maximum Clock Frequency Support in Stratix II &
Stratix GX Devices
Speed GradeFrequency (MHz)
–3300
–4250
–5200
Table 1–5 shows typical sizes in combinational adaptive look-up tables
(ALUTs) and logic registers for the RLDRAM II controller.
Table 1–5. Typical SizeNote (1)
DeviceMemory Width (Bits)
Stratix II and
Stratix II GX
Notes to Ta b l e 1– 5 :
(1) These sizes are a guide only and vary with different choices of parameters.
9127169
18130209
36151287
72185444
Combinational
ALUTs
Logic
Registers
Altera Corporation MegaCore Version 9.11–5
November 2009RLDRAM II Controller MegaCore Function User Guide
Performance and Resource Utilization
1–6MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Figure 2–1. RLDRAM II Controller Block DiagramNote (1) , (2)
Notes to Figure 2–1:
(1) You can edit the rldramii_ prefix in IP Toolbench.
(2) The default signal is <signal>_0. When you specify additional address and command busses, both <signal>_0 and
(3) Non-DQS mode only.
(4) DQS mode only.
Altera Corporation MegaCore Version 9.12–1
November 2009
<signal>_1 are present.
Figure 2–1 shows the RLDRAM II Controller MegaCore function block
diagram.
Block Description
The RLDRAM II controller comprises the following two blocks:
■Control logic (encrypted)
■Datapath (clear text)
The control logic performs the following actions:
■Generates initialization sequence using the RLDRAM II initialization
values set in IP Toolbench
■Generates write, read, or refresh accesses when requested at the local
interface
■Generates datapath control signals that ensure that the write data is
output on the memory rldramii_dq[] (CIO devices) or
rldramii_d[] (SIO devices) bus during the correct clock cycles
The datapath performs the following actions:
■Interfaces to common I/O (CIO) or separate I/O (SIO) RLDRAM II
devices
■Generates RLDRAM II clocks
■Places RLDRAM II commands onto the memory command bus using
one of the following system PLL clocks on either the rising or falling
edge:
●System clock
●Wri t e c l ock
●Dedicated clock
■Places write data onto the rldramii_dq[] or rldramii_d[] bus
during the correct clock cycles
■Captures the read data using dedicated data strobe signal (DQS)
delay circuitry during DQS mode or an external capture clock in nonDQS mode
Control Logic
The control logic is responsible for controlling transactions at the memory
interface. The control logic accepts read, write, and refresh requests and
executes them immediately as RLDRAM II transactions.
In addition to reads, writes, and refreshes the control logic is also
responsible for controlling initialization of the RLDRAM II devices.
fFor more information on reads, writes, refreshes, and initialization, see
“Interfaces” on page 2–16.
2–2MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Table 2–1. Control Signals
Functional Description
Table 2–1 shows the RLDRAM II control signals generated by the control
logic for each operation.
OperationAcronym
IdleNOPHighDon’t careDon’t careDon’t careDon’t care
Mode
Register
Set
ReadREADLowHighHighAddressBank address
WriteWRITELowLowHighAddressBank address
Auto
Refresh
MRSLowLowLowSee your
AREFLowHighLowDon’t careBank address
rldramii
_cs_n_0
rldramii
_we_n_0
rldramii
_ref_n_0
rldramii
_a_0[20:0]
RLDRAM data
sheet
rldramii
_ba_0[2:0]
Don’t care
Datapath
Figure 2–2 on page 2–4 shows the datapath block diagram.
Altera Corporation MegaCore Version 9.12–3
November 2009RLDRAM II Controller MegaCore Function User Guide
(1) The default signal is <signal>_0. When you specify additional address and command busses, both <signal>_0 and
2–4MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
<signal>_1 are present.
The datapath performs the following functions:
■Interfaces to CIO or SIO RLDRAM II devices
■Outputs write data to the RLDRAM II interface
■Captures RLDRAM II read data and data valid (QVLD) signals with:
●In DQS mode, a delayed rldramii_qk[] generated by the
●In non-DQS mode, an external capture clock
dedicated DQS delay circuitry
Functional Description
■Generates the RLDRAM II clocks
■Generates addresses and commands on:
●System, dedicated, or write clock
●Rising or falling edge
■Inserts pipeline registers in address and command and write data
path
■Inserts pipeline registers in read data and QVLD path
The datapath provides the interface between the read and write data
busses of the datapath interface and the double-clocked, bidirectional
data bus of the memory interface. The datapath data busses are twice the
width of the memory data bus, because the memory interface transfers
data on both the rising and falling edges of the clock.
IP Toolbench generates a clear-text VHDL or Verilog HDL datapath,
which matches your custom variation. If you are designing your own
controller, Altera recommends that you use this module as your
datapath.
Figure 2–3 shows the write control signals timing relationship when
writing to the datapath.
Figure 2–3. Datapath Write Control Signal Timing
clk
control_doing_wr
control_wdata_valid
control_wdata[]
control_dm[]
0123456767
1111
Memory Clock Generator
The memory clock generator generates memory clocks. There can be up
to four memory clocks and they are generated with an altddio_out
megafunction.
Address & Command Output Registers
The address and command output registers can have the following
options:
■System, write, or dedicated clock clocking for the output registers.
■Rising or falling edge clocking
Altera Corporation MegaCore Version 9.12–5
November 2009RLDRAM II Controller MegaCore Function User Guide
Block Description
Pipeline Registers
IP Toolbench can insert pipeline registers into the datapath to help meet
timing at higher frequencies. IP Toolbench offers the following pipeline
options:
■Insert address and command and write data pipeline registers. The
pipeline depth is the same for the write-data path and the address
and command path. The write data and address and command
pipeline registers are clocked off the system clock.
■Insert read data and QVLD pipeline registers. The pipeline depth is
the same for the read-data path and the QVLD path. The read data
and QVLD pipeline registers are clocked off the clock that captures
the read data—the delayed rldramii_qk[] signal in DQS mode;
the external capture clock in non-DQS mode.
DQS Group
The datapath instantiates one or more DQS groups, which generates
write data, rldramii_dq[] (CIO devices), or rldramii_d[] (SIO
devices) and captures read data rldramii_dq[] (CIO devices), or
rldramii_q[] (SIO devices). The IP Toolbench DQ per DQS (CIO
devices) or Q per DQS (SIO devices) parameter determines the DQS
group width. For example, if DQ per DQS is 9 bits, the
control_wdata[] and control_rdata[] signals are 18-bits wide. To
build larger widths, the datapath instantiates multiple DQS group
modules to increase the data-bus width in increments of DQ per DQS (or
Q per DQS) bits.
1The datapath generates the DM output, rldramii_dm[], in the
DM group module. It generates the DM output in the same way
as the write data.
1The datapath captures the QVLD input, rldramii_qvld[], in
the QVLD group module. The rldramii_qvld[] signal is
captured in the same way that the DQS group module captures
the read data. In DQS mode, the delayed rldramii_qk[]
captures rldramii_qvld[]; in non-DQS mode, the external
clock captures rldramii_qvld[].
Figure 2–4 on page 2–7 shows the Stratix II series and HardCopy II
devices DQS group block diagram (DQS mode, CIO devices).
2–6MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
(1) This figure shows the logic for one DQ output only.
(2) All clocks are clk, unless marked otherwise.
(3) Bus width W is dependent on the DQ per DQS parameter.
(4) Invert combout of the I/O element (IOE) for the dqs pin before feeding in to inclock of the IOE for the DQ pin.
This inversion is automatic if you use an altdq megafunction for the DQ pins.
Figure 2–5 on page 2–8 shows the Stratix II series and HardCopy II
devices DQS group block diagram (DQS mode, SIO devices).
Altera Corporation MegaCore Version 9.12–7
November 2009RLDRAM II Controller MegaCore Function User Guide
(1) This figure shows the logic for one Q output and one D input only.
(2) All clocks are clk, unless marked otherwise.
(3) Bus width W is dependent on the Q per DQS parameter.
(4) Invert combout of the I/O element (IOE) for the dqs pin before feeding in to inclock of the IOE for the Q pin.
This inversion is automatic if you use an altdq megafunction for the Q pins.
Datapath Example
Figure 2–6 shows an example datapath. The example RLDRAM II
controller and memory configuration has the following parameters:
■DQS mode
■Two 18-bit CIO RLDRAM II devices. Each RLDRAM II device has
two rldramii_qk[] data strobes, each associated with 9-bits of
data
■36-bit RLDRAM II interface, which requires a 72-bit datapath
interface
2–8MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Figure 2–6. Example Datapath
Datapath
Optional
Pipeline
Registers
RLDRAM II
Device 1
RLDRAM II
Device 0
Read
Data
Logic
Optional
Pipeline
Registers
QVLD
Group 1
DQS Group 3
control_rdata[35:18]
control_qvld[1]
capture_clk[1]
rldramii_dq[35:27]
rldramii_qk[3]
Optional
Pipeline
Registers
Read
Data
Logic
DQS Group 2
control_rdata[71:54]
rldramii_dq[26:18]
rldramii_qk[2]
rldramii_qvld[1]
Optional
Pipeline
Registers
Read
Data
Logic
Optional
Pipeline
Registers
QVLD
Group 0
DQS Group 1
control_rdata[17:0]
control_qvld[0]
rldramii_dq[17:9]
rldramii_qk[1]
Optional
Pipeline
Registers
Read
Data
Logic
DQS Group 0
control_rdata[53:36]
rldramii_dq[8:0]
rldramii_qk[0]
rldramii_qvld[0]
capture_clk[0]
Functional Description
Figure 2–6 shows the following points, which are applicable for all
interface configurations:
■Each DQS rldramii_dq[] byte group is captured by the delayed
version of its associated rldramii_qk[] data strobe:
Altera Corporation MegaCore Version 9.12–9
November 2009RLDRAM II Controller MegaCore Function User Guide
Block Description
●rldramii_dq[8:0] is captured by the delayed
rldramii_qk[0]
●rldramii_dq[17:9] is captured by the delayed
rldramii_qk[1]
●rldramii_dq[26:18] is captured by the delayed
rldramii_qk[2]
●rldramii_dq[35:27] is captured by the delayed
rldramii_qk[3]
■QVLD is always captured by the delayed version of
rldramii_qk[0] for the associated RLDRAM II device. In
Figure 2–6 there are four rldramii_qk[] signals. Only
rldramii_qk[0] per RLDRAM II device captures the associated
QVLD signal:
●rldramii_qvld[0] is captured by the delayed
rldramii_qk[0]
●rldramii_qvld[1] is captured by the delayed
rldramii_qk[2]
■After the capture registers all captured read data is clocked off the
undelayed rldramii_qk[] signal that captures the QVLD signal
for a particular RLDRAM II device:
●All RLDRAM II 0 captured data is clocked off the undelayed
rldramii_qk[0]
●All RLDRAM II 1 captured data is clocked off the undelayed
rldramii_qk[2]
■Only one capture_clk[] per attached RLDRAM II device is
output from the datapath:
●RLDRAM II 0 capture data is associated with
capture_clk[0], which is the delayed rldramii_qk[0]
●RLDRAM II 1 capture data is associated with
capture_clk[1], which is the delayed rldramii_qk[2]
Read Data Capture Clock Association
Figure 2–7 shows the read data and data strobes at the memory interface
for the example datapath in Figure 2–6. Figure 2–8 shows how the
capture_clk[] associates with the captured read data,
control_rdata[] at the datapath interface.
2–10MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Figure 2–7. Memory Interface
capture_clk[1]
control_rdata[]
Data associated with rldramii_qk[] rising edge
capture_clk[0]
NP
JL
FH
EG
IK
MO
AC
BD
Data associated with rldramii_qk[] falling edge
RLDRAM II
Device 1
rldramii_dq[35:27]
rldramii_qk[3]
rldramii_dq[26:18]
rldramii_qk[2]
RLDRAM II
Device 0
rldramii_dq[17:9]
rldramii_qk[1]
rldramii_dq[8:0]
rldramii_qk[0]
Data associated with rldramii_qk[] rising edge
Data associated with rldramii_qk[] falling edge
MNOP
IJKL
EFGH
ABCD
Figure 2–8. Datapath Interface
Functional Description
NP
Altera Corporation MegaCore Version 9.12–11
November 2009RLDRAM II Controller MegaCore Function User Guide
Figure 2–8 shows that any read data captured on the rising edge of the
delayed rldramii_qk[] signal is located in the lower half-bit locations
of control_rdata[]. Any read data captured on the falling edge of the
delayed rldramii_qk[] signal is located in the upper half-bit locations
Device-Level Configuration
of control_rdata[], which means different bit ranges of the
control_rdata[] are associated with different capture_clk[]
signals.
1Figure 2–8 is a specific example but the mapping and clock
association applies to any RLDRAM II controller interface and
memory configuration.
OpenCore Plus Time-Out Behavior
OpenCore Plus hardware evaluation can support the following two
modes of operation:
■Untethered—the design runs for a limited time
■Tethered—requires a connection between your board and the host
computer. If tethered mode is supported by all megafunctions in a
design, the device can operate for a longer time or indefinitely
All megafunctions in a device time out simultaneously when the most
restrictive evaluation time is reached. If there is more than one
megafunction in a design, a specific megafunction’s time-out behavior
may be masked by the time-out behavior of the other megafunctions.
1For MegaCore functions, the untethered time out is 1 hour; the
tethered time out value is indefinite.
Your design stops working after the hardware evaluation time expires
and the controller issues no read commands at the memory interface.
fFor more information on OpenCore Plus hardware evaluation, see
“OpenCore Plus Evaluation” on page 1–4 and AN 320: OpenCore Plus
Evaluation of Megafunctions.
Device-Level
Configuration
This section describes the following topics:
■“PLL Configuration” on page 2–12
■“Example Design” on page 2–14
■“Constraints” on page 2–16
PLL Configuration
IP Toolbench creates up to two example PLLs in your project directory,
which you can parameterize to meet your exact requirements. IP
Toolbench generates the example PLLs with an input to output clock ratio
of 1:1 and a clock frequency you entered in IP Toolbench. In addition IP
Toolbench sets the correct phase outputs on the PLLs’ clocks. You can
2–12MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Functional Description
edit the PLLs to meet your requirements with the altpll MegaWizard
TM
Plug-In. IP Toolbench overwrites your PLLs in your project directory
unless you turn off Update example design system PLL.
The external clocks are generated using standard I/O pins in double data
rate I/O (DDIO) mode (using the altddio_out megafunction). This
generation matches the way in which the write data is generated and
allows better control of the skew between the clock and the data to meet
the timing requirements of the RLDRAM II device.
The PLL has the following outputs:
■Output c0 drives the system clock that clocks most of the controller
including the control logic and datapath.
■Output c1 drives the write clock that lags the system clock.
■Output c2 optionally drives the address and command clock.
■Output c3 drives the DQS DLL clock.
The recommended configuration for implementing the RLDRAM II
controller in Stratix II series and HardCopy II devices is to use a single
enhanced PLL to produce all the required clock signals. No external clock
buffer is required as the Altera device can generate clock signals for the
RLDRAM II devices.
Figure 2–9 on page 2–14 shows the recommended PLL configuration.
Altera Corporation MegaCore Version 9.12–13
November 2009RLDRAM II Controller MegaCore Function User Guide
(1) Non-DQS mode only.
(2) You can connect the addr_cmd_clk RLDRAM II controller input to clk, write_clk or to the dedicated PLL
output C2.
Example Design
IP Toolbench creates an example design that shows you how to
instantiate and connect up the RLDRAM II controller to an example
driver. The example design is a working system that can be compiled and
used for both static timing checks and board tests. It also instantiates an
example PLL that generates all the required clocks for the controller. In
DQS mode, a DLL is instantiated that controls the DQS capture delay
phase. In non-DQS mode, the example design instantiates a fedback PLL.
The output of the fedback PLL is a phase-shifted rldramii_qk[] data
strobe, which captures the read data.
2–14MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
The example driver is a self-checking test generator for the RLDRAM II
controller. It uses a state machine to write data patterns to all memory
banks. It then reads back the data and checks that the data matches. If a ny
read data fails the comparison, the pnf_per_byte output transitions
low for one cycle and the pnf_persist permanent output transitions
low and stays low.
Figure 2–10 shows a testbench and an example design.
Figure 2–10. Testbench & Example Design
Example Driver
PLLclock_source
test_complete
pnf_persist
Example Design
Testbench
RLDRAM II Controller
RLDRAM II
Model
DLL
pnf_per_byte
Table 2–2 describes the files that are associated with the example design
and the testbench.
Table 2–2. Example Design & Testbench Files
Functional Description
FilenameDescription
<top-level name>_tb.v or .vhd (1)Testbench for the example design.
<top-level name>.vhd or .v (1)Example design.
rldramii_pll_<device name>.vhd or .v Example PLL, which you should
rldramii_fbpll_<device name>.vhd or .vFedback PLL
<variation name>_example_driver.v
or .vhd (2)
<variation name> .v or .vhd (2)RLDRAM II controller.
Notes to Ta b l e 2– 2 :
(1) <top-level name> is the name of the Quartus II project top-level entity.
(2) <variation name> is the variation name.
The testbench instantiates an RLDRAM II model and generates a
reference clock for the PLL.
1Altera does not provide a memory simulation model. You must
download one or use your own.
Altera Corporation MegaCore Version 9.12–15
November 2009RLDRAM II Controller MegaCore Function User Guide
configure to match your frequency.
Example driver.
Interfaces
fFor more details on how to run the simulation script, see “Simulate the
Example Design” on page 3–11.
Constraints
The constraints scripts set the following constraints:
■Sets IO standards:
●1.5 or 1.8-V HSTL voltage selection
●Address and command—HSTL Class I
●Data CIO mode—HSTL Class II
●Data SIO mode—HSTL Class I
■Sets output capacitance
■Places data pins as per selection in pin placement constraints floor
plan. Allows automatic placement for DQS and non-DQS modes
rldramii_ref_n_0 and rldrainii_we_n_0 as fast output
registers (see note 1 in Table 2–5)
■Sets rldramii_qk[] non-global signal in DQS capture mode
■Add Hold Relationship and Setup Relationship to all I/O ports.
Interfaces
This section describes the following RLDRAM II commands:
■Initialization
■Wri te s
■Reads
■Refreshes
Initialization
The control logic initializes the RLDRAM II devices. During initialization
the mode register is set and each bank is refreshed in turn. IP Toolbench
sets the following RLDRAM II initialization features:
■On-die termination (ODT)
■Impedance matching resistor
■DLL enable
■RLDRAM II configuration
Figure 2–11 shows the initialization sequence.
2–16MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Figure 2–11. RLDRAM II Initialization Sequence
rldramii_cl k
Command
MRS = Mode Register Set
CFG = Mode Register Configuration Data
RFx = Refresh
AC = User Command
rldramii_a[ ]
rldramii_ba[
2,048
Clock Cycles
t
MRSC
t
RC
6 x 2,048
Clock Cycles
10 Clock
Cycles
200 ms
Minimum
]
MRS MRS RF0 RF1 RF7 AC AC
0 0 CFG Ax Ax
0 1 7 Bx Bx
The mode register set (MRS) command configures the RLDRAM II
devices. In the ten-cycle MRS sequence, the first nine MRS commands are
dummy commands and all address bits are held at zero, to reset the
RLDRAM II DLL; the final MRS command configures the memory. The
RLDRAM II configuration data (CFG) is output on the
rldramii_a_0[] bus during the final MRS command. The following
memory parameters are setup during the final MRS command cycle:
Functional Description
Altera Corporation MegaCore Version 9.12–17
November 2009RLDRAM II Controller MegaCore Function User Guide
■RLDRAM II termination
■Impedance matching resistor
■DLL enable/disable
■RLDRAM II configuration
Writes
When you assert local_write_req, the control logic issues the write
transaction immediately at the memory interface. The control logic then
requests write data by asserting local_wdata_req, so that the
RLDRAM II t
functionality means that the write request is decoupled from the write
data.
Figure 2–12 shows three write requests at the local and SIO RLDRAM II
interface. In this example, the memory burst length is set to eight beats.
The RLDRAM II device is setup with a t
(configuration two).
period is satisfied during write transactions. This
WL
of six-clock cycles
RC
Interfaces
clk
Local Interface
local_write_req
local_read_req
local_addr[]
local_ba[]
local_wdata_req
local_wdata[]
local_dm[]
RLDRAM II Interface
rldramii_clk
rldramii_clk_n
rldramii_cs_n
rldramii_we_n
rldramii_ref_n
rldramii_a[]
rldramii_ba[]
ABCC
ABCC
A01 A23A45 A67 B01 B23 B45B67 C01 C23 C45C67
00
ABCB
ABCB
rldramii_d[]
rldramii_qk[]
rldramii_qvld[]
rldramii_q[]
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 77
rldramii_dm[]
1111
00
Figure 2–12. Write Example
Figure 2–12 shows the transactions at the local interface are separated by
the correct number of clock cycles for the target RLDRAM II device
configuration. If transaction requests are supplied to the RLDRAM II
controller with the incorrect spacing the controller executes these
transactions as requested, which can result in incorrect behavior.
Figure 2–13 shows an example of a write following a read at a CIO
RLDRAM II interface. In this example, the memory burst length is set to
two beats. The RLDRAM II device is setup with a t
of six-clock cycles
RC
(configuration two).
fFor more information about bus turnaround timing calculations with
2–18MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
CIO devices, refer to AN 325: Interfacing RLDRAM II with Stratix II,
Stratix & Stratix GX Devices.
Figure 2–13. Write Following a Read
clk
Local_Interface
local_write_req
local_read_req
local_addr[]
local_ba[]
local_wdata_req
local_wdata[]
local_dm[]
RLDRAM_II_Interface
rldramii_clk
rldramii_clk_n
rldramii_cs_n
rldramii_we_n
rldramii_ref_n
rldramii_a[]
rldramii_ba[]
rldramii_dm[]
rldramii_dq[]
rldramii_qk[]
rldramii_qvld[]
ABB
ABB
00
01
ABA
ABA
1111
0000
0 10 11
Functional Description
Reads
Altera Corporation MegaCore Version 9.12–19
November 2009RLDRAM II Controller MegaCore Function User Guide
When you assert local_read_req, the control logic issues the read
transaction immediately at the memory interface.
In DQS mode the read data, rldramii_dq[] (CIO devices) or
rldramii_q[] (SIO devices), and the QVLD signals,
rldramii_qvld[], are captured using the delayed rldramii_qk[]
data strobes that have been phase shifted using the dedicated DQS delay
circuitry.
In non-DQS mode the read data, rldramii_dq[] or rldramii_q[],
and the QVLD signals, rldramii_qvld[], are captured using an
external capture clock.
Interfaces
clk
Local Interface
local_read_req
local_write_req
local_addr[]
local_bank_addr[]
local_rdata_valid[]
local_rdata[]
RLDRAM II Interface
rldramii_clk
rldramii_clk_n
rldramii_cs_n
rldramii_we_n
rldramii_ref_n
rldramii_a[]
rldramii_ba[]
rldramii_dm[]
rldramii_d[]
rldramii_qk[]
rldramii_qvld[]
rldramii_q[]
ABCC
ABCC
A01 A23A45 A67 B01 B23B45 B67C01 C23 C45C67C67
ABCB
ABCB
11
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 77
Figure 2–14. Read Example
During reads, the local interface indicates that read data is valid by
asserting the local_rdata_valid[] signal. All captured read data is
clocked off the clock that captures the RLDRAM II read data. In DQS
mode, this clock is the delayed DQS signal, capture_clk[], sourced
from the dedicated DQS delay circuitry. In non-DQS mode this clock is
the external capture clock, non_dqs_capture_clk.
Figure 2–14 shows an example of a read at an SIO RLDRAM II interface.
In this example, the memory burst length is set to eight beats. The
RLDRAM II device is setup with a t
of six-clock cycles (configuration
RC
two).
Figure 2–15 shows an example of a read following a write at a CIO
RLDRAM II interface. In this example, the memory burst length is set to
eight beats. The RLDRAM II device is setup with a t
of six-clock cycles
RC
(configuration two).
fFor more information about bus turnaround timing calculations with
2–20MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
CIO devices, refer to AN 325: Interfacing RLDRAM II with Stratix II,
Stratix & Stratix GX Devices.
Figure 2–15. Read Following a Write
clk
Local Interface
local_write_req
local_read_req
local_addr[]
local_bank_addr[]
local_wdata_req
local_wdata[]
local_dm[]
local_rdata_valid[]
local_rdata[]
RLDRAM II Interface
rldramii_clk
rldramii_clk_n
rldramii_cs_n
rldramii_we_n
rldramii_ref_n
rldramii_a[]
rldramii_ba[]
rldramii_dm[]
rldramii_dq[]
rldramii_qk[]
rldramii_qvld[]
ABB
ABB
01 23 4567
00
01 23 45 6767
ABA
ABA
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 77
111100
Functional Description
Refreshes
You must issue refreshes to the RLDRAM II devices at periodic intervals.
When a refresh is required, assert local_refresh_req and the
RLDRAM II controller issues the refresh command immediately to the
requested bank address on local_bank_addr[] input. You must
correctly insert the refresh request and ensure that the t
timing
RC
parameter is not violated. You can issue single or ganged refreshes. For
ganged refreshes assert local_refresh_req for X clock cycles, where
X is the number of refreshes that you require.
Figure 2–16 shows a single refresh command:
Altera Corporation MegaCore Version 9.12–21
November 2009RLDRAM II Controller MegaCore Function User Guide
Signals
clk
Local Interface
local_write_req
local_read_req
local_refresh_req
local_addr[]
local_bank_addr[]
local_wdata_req
local_wdata[]
local_dm[]
RLDRAM II Interface
rldramii_clk
rldramii_clk_n
rldramii_cs_n
rldramii_we_n
rldramii_ref_n
rldramii_a[]
rldramii_ba[]
rldramii_dm[]
rldramii_dq[]
rldramii_qk[]
rldramii_qvld[]
AABB
AABB
01 23 456701 2323
00
ABA
ABA
0 1 2 3 4 5 6 77
111100
Figure 2–16. Single Refresh Command
Signals
Table 2–3. System Signals (Part 1 of 3)
Name
clk
Table 2–3 shows the system signals.
Width
(Bits)
1InputSystem clock for the control logic and
DirectionDescription
datapath.
write_clk
1InputShifted clock that center aligns write data
to the memory.
2–22MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Table 2–3. System Signals (Part 2 of 3)
Functional Description
Name
addr_cmd_clk
dqs_delay_ctrl[]
non_dqs_capture_clk
reset_clk_n
reset_addr_cmd_clk_n
Width
(Bits)
1InputAddress and command output register
DirectionDescription
clock. The
frequency must be the same as the system
clock,
addr_cmd_clk clock
clk, and the write clock,
write_clk, frequencies.
In addition, when there is a separate
address and command clock phase, no
timing paths related to this clock should be
cut, to ensure that any paths using a
separate clock for address and command
are timing analysed.
6InputDelay bus for DLL to shift DQS inputs. DQS
mode only.
1InputOptional clock that captures read data and
1InputReset input for logic on the system clock
1InputReset input for logic on the address and
clocks read data logic. Non-DQS mode
only.
domain. The
asserted asynchronously but must be
deasserted synchronous to the rising edge
of the system clock.
command clock domain. The
reset_clk_n can be
reset_addr_cmd_clk_n can be
asserted asynchronously but must be
deasserted synchronous to the rising edge
of the address and command clock.
Altera Corporation MegaCore Version 9.12–23
November 2009RLDRAM II Controller MegaCore Function User Guide
Signals
Table 2–3. System Signals (Part 2 of 3)
Name
addr_cmd_clk
dqs_delay_ctrl[]
non_dqs_capture_clk
reset_clk_n
reset_addr_cmd_clk_n
Width
(Bits)
1InputAddress and command output register
DirectionDescription
clock. The
frequency must be the same as the system
clock,
addr_cmd_clk clock
clk, and the write clock,
write_clk, frequencies.
In addition, when there is a separate
address and command clock phase, no
timing paths related to this clock should be
cut, to ensure that any paths using a
separate clock for address and command
are timing analysed.
6InputDelay bus for DLL to shift DQS inputs. DQS
mode only.
1InputOptional clock that captures read data and
1InputReset input for logic on the system clock
1InputReset input for logic on the address and
clocks read data logic. Non-DQS mode
only.
domain. The
asserted asynchronously but must be
deasserted synchronous to the rising edge
of the system clock.
command clock domain. The
reset_clk_n can be
reset_addr_cmd_clk_n can be
asserted asynchronously but must be
deasserted synchronous to the rising edge
of the address and command clock.
2–24MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Table 2–3. System Signals (Part 3 of 3)
Functional Description
Name
reset_read_clk_n[]
capture_clk[]
DQS mode:
the number of
RLDRAM II devices
attached to the memory
interface
Non-DQS mode:
1
The number of
RLDRAM II devices
attached to memory
interface
Width
(Bits)
Table 2–4 shows the local interface signals.
Table 2–4. Local Interface Signals (Part 1 of 2)
Name
local_addr[]
local_bank_addr[]
local_dm[]
local_read_req
local_refresh_req
Width
(Bits)
Device dependantInputRLDRAM II address. IP Toolbench refers to the
3–RLDRAM II bank address.
The number of
RLDRAM II devices
attached to the
memory interface ×
2
1InputRead request signal.
1InputUser controlled refresh request. This allows
DirectionDescription
InputReset input for logic on the capture clock
domain. In DQS mode, the capture clock
domain is
mode, it is
DQS mode, each
capture_clk[]; in non-DQS
non_dqs_capture_clk. In
reset_read_clk_n[] is associated
with the corresponding
clock domain. The
capture_clk[]
reset_read_clk_n[] can be asserted
asynchronously but must be deasserted
synchronous to the rising edge of the
capture clock.
OutputUndelayed DQS clock used by capture
circuitry to capture RLDRAM II read data.
There is one
attached RLDRAM II device. DQS mode
only.
capture_clk[] per
DirectionDescription
memory.dat file and selects the address width
appropriate to the device.
InputOptional local data mask (DM). Twice the width of
the memory
high, all writes are masked.
complete control over when refreshes are issued
to the memory. The refresh is issued to the bank
address on
rldramii_dm[] bus. When all
local_bank_addr[].
Altera Corporation MegaCore Version 9.12–25
November 2009RLDRAM II Controller MegaCore Function User Guide
Signals
Table 2–4. Local Interface Signals (Part 2 of 2)
Name
local_wdata[]
local_write_req
local_init_done
local_rdata[]
local_rdata_valid
[]
local_wdata_req
Width
(Bits)
Data-bus width × 2InputWrite data bus. The local interface must request
DirectionDescription
local_wdata[] over multiple clock cycles to
construct the write data for any requested write
bursts. If the memory burst length is set to two
beats, the write data is requested in a single
clock cycle at the local interface.
1InputWrite request signal.
1OutputMemory initialization complete signal which is
asserted when the controller has completed its
initialization of the memory. Reads and writes
should not be requested until
local_init_done is asserted.
Data-bus width × 2OutputRead data bus. The controller returns
local_rdata[] over multiple clock cycles for
any requested read transactions. If the memory
burst length is set to two beats, the read data is
returned in a single clock cycle at the local
interface.
The number of
RLDRAM II devices
attached to memory
interface
1OutputWrite data request signal. When the local
OutputRead data valid signal, which indicates that valid
data is present on the read data bus. The
local_rdata_valid[] signal is aligned with
the local read data,
only one
attached RLDRAM II device.
interface asserts
write data for the burst should be available in
contiguous clock cycles.
local_rdata_valid[] per
local_rdata[]. There is
local_wdata_req, all the
Table 2–5 shows the memory interface signals.
Table 2–5. Memory Interface Signals (Part 1 of 2)
Name
rldramii_dq[]
rldramii_qk[]
rldramii_q[]
2–26MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Width
(Bits)
Data-bus widthBidirectional Memory data bus. CIO devices only.
1 to 9Bidirectional In DQS mode, the memory data strobe signal
Data-bus widthInputMemory read data bus. SIO devices only.
DirectionDescription
that captures read data into the Altera device; in
non-DQS mode, the RLDRAM II controller does
not use
rldramii_qk[].
Table 2–5. Memory Interface Signals (Part 2 of 2)
Functional Description
Name
rldramii_qvld[]
rldramii_a_0[]
rldramii_a_1[]
(1)
rldramii_ba_0[]
rldramii_ba_1[]
(1)
rldramii_clk[],
rldramii_clk_n[]
rldramii_cs_n_0
rldramii_cs_n_1
(1)
rldramii_d[]
rldramii_dm[]
rldramii_ref_n_0
rldramii_ref_n_1
(1)
rldramii_we_n_0
rldramii_we_n_1
(1)
Width
(Bits)
The number of
RLDRAM II devices
attached to memory
interface
local_addr[]
3OutputMemory bank address signals.
1 to 3 (wtih
dedicated PLL
clocks) or 1 to 8
otherwise
1OutputMemory chip select signal.
Data-bus widthOutputMemory write data bus. SIO devices only.
The number of
RLDRAM II devices
attached to memory
interface
1OutputMemory refresh request signal.
1OutputMemory write enable signal.
DirectionDescription
InputRead data valid flag.
OutputMemory address signals.
OutputMemory command output clock.
OutputMemory DM (optional).
Note to Ta b le 2 – 5:
(1) The default signal is <signal>_0. When you specify additional address and command busses, both <signal>_0 and
<signal>_1 are present.
Altera Corporation MegaCore Version 9.12–27
November 2009RLDRAM II Controller MegaCore Function User Guide
The number of
RLDRAM II devices
attached to the
memory interface ×
2
1Input
1InputRefresh signal.
Data-bus width × 2InputThe write data bus, which has valid data in the same
1InputEnables the write data bus and DM enable registers
valid
control_we_n
control_qvld[]
control_rdata[]
1InputWrite enable signal.
The number of
RLDRAM II devices
attached to the
memory interface
Data-bus width × 2OutputThe captured read data (same as
DirectionDescription
InputAddress bits.
InputBank address bits.
InputThe DM bus, which has valid data in the same clock
cycles that
control_wdata_valid is asserted.
Control_doing_wr is asserted when the
controller is writing to the RLDRAM II devices and
controls the output enables on
rldramii_dq[] or
rldramii_d[].
clock cycles that
asserted.
so that they are only updated when valid data and
enables are available.
OutputThe read data valid flag.There is only one QVLD flag
per RLDRAM II device. The
signal is aligned with the valid
and is asserted during this period. The
control_wdata_valid is
control_qvld[]
control_rdata[]
control_qvld[] signal has the same
functionality as
local_rdata_valid[].
local_rdata[]).
Parameters
2–28MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
The parameters can only be set in IP Toolbench (see “Step 1:
Parameterize” on page 3–5).
Functional Description
Memory
Table 2–7 shows the memory type parameters.
Table 2–7. Memory Type Parameters
ParameterRangeUnitsDescription
RLDRAM II devicePart number–A par t number for a particular memory device. Choosing
Clock speed100 to 400MHzThe memory controller clock frequency.The constraints
Interface voltage1.5 or 1.8 VThe RLDRAM II interface voltage.
DQ per DQS8, 9, 16, 18BitsNumber of DQ bits per DQS input pin. CIO devices only.
Q per DQS8, 9, 16, 18BitsNumber of Q bits per DQS input pin. SIO devices only.
Data-bus widthDevice
dependent
BitsThe width of the memory interface.
an entry sets many of the parameters in the wizard to the
correct value for the specified part. You can add your own
devices to this list by editing the memory_types.dat file in
the \constraints directory.
script and the datapath use this clock speed. It must be set
to the value that you intend to use. The first time you use
IP Toolbench or if you turn on Update example design system PLL, it uses this value for the IP Toolbenchgenerated PLL’s input and output clocks.
For more information about supported interface data
widths, refer to AN 325: Interfacing RLDRAM II with Stratix II, Stratix & Stratix GX Devices.
Table 2–8 shows the memory initialization options.
Table 2–8. Memory Initialization Options
ParameterRangeDescription
Memory configuration 1, 2, or 3.Refer to your RLDRAM II data sheet.
Burst length2, 4, or 8Number of beats in the burst at the memory interface. The number of
Manually enter
initialization clock
cycles
Number of
initialization clock
cycles
Enable on-die
termination
Altera Corporation MegaCore Version 9.12–29
November 2009RLDRAM II Controller MegaCore Function User Guide
On or offThe wizard takes the number of initialization clock cycles from the
16 to 80,000
On or offRefer to your RLDRAM II data sheet.
beats at the local interface is half this value.
memory.dat file in the constraints directory. The number is
calculated from the initialization entry time and the clock speed. You
can manually enter a number for the initialization clock cycles if you
turn on Manually enter initialization clock cycles.
Parameters
Table 2–8. Memory Initialization Options
ParameterRangeDescription
Enable external
impedance matching
Enable memory
device DLL
On or offRefer to your RLDRAM II data sheet.
On or offRefer to your RLDRAM II data sheet.
Table 2–9 shows the memory interface parameters.
Table 2–9. Memory Interface Parameters
ParameterRangeUnitsDescription
Number of address
and command busses
from FPGA to
memory for multiple
devices
Generate DM pinsOn or off–Adds DM pins and logic to the design.
Use dedicated PLL
outputs
Number of clock pairs
from FPGA to
memory
1 or 2–Depends on the number of devices. If you connect only
one device there can be only one address and command
bus. (1)
On or off–Turn on to use dedicated PLL outputs to generate the
1 to 8–The number of RLDRAM II clock output pairs generated in
clocks, which is recommended for HardCopy II devices.
When turned off
outputs.
the datapath. When you turn on Use dedicated clock outputs, only values of 1 to 3 are valid.
altddio outputs generate the clock
Note to Ta b le 2 – 9:
(1) The default signal is <signal>_0. When you specify additional address and command busses, both <signal>_0 and
<signal>_1 are present.
2–30MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Timing
Table 2–10 shows the pipeline options.
Table 2–10. Pipeline Options
ParameterRangeDescription
Number of address
and command and
write data pipeline
registers
Number of read data
pipeline registers
Table 2–11. Clocking Modes
ParameterRangeDescription
Address and
command clock
0, 1, 2 or 3When you choose 1, 2, or 3 the wizard inserts 1, 2, or 3 pipeline
0, 1, 2 or 3When you choose 1, 2, or 3 the wizard inserts 1, 2, or 3 pipeline
registers between the memory controller and the command and
address output registers and the write data output registers. These
registers may help to achieve the required performance at higher
frequencies.
registers between the read capture registers and the memory
controller. These registers may help to achieve the required
performance at higher frequencies.
Table 2–11 shows the clocking modes.
System, write,
or dedicated
The clock for the address and command output registers. For
system_clk choose System; for write_clk, choose Write, and
for a separate clock, choose Dedicated.
Functional Description
If you choose Dedicated for the clock, ensure the clock phase allows
the Quartus II software to meet the setup time on the address and
command output registers.
Address and
command clock edge
Dedicated address
and command clock
PLL phase offset
Enable DQS modeOn or offTurn on for DQS mode; otherwise the controller is in non-DQS mode
Use migratable byte
groups
Fedback PLL phase
offset
Altera Corporation MegaCore Version 9.12–31
November 2009RLDRAM II Controller MegaCore Function User Guide
Falling or rising The clock edge on which the addresses and commands are output.
± 180Sets the dedicated address and command clock PLL phase for better
timing.
(Stratix II and Stratix II GX devices only). HardCopy II devices allow
DQS mode only.
On or offWhen turned on, you can migrate the design to a migration device.
When turned off the wizard allows much greater flexibility in the
placement of byte groups. You can only turn on this option when
Enable DQS mode is turned off.
± 180Sets the fedback clock PLL phase for read capture (non-DQS mode
only).
Parameters
Table 2–12 shows the pin loading parameters.
Table 2–12. Pin Loading Parameters
ParameterRange (pF)Description
Pin loading on FPGA
DQ/DQS pins
Pin loading on FPGA
address and
command pins
Pin loading on FPGA
clock pins
0 to 100Enter the pin loading to match your board and memory devices.
0 to 100Enter the pin loading to match your board and memory devices.
0 to 100Enter the pin loading to match your board and memory devices.
Project Settings
Table 2–13 shows the example design settings.
Table 2–13. Example Design Settings
ParameterDescription
Automatically apply
RLDRAM II controllerspecific constraints to the
Quartus II project
Update the example
design file that
instantiates the RLDRAM
II controller variation
When this option is turned on, the next time you compile, the Quartus II software
automatically runs the add constraints script. Turn off this option if you do not want
the script to run automatically.
When this option is turned on, IP Toolbench parses and updates the example design
file. It only updates sections that are between the following markers:
If you edit the example design file, ensure that your changes are outside of the
markers or remove the markers. Once you remove the markers, you must keep the
file updated, because IP Toolbench can no longer update the file.
Update example design
system PLL
2–32MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
When this option is turned on, IP Toolbench automatically overwrites the PLL.Turn off
this option, if you do not want the wizard to overwrite the PLL.
Functional Description
Table 2–14 shows the variation path parameters.
Table 2–14. Variation Path Parameters
ParameterDescription
Enable hierarchy control The constraints script analyzes your design, to automatically extract the hierarchy to
your variation. To prevent the constraints script analyzing your design, turn on
Enable Hierarchy Control, and enter the correct hierarchy path to your datapath.
Hierarchy path to
RLDRAM II controller
datapath
The hierarchy path is the path to your RLDRAM II controller datapath, minus the toplevel name. The hierarchy entered in the wizard must match your design, because
the constraints scripts rely on this path for correct operation.
Table 2–15 shows the device pin prefixes parameter.
Table 2–15. Device Pin Prefixes
ParameterDescription
Prefix all RLDRAM II pins
on the device with
This string prefixes the pin names for the FPGA pins that are connected to the
RLDRAM II controller.
MegaCore
Verification
MegaCore verification involves simulation testing and hardware testing.
Simulation Environment
Altera has carried out extensive functional tests using industry-standard
models to ensure the functionality of the RLDRAM II controller. In
addition, Altera has carried out a wide variety of gate-level tests on the
RLDRAM II controller to verify the post-compilation functionality of the
controller.
Hardware Testing
Table 2–16 shows the Altera development board on which Altera
hardware tested the RLDRAM II controller.
Table 2–16. Altera Development Boards
Development BoardAltera DeviceMemory Device
Stratix II Memory Demonstration Board 1 EP2S60F1020C3Micron 18-bit CIO and SIO RLDRAM II
Altera Corporation MegaCore Version 9.12–33
November 2009RLDRAM II Controller MegaCore Function User Guide
devices
MegaCore Verification
2–34MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
3. Getting Started
Design Flow
To evaluate the RLDRAM II Controller MegaCore function using the
OpenCore Plus feature, include these steps in your design flow:
1.Obtain and install the RLDRAM II Controller MegaCore Function.
The RLDRAM II Controller is part of the MegaCore IP Library, which is
distributed with the Quartus II software and downloadable from the
Altera website, www.altera.com.
fFor system requirements and installation instructions, refer to Altera
Software Installation and Licensing.
Figure 3–1 shows the directory structure after you install the RLDRAM II
Controller, where <path> is the installation directory. The default
installation directory on Windows is c:\altera\<version>; on Linux it is
/opt/altera<version>.
Figure 3–1. RLDRAM II Controller Directory Structure
<path>
Installation directory.
ip
Contains the Altera MegaCore IP Library and third-party IP cores.
altera
Contains the Altera MegaCore IP Library.
common
Contains shared components.
rldram_ii_controller
Contains the RLDRAM II Controller MegaCore function files and documentation.
constraints
Contains scripts that generate an instance-specific Tcl script for each instance of
the RLDRAM II Controller in various Altera devices.
dat
Contains a data file for each Altera device combination that is used by the
Tcl script to generate the instance-specific Tcl script.
doc
Contains the documentation for the RLDRAM II Controller MegaCore function.
lib
Contains encrypted lower-level design files and other support files.
2.Create a custom variation of the RLDRAM II Controller MegaCore
function using IP Toolbench.
Altera Corporation MegaCore Version 9.13–1
November 2009
RLDRAM II Controller Walkthrough
3.Implement the rest of your design using the design entry method of
4.Use the IP Toolbench-generated IP functional simulation model to
fFor more information on IP functional simulation models, refer to the
Simulating Altera IP in Third-Party Simulation Tools chapter in volume 3 of
the Quartus II Handbook.
5.Edit the PLL.
6.Use the Quartus II software to add constraints to the example
7.Perform gate-level timing simulation, or if you have a suitable
1IP Toolbench is a toolbar from which you quickly and easily
view documentation, specify parameters, and generate all
of the files necessary for integrating the parameterized
MegaCore function into your design.
your choice.
verify the operation of your design.
design and compile the example design.
development board, you can generate an OpenCore Plus
time-limited programming file, which you can use to verify the
operation of the example design in hardware.
8.Either obtain a license for the RLDRAM II controller MegaCore
function or replace the encrypted RLDRAM II controller control
logic with your own logic and use the clear-text datapath.
1If you obtain a license for the RLDRAM II controller, you
must set up licensing.
9.Generate a programming file for the Altera device(s) on your board.
10. Program the Altera device(s) with the completed design.
RLDRAM II
Controller
Walkthrough
3–2MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
This walkthrough explains how to create a RLDRAM II controllerusing
the Altera RLDRAM II controller IP Toolbench and the Quartus II
software on a PC. When you are finished generating a custom variation
of the RLDRAM II controller MegaCore function, you can incorporate it
into your overall project.
This walkthrough requires the following steps:
■“Create a New Quartus II Project” on page 3–3
■“Launch IP Toolbench” on page 3–4
Getting Started
■“Step 1: Parameterize” on page 3–5
■“Step 2: Constraints” on page 3–7
■“Step 3: Set Up Simulation” on page 3–8
■“Step 4: Generate” on page 3–8
Create a New Quartus II Project
You need to create a new Quartus II project with the New Project Wizard,
which specifies the working directory for the project, assigns the project
name, and designates the name of the top-level design entity. To create a
new project follow these steps:
1.Choose Programs >Altera > Quartus II <version> (Windows Start
menu) to run the Quartus II software. Alternatively, you can use the
Quartus II Web Edition software.
2.Choose New Project Wizard (File menu).
3.Click Next in the New Project Wizard Introduction page (the
introduction page does not display if you turned it off previously).
4.In the New Project Wizard: Directory, Name, Top-Level Entity
page, enter the following information:
a.Specify the working directory for your project. For example,
this walkthrough uses the c:\altera\projects\rldram_project
directory.
b.Specify the name of the project. This walkthrough uses project
for the project name.
1The Quartus II software automatically specifies a top-level
design entity that has the same name as the project. Do not
change it.
5.Click Next to close this page and display the New Project Wizard: Add Files page.
1When you specify a directory that does not already exist, a
message asks if the specified directory should be created.
Click Yes to create the directory.
6.If you installed the MegaCore IP Library in a different directory
from where you installed the Quartus II software, you must add the
user libraries:
a.Click User Libraries.
Altera Corporation MegaCore Version 9.13–3
November 2009RLDRAM II Controller MegaCore Function User Guide
RLDRAM II Controller Walkthrough
7.Click Next to close this page and display the New Project Wizard:
8.On the New Project Wizard: Family & Device Settings page,
9.The remaining pages in the New Project Wizard are optional. Click
You have finished creating your new Quartus II project.
Launch IP Toolbench
To launch IP Toolbench in the Quartus II software, follow these steps:
1.Start the MegaWizard
b.Type <path>\ip into the Library name box, where <path> is the
directory in which you installed the RLDRAM II controller.
c.Click Add to add the path to the Quartus II project.
d.Click OK to save the library path in the project.
Family & Device Settings page.
choose the target device family in the Family list.
Finish to complete the Quartus II project.
®
Plug-In Manager by choosing MegaWizard Plug-In Manager (Tools menu). The MegaWizard Plug-In Manager
dialog box displays.
1Refer to Quartus II Help for more information on how to
use the MegaWizard Plug-In Manager.
2.Specify that you want to create a new custom megafunction
variation and click Next.
3.Expand the Interfaces > Memory Controllers directory, then click
RLDRAM II Controller v9.1.
4.Select the output file type for your design; the wizard supports
VHDL and Verilog HDL.
5.The MegaWizard Plug-In Manager shows the project path that you
specified in the New Project Wizard. Append a variation name for
the MegaCore function output files <project path>\<variation name>.
1The <variation name> must be a different name from the
project name and the top-level design entity name.
6.Click Next to launch IP Toolbench.
3–4MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Getting Started
Step 1: Parameterize
To parameterize your MegaCore function, follow these steps:
fFor more information on parameters, refer to “Parameters” on
page 2–28.
1.Click Step 1: Parameterize in IP Toolbench .
2.Choose the memory type.
a.Choose the memory device.
1You can add your own memory devices to this list by
editing the memory_types.dat file in the \constraints
directory.
b.Enter the clock speed.
c.Choose the interface voltage.
d.Choose the data bus width.
e.Choose the DQ per DQS (CIO devices), or the Q per DQS (SIO
devices).
3.Choose the memory initialization options.
4.Choose your memory interface parameters.
5.Click the Timing tab.
fFor more information on timing parameters, refer to “Timing” on
page 2–31.
6.Enter the datapath pipeline options.
7.Choose the clocking modes.
8.Turn on the appropriate capture mode—DQS or non-DQS capture
mode. If you turn off Enable DQS mode (non-DQS capture mode),
you can turn on Use migratable bytegroups.
9.Click the Project Settings tab.
fFor more information on project settings, refer to “Project Settings” on
page 2–32.
Altera Corporation MegaCore Version 9.13–5
November 2009RLDRAM II Controller MegaCore Function User Guide
RLDRAM II Controller Walkthrough
10. Altera recommends that you turn on Automatically apply
1You must turn on this option, the first time you run IP
11. En sure Update the example design file that instantiates the
1You must turn on this option, the first time you run IP
12. Turn off Update example design system PLL, if you have edited the
1You must turn on this option, the first time you run IP
13. The constraints script automatically detects the hierarchy of your
RLDRAM II controller-specific constraints to the Quartus II
project so that the Quartus II software automatically applies the
constraints script when you compile the example design.
Toolbench.
RLDRAM II controller variation is turned on, for IP Toolbench to
automatically update the example design file.
Toolbench.
PLL and you do not want the wizard to regenerate the PLL when
you regenerate the variation.
Toolbench.
design. The constraints script analyzes and elaborates your design
to automatically extract the hierarchy to your variation. To prevent
the constraints script analyzing and elaborating your design, turn
on Enable Hierarchy Control, and enter the correct hierarchy path
to your datapath. Figure 3–2 shows the following example
hierarchy:
3–6MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Figure 3–2. System Naming
RLDRAM II
Datapath
Other Logic
PLL
RLDRAM II
Interface
example_top
Example Top-Level Design
my_rldram
RLDRAM II Controller
my_system
System
my_sub_system
Subystem
Getting Started
14. IP Toolbench uses a prefix (for example, rldramii_) for the names of
all memory interface pins. Enter a prefix for all memory interface
pins associated with this custom variation.
15. Enter the pin loading for the FPGA pins.
1You must enter suitable values for the pin loading, because
the values affect timing.
16. Click Finish.
Step 2: Constraints
To choose the constraints for your device, follow these steps:
1.Click Step 2: Constraints in IP Toolbench.
2.Choose the positions on the device for each of the RLDRAM II byte
Altera Corporation MegaCore Version 9.13–7
November 2009RLDRAM II Controller MegaCore Function User Guide
groups. To place a byte group, select the byte group in the dropdown box at your chosen position.
1The floorplan matches the orientation of the Quartus II
floorplanner. The layout represents the die as viewed from
above. A byte group consists of data (DQ) pins for CIO
devices; or data (Q) pins for SIO devices, and a data strobe
signal (DQS) pin. The number of data pins per byte group
matches your choice of DQ (or Q) per DQS.
RLDRAM II Controller Walkthrough
Step 3: Set Up Simulation
An IP functional simulation model is a cycle-accurate VHDL or Verilog
HDL model produced by the Quartus II software. The model allows for
fast functional simulation of IP using industry-standard VHDL and
Verilog HDL simulators.
cYou may only use these simulation model output files for
To generate an IP functional simulation model for your MegaCore
function, follow these steps:
1.Click Step 3: Set Up Simulation in IP Toolbench.
2.Turn on Generate Simulation Model.
3.Choose the language in the Language list.
4.Some third-party synthesis tools can use a netlist that contains only
simulation purposes and expressly not for synthesis or any
other purposes. Using these models for synthesis will create a
nonfunctional design.
the structure of the MegaCore function, but not detailed logic, to
optimize performance of the design that contains the MegaCore
function. If your synthesis tool supports this feature, turn on
Generate netlist.
5.Click OK.
Step 4: Generate
To generate your MegaCore function, click Step 4: Generate in IP
Toolbench.
3–8MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Getting Started
Table 3–1 describes the generated files and other files that may be in your
project directory. The names and types of files specified in the IP
Toolbench report vary based on whether you created your design with
VHDL or Verilog HDL
<variation name>.vhd, or .vA MegaCore function variation file, which defines a
VHDL or Verilog HDL description of the custom
MegaCore function. Instantiate the entity defined by this
file inside of your design. Include this file when compiling
your design in the Quartus II software.
<variation name>.cmpA VHDL component declaration file for the MegaCore
function variation. Add the contents of this file to any
VHDL architecture that instantiates the MegaCore
function.
<variation name>.bsfQuartus II symbol file for the MegaCore function
<variation name>.sdcA Synopsys Design Constraints (SDC) file. Use this SDC
altera_vhdl_support.vhdA VHDL package that contains functions for the
<variation name>_example_driver.vhd or .vExample driver.
<variation name>_auk_rldramii_datapath.vhd or .v Datapath.
variation. You can use this file in the Quartus II block
diagram editor.
file with the DDR timing wizard (DTW)-generated SDC
file when using TimeQuest. You must copy the contents
of this file into the DTW-generated SDC file, so the
example design has the correct timing constraints when
using TimeQuest.
generated entities. This file may be shared between
MegaCore functions.
Address and command output registers.
A file that instantiates the controller.
VHDL or Verilog HDL IP functional simulation model.
Altera Corporation MegaCore Version 9.13–9
November 2009RLDRAM II Controller MegaCore Function User Guide
<variation name>_auk_rldramii_dm_group.vhd or .vData mask (DM) group.
<variation name>_auk_rldramii_dqs_group.vhd or .vDQS group.
<variation
name>_auk_rldramii_pipeline_addr_cmd.vhd or
.v
<variation name>_auk_rldramii_pipeline_qvld.vhd
or .v
<variation name>_auk_rldramii_pipeline_rdata.vhd or .v
<variation name>_auk_rldramii_pipeline_wdata.vhd or .v
<variation name>_auk_rldramii_qvld_group.vhd
or .v
<variation name>.htmlMegaCore function report file.
<variation name>.qipContains Quartus II project information for your
Notes to Ta b l e 3 – 1 :
(1) <top-level name> is the name of the Quartus II project top-level entity.
(2) <variation name> is the name you assign.
(3) <device name> is the device family name.
Address and command pipeline registers.
Valid data flag (QVLD) pipeline registers.
Read data pipeline registers.
Write data pipeline registers.
QVLD group.
MegaCore function variations.
1.After you review the generation report, click Exit to close IP
To ol be n ch .
1The Quartus II IP File (.qip) is a file generated by the
MegaWizard interface, and contains information about the
generated IP core. You are prompted to add this .qip file to the
current Quartus II project at the time of file generation. In most
cases, the .qip file contains all of the necessary assignments and
information required to process the core or system in the
Quartus II compiler. Generally, a single .qip file is generated for
each MegaCore function or system in the Quartus II compiler.
Now, simulate the example design (refer to “Simulate the Example
Design” on page 3–11), edit the PLL(s), and compile (refer to “Compile
the Example Design” on page 3–14).
3–10MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Getting Started
Simulate the
Example Design
fFor more information on the testbench, refer to “Example Design” on
This section describes the following simulation techniques:
■Simulate with IP Functional Simulation Models
■Simulating in Third-Party Simulation Tools Using NativeLink
Simulate with IP Functional Simulation Models
You can simulate the example design using the IP Toolbench-generated IP
functional simulation models. IP Toolbench generates a VHDL or Verilog
HDL testbench for your example design, which is in the testbench
directory in your project directory.
page 2–14.
You can use the IP functional simulation model with any
Altera-supported VHDL or Verilog HDL simulator. To simulate the
example design with the ModelSim
1.Obtain a memory model that matches your chosen parameters and
save it to the <directory name>\testbench directory. For example,
you can download a RLDRAM II model from the Micron web site at
www.micron.com.
1Before running the simulation you may also need to edit the
testbench to match the chosen RLDRAM II model.
®
simulator, follow these steps:
2.Start the ModelSim-Altera simulator.
3.Change your working directory to your IP Toolbench-generated file
directory <directory name>\testbench\modelsim.
4.To simulate with an IP functional simulation model simulation, type
the following command:
source <variation name>_vsim.tcl
r
1Before running the simulation, you may have to edit the
set memory model parameter in the <variation
name>_vsim.tcl file to match the selected RLDRAM II
model.
5.For a gate-level timing simulation (VHDL or Verilog HDL
ModelSim output from the Quartus II software), type the following
commands:
set use_gate_model 1
Altera Corporation MegaCore Version 9.13–11
November 2009RLDRAM II Controller MegaCore Function User Guide
r
Simulate the Example Design
fFor more information on NativeLink, refer to the Simulating Altera IP in
source <variation name>_vsim.tclr
Simulating in Third-Party Simulation Tools Using NativeLink
You can perform a simulation in a third-party simulation tool from within
the Quartus II software, using NativeLink.
Third-Party Simulation Tools chapter in volume 3 of the Quartus II
Handbook.
To set up simulation in the Quartus II software using NativeLink, follow
these steps:
1.Create a custom variation with an IP functional simulation model.
2.Obtain and copy an RLDRAM II model to a suitable location, for
example, the testbench directory.
1Before running the simulation you may also need to edit the
testbench to match the chosen RLDRAM II model.
3.Check that the absolute path to your third-party simulator
executable is set. On the Tools menu click Options and select EDA Tools Options.
4.On the Processing menu, point to Start and click Start Analysis & Elaboration.
5.On the Assignments menu click Settings, expand EDA Tool Settings and select Simulation. Select a simulator under Too l N ame
and in NativeLink Settings, select Compile Test Bench and click Test Benches.
6.Click New.
7.Enter a name for the Test bench name.
8.Enter the name of the automatically generated testbench, <project name>_tb, in Test bench entity.
9.Enter the name of the top-level instance in Instance.
10. Change Run for to 80 s.
3–12MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Getting Started
11. Add the testbench files. In the File name field browse to the location
of the RLDRAM II model and the testbench, <project name>_tb, click
OK and click Add.
12. Click OK.
13. Click OK.
14. On the Tools menu point to EDA Simulation Tool and click Run EDA RTL Simulation.
Edit the PLL
The IP Toolbench-generated example design includes a PLL, which has
an input to output clock ratio of 1:1 and a clock frequency that you
entered in IP Toolbench. In addition, IP Toolbench correctly sets all the
phase offsets of all the relevant clock outputs for your design. You can
edit the PLL input clock to make it conform to your system requirements.
If you re-run IP Toolbench and wish to save your PLL edits, turn off
Update example design system PLL.
1If you turn off Enable DQS mode, IP Toolbench generates a
second PLL—the fedback PLL. You need not edit the fedback
PLL.
fFor more information on the PLL, refer to “PLL Configuration” on
page 2–12.
To edit the example PLL, follow these steps:
1.Choose MegaWizard Plug-In Manager (Tools menu).
2.Select Edit an existing custom megafunction variation and click
Next.
3.In your Quartus II project directory, for VHDL choose
rldramii_pll_<device name>.vhd; for Verilog HDL choose
rldramii_pll_<device name>.v.
4.Click Next.
5.Edit the PLL parameters in the altpll MegaWizard Plug-In.
fFor more information on the altpll megafunction, refer to the
Quartus II Help or click Documentation in the ALTPLL MegaWizard
Plug-In.
Altera Corporation MegaCore Version 9.13–13
November 2009RLDRAM II Controller MegaCore Function User Guide
Compile the Example Design
Compile the
Example Design
Before the Quartus II software compiles the example design it runs the IP
Toolbench-generated Tcl constraints script,
auto_add_rldramii_constraints.tcl, which calls the
add_constraints_for_<variation name>.tcl script for each variation in your
design. The add_constraints_for_<variation name>.tcl script checks for
any previously added constraints, removes them, and then adds
constraints for that variation.
The constraints script analyzes and elaborates your design, to
automatically extract the hierarchy to your variation. To prevent the
constraints script analyzing and elaborating your design, turn on Enable Hierarchy Control in the wizard, and enter the correct hierarchy path to
your datapath (refer to step 13 on page 3–6).
When the constraints script runs, it creates another script,
remove_constraints_for_<variation name>.tcl, which you can use to
remove the constraints from your design.
To compile the example instance, follow these steps:
1.Choose Start Compilation (Processing menu), which runs the add
constraints scripts, compiles the example design, and performs
timing analysis.
2.View the Timing Analyzer to verify your design meets timing.
If the compilation does not reach the frequency requirements, follow
these steps:
1.Choose Settings (Assignments menu).
2.Expand Analysis and Synthesis Settings in the category list.
3.Select Speed in Optimization Technique.
4.Expand Fitter Settings.
5.Turn on Optimize Hold Timing and select All Paths.
6.Turn on Fast-corner timing.
7.Click OK.
8.Re-compile the example design by choosing Start Compilation
(Processing menu).
3–14MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Getting Started
1To achieve a higher frequency, increase the number of
address and command and write data pipeline registers, or
increase the number read data pipeline registers, refer to
step 6 on page 3–5.
To view the constraints in the Quartus II Assignment Editor, choose
Assignment Editor (Assignments menu).
1If you have “?” characters in the Quartus II Assignment Editor,
the Quartus II software cannot find the entity to which it is
applying the constraints, probably because of a hierarchy
mismatch. Either edit the constraints script, or enter the correct
hierarchy path in the Project Settings tab (refer to step 13 on
page 3–6).
fFor more information on constraints, refer to “Constraints” on
page 2–16.
Program a
Device
fFor more information on OpenCore Plus hardware evaluation using the
Implement Your
Design
Set Up Licensing
After you have compiled the example design, you can perform gate-level
simulation (refer to “Simulate the Example Design” on page 3–11) or
program your targeted Altera device to verify the example design in
hardware.
With Altera's free OpenCore Plus evaluation feature, you can evaluate the
RLDRAM II Controller MegaCore function before you obtain a license.
OpenCore Plus evaluation allows you to generate an IP functional
simulation model, and produce a time-limited programming file.
RLDRAM II Controller MegaCore function, refer to “OpenCore Plus
Evaluation” on page 1–4, “OpenCore Plus Time-Out Behavior” on
page 2–12, and AN 320: OpenCore Plus Evaluation of Megafunctions.
In the MegaWizard flow, to implement your design based on the example
design, replace the example driver in the example design with your own
logic.
1A FIFO buffer is not implemented in the core; you must
implement a FIFO buffer.
You need to obtain a license for the MegaCore function only when you are
completely satisfied with its functionality and performance, and want to
take your design to production.
Altera Corporation MegaCore Version 9.13–15
November 2009RLDRAM II Controller MegaCore Function User Guide
Set Up Licensing
After you obtain a license for RLDRAM II controller, you can request a
license file from the Altera web site at www.altera.com/licensing and
install it on your computer. When you request a license file, Altera emails
you a license.dat file. If you do not have Internet access, contact your
local Altera representative.
3–16MegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User GuideNovember 2009
Additional Information
Revision History
The table below displays the revision history for the chapters in this user
guide.
DateVersionChanges Made
November 20099.1Updated the release information.
March 20099.0Updated the release information.
November 20088.1Updated the release information.
May 20088.0
May 20077.1No changes.
March 20077.0No changes.
December 20066.1
April 20061.1.0Updated format.
October 20051.0.0First published.
How to Contact
● Added timing assignment information for capture to first level resyncronization
registers
● Registers clocked by DQS in the core now use undelayed DQS
● Added timing assignment information for 18 and 36-bit RLDRAM II devices
● Updated device initialization sequence
For the most up-to-date information about Altera products, refer to the
following table.
Altera
Information TypeContact Note (1)
Technical supportwww.altera.com/mysupport/
Technical trainingwww.altera.com/training/
Technical training servicescustrain@altera.com
Product literaturewww.altera.com/literature
FTP siteftp.altera.com
Note to table:
(1) You can also contact your local Altera sales office or sales representative.
Altera Corporation MegaCore Version 9.1i
RLDRAM II Controller MegaCore Function User Guide
Typographic Conventions
Typographic
This document uses the typographic conventions shown below.
Conventions
Visual CueMeaning
Bold Type with Initial
Capital Letters
bold type Indicates directory names, project names, disk drive names, file names, file name
Italic Type with Initial Capital
Letters
Italic type Indicates variables. For example, n + 1.
Initial Capital LettersIndicates keyboard keys and menu names. For example, Delete key, and the
“Subheading Title”Quotation marks indicate references to sections within a document and titles of
Courier type
Indicates command names, dialog box titles, dialog box options, and other GUI
labels. For example, Save As dialog box.
extensions, and software utility names. For example, \qdesigns directory,
d: drive, and chiptrip.gdf file.
Indicates document titles. For example, AN 519: Stratix IV Design Guidelines.
Variable names are enclosed in angle brackets (< >). For example, <file name>
and <project name>.pof file.
Options menu.
Quartus II Help topics. For example, “Typographic Conventions.”
Indicates signal, port, register, bit, block, and primitive names. For example,
data1, tdi, and input. Active-low signals are denoted by suffix n. For
example,
Indicates command line commands and anything that must be typed exactly as
it appears. For example,
resetn.
c:\qdesigns\tutorial\chiptrip.gdf.
Also, indicates sections of an actual file, such as a Report File, references to
parts of files (for example, the AHDL keyword
names (for example,
1., 2., 3., and
a., b., c., etc.
● •Bullets indicate a list of items when the sequence of the items is not important.
■
1 The hand points to information that requires special attention.
c
w
r The angled arrow instructs you to press Enter.
f The feet direct you to more information about a particular topic.
iiMegaCore Version 9.1Altera Corporation
RLDRAM II Controller MegaCore Function User Guide
Numbered steps indicate a list of items when the sequence of the items is
important, such as the steps listed in a procedure.
A caution calls attention to a condition or possible situation that can damage or
destroy the product or your work.
A warning calls attention to a condition or possible situation that can cause you
injury.
TRI).
SUBDESIGN), and logic function
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.