February 2012 Altera CorporationDynamic Calibrated On-Chip Termination (ALTOCT) Megafunction
User Guide
Features
1. About this Megafunction
The Dynamic Calibrated On-Chip Termination (ALTOCT) megafunction is used in
double-data rate (DDR) external memory interfaces. This megafunction is closely
associated with the External DDR Memory PHY Interface (ALTMEMPHY)
megafunction. On-chip termination (OCT) improves signal quality over external
termination through reduced parasitic, board space, and external component costs.
The ALTOCT megafunction provides the following features:
■ Support for up to 10 OCT blocks
■ Support for calibrated on-chip series termination (RS) and calibrated on-chip
parallel termination (RT) on all I/O pins
■ Calibrated termination values of 25 and 50 ohm
Device Support
TheALTOCT megafunction supports the following Altera® devices:
■ Arria
■ Arria II GZ
■ Arria V
■ Cyclone
■ HardCopy
■ HardCopy IV
■ Stratix
■ Stratix IV
■ Stratix V
®
II GX
®
®
III
V
®
III
February 2012 Altera CorporationDynamic Calibrated On-Chip Termination (ALTOCT) Megafunction
User Guide
2. Parameter Settings
This section describes the parameter settings for the ALTOCT megafunction.You can
parameterize the megafunction using the MegaWizard
command-line interface (CLI). Altera recommends that you configure the
megafunctions using the MegaWizard Plug-In Manager.
™
Plug-In Manager or the
f This user guide assumes that you are familiar with megafunctions and how to create
them. If you are unfamiliar with Altera
®
megafunctions, refer to the Introduction to
Megafunctions User Guide.
MegaWizard Parameter Settings
Tab le 2– 1 provides descriptions of the options available on the individual pages of the
ALTOCT MegaWizard Plug-In Manager.
Table 2–1. ALTOCT MegaWizard Plug-In Manager Page Options and Description (Part 1 of 2)
MegaWizard
Plug-in
Manager
Page
1Which action do you want to perform?
Select a megafunction from the list belowSelect ALTOCT from the I/O category.
Which device family will you be using?Specify the device family that you want to use.
2a
Which type of output file do you want to create?
What name do you want for the output file?Specify the name of the output file.
Return to this page for another create operation
Configuration SettingDescription
You can select from the following options: Create a new
custom megafunction variation, Edit an existing custom
megafunction variation, or Copy an existing custom
megafunction variation.
You can choose AHDL(.tdf), VHDL(.vhd), or Verilog HDL
(.v) as the output file type.
Turn on this option if you want to return to this page to
create multiple megafunctions.
February 2012 Altera CorporationDynamic Calibrated On-Chip Termination (ALTOCT) Megafunction
User Guide
2–2Chapter 2: Parameter Settings
MegaWizard Parameter Settings
Table 2–1. ALTOCT MegaWizard Plug-In Manager Page Options and Description (Part 2 of 2)
MegaWizard
Plug-in
Manager
Configuration SettingDescription
Page
Currently selected device familySpecifies the device family you chose on page 2a.
Turn on this option to ensure that the device selected
Match project/default
matches the device family that is chosen in the previous
page.
Calibrate OCT on power-up
Turn on this option if you want to calibrate OCT on
power-up.
How many OCT blocks should be used?Specify the number of OCT blocks for your design.
Turn on this option if you want to enable parallel
3
Enable parallel termination
Create ‘calibration_wait’ input port to prevent
calibration
Create ‘clken’ input port
termination instead of series termination. Observe the
changes in resource usage when this option is enabled.
calibration_wait
The
input port can be used to halt
calibration operation. This option is for advanced users
only. Typical users should not enable this option.
clken
The
input port is used as the clock enable signal.
This option is for advanced users only. Typical users
should not enable this option.
Enable independent calibration/shift
Turn on this option to enable independent
calibration/shift.
Turn on this option if you want to generate a netlist for
your third-party EDA synthesis tool to estimate the timing
and resource usage of the megafunction. If you turn on
4Generate netlist
this option, a netlist file (_syn.v) is generated. This file is
a representation of the customized logic used in the
®
Quartus
II software and provides the connectivity of the
architectural elements in the megafunction but may not
represent true functionality.
Specify the types of files to be generated. The Variation
file (<function name>.v) contains wrapper code in the
language you specified on page 2a and is automatically
generated. Choose from the following types of files: