Altera Dynamic Calibrated On-Chip Termination User Manual

Dynamic Calibrated On-Chip Termination (ALTOCT)
Megafunction
User Guide
101 Innovation Drive San Jose, CA 95134
www.altera.com
UG-01003-3.0
© 2012 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
February 2012 Altera Corporation Dynamic Calibrated On-Chip Termination (ALTOCT) Megafunction
User Guide

Contents

Chapter 1. About this Megafunction
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1
Device Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1
Chapter 2. Parameter Settings
MegaWizard Parameter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1
Command Line Interface Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–3
Chapter 3. Functional Description
OCT Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–1
Power-Up Mode Calibration and On-Demand Calibration in Quartus II Software . . . . . . . . . . . . . 3–2
Design Example: Series Calibration for Four Calibration Blocks Using Stratix III Device . . . . . . . . . . 3–3
Generate the Dynamic On-Chip Termination Calibration Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–3
Verify Termination or Calibration Assignments of the Design Example . . . . . . . . . . . . . . . . . . . . . . . . . 3–5
Functional Simulation in the ModelSim-Altera Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6
ALTOCT Megafunction Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
Input Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
Output Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9
Additional Information
Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Info–1
How to Contact Altera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Info–2
Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Info–3
February 2012 Altera Corporation Dynamic 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 Corporation Dynamic 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
1 Which action do you want to perform?
Select a megafunction from the list below Select 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 Setting Description
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 Corporation Dynamic Calibrated On-Chip Termination (ALTOCT) Megafunction
User Guide
2–2 Chapter 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 Setting Description
Page
Currently selected device family Specifies 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
4 Generate 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:
AHDL Include file (<function name>.inc)
VHDL component declaration file
(<function name>.cmp)
5 Summary Page
Quartus II symbol file (<function name>.bsf)
Instantiation template file (<function name>_inst.v)
Verilog HDL black box file (<function name>_bb.v)
For more information about the wizard-generated files, refer to the Quartus II Help or to the Recommended HDL
Coding Styles chapter in volume 1 of the Quartus II
Handbook.
Dynamic Calibrated On-Chip Termination (ALTOCT) Megafunction February 2012 Altera Corporation User Guide
Loading...
+ 13 hidden pages