Altera ALTDQ_DQS2 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Urządzenia pomiarowe Altera ALTDQ_DQS2. Altera ALTDQ_DQS2 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 100
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
ALTDQ_DQS2 IP Core User Guide
2014.12.17
UG-01089
Subscribe
Send Feedback
The Altera ALTDQ_DQS2 megafunction IP core controls the double data rate (DDR) I/O elements
(IOEs) for the data (DQ) and data strobe (DQS) signals in Arria
®
V, Cyclone
®
V, and Stratix
®
V devices.
A DQ group is composed of one DQS, one optional complementary DQS, and up to 36 configurable DQ
I/Os.
Related Information
Introduction to Altera IP Cores
ALTDQ_DQS2 Features
The ALTDQ_DQS2 IP core has the following features:
Access to dynamic on-chip termination (OCT) controls to switch between parallel termination during
reads and series termination during writes.
High-performance support for DDR interface standards.
4- to 36-bit programmable DQ group widths.
Half-rate registers to enable successful data transfers between the I/O registers and the core logic.
Access to I/O delay chains to fine-tune delays on the data or strobe signals.
Access to hard read FIFO.
Access to latency shifter FIFO and data valid FIFO for efficient control of DQS gating and read
operations (Arria V and Cyclone V devices only).
ALTDQ_DQS2 Device Support
The ALTDQ_DQS2 IP core supports the following devices:
Arria V devices
Cyclone V devices
Stratix V devices
©
2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, 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
www.altera.com
101 Innovation Drive, San Jose, CA 95134
Przeglądanie stron 0
1 2 3 4 5 6 ... 99 100

Podsumowanie treści

Strona 1 - ALTDQ_DQS2 IP Core User Guide

ALTDQ_DQS2 IP Core User Guide2014.12.17UG-01089SubscribeSend FeedbackThe Altera ALTDQ_DQS2 megafunction IP core controls the double data rate (DDR) I/

Strona 2 - Related Information

Figure 7: Upgrading IP CoresDisplays upgrade status for all IP coresin the ProjectUpgrades all IP core that support “Auto Upgrade”Upgrades individual

Strona 3

Date Version ChangesDecember 2012 2.0 • Updated “ALTDQ_DQS2 Ports” on page 3–10:• Major update to Figure 3–8 on page 3–10 toclearly define the device

Strona 4 - Adding IP Cores to IP Catalog

Related InformationAltera IP Release NotesALTDQ_DQS2 Parameter SettingsYou can instantiate and parameterize using the IP Catalog and parameter editor

Strona 5 - Changes search path order

Parameter Editor GUI SettingCLI ParameterDescriptionNameLegal ValuesNameLegalValues(1)Memory frequency 1–1068INPUT_FREQ 120–1068This setting specifies

Strona 6

Parameter Editor GUI SettingCLI ParameterDescriptionNameLegal ValuesNameLegalValues(1)Use dynamicconfiguration scanchains—USE_DYNAMIC_CONFIGtruefalseT

Strona 7 - Figure 5: IP Parameter Editor

Parameter Editor GUI SettingCLI ParameterDescriptionNameLegal ValuesNameLegalValues(1)Capture StrobeCapture strobetypeSingleDifferentialComplemen‐tary

Strona 8 - Upgrading IP Cores

Parameter Editor GUI SettingCLI ParameterDescriptionNameLegal ValuesNameLegalValues(1)Treat the capturestrobe enable as ahalf-rate signal—USE_HALF_RAT

Strona 9

Parameter Editor GUI SettingCLI ParameterDescriptionNameLegal ValuesNameLegalValues(1)Use reset signal tostop output strobe—USE_OUTPUT_STROBE_RESETtru

Strona 10

Parameter Editor GUI SettingCLI ParameterDescriptionNameLegal ValuesNameLegalValues(1)Preamble type highlownonePREAMBLE_TYPEhighlownoneThis setting se

Strona 11 - ALTDQ_DQS2 Parameter Settings

Figure 8: DQ and DQS Input Paths for Stratix V Devicescapture_strobe_enaPREDQINLOstrobe_ena_clock_inDQS Enable ControlDQS Delay ChainHIDQSINDQSBUSOUTI

Strona 12 - Altera recommends using

Figure 9: Data Input Path for Arria V, Cyclone V, and Stratix V DevicesDATAINDelayChainDDIOInFIFO REN LogicDATAOUT[0]DATAOUT[1]DATAOUT[2]DATAOUT[3]HR

Strona 13 - 2014.12.17

Resource Utilization and PerformanceTo view the compilation reports in the Quartus II software, follow these steps:1. On the Processing menu, click St

Strona 14

DQS LogicThe DQS input path in Arria V and Cyclone V devices has the following differences from Stratix V andearlier versions of the device families:•

Strona 15

pointers. For protocols using a bidirectional strobe, the write enable signal is tied to VCC and DQSgating/ungating implements the write enable functi

Strona 16

The determination of the correct latencies to implement at each of these FIFOs is important and cannotbe done during compilation. When you attempt to

Strona 17 - ALTDQ_DQS2 Data Paths

The following figure shows the DQ and DQS output path for additional DQ pins usage, where y = 0 to(m-1) and m= the number of DQ pinsFigure 13: DQ and

Strona 18 - Send Feedback

Block Name DescriptionDDR output registers Represents the DDIO registers that transfer DDR signalsfrom the core to the DQ/DQS pins.Related Information

Strona 19 - Block Name Description

Figure 15: ALTDQ_DQS2 Block Diagram by Port Types-ALTDQ_DQS2config_clock_in config_data_in config_dqs_ena config_dqs_io_ena config_update core_clock_i

Strona 20

ALTDQ_DQS2 Data Strobe PortsTable 6: ALTDQ_DQS2 Data Strobe PortsPort Name Type Width Descriptioncapture_strobe_enaInput 1 Controls the DQS enable con

Strona 21 - FIFO Control

Port Name Type Width Descriptionoutput_strobe_enaInput 2 = half-rate1 = full-rateThe gating signal for theoutput_strobe_out port.This port is supporte

Strona 22 - DQ and DQS Output Path

Port Name Type Width Descriptionstrobe_ena_hr_clock_inInput 1 Receives the clock signal fromthe clock pin or the PLL to clockthe DQS enable control bl

Strona 23

ALTDQ_DQS2 Data PortsThe following table lists the ALTDQ_DQS2 data ports where n= number of DQ pins, m= number ofadditional output-only DQ pins, x = 0

Strona 24 - ALTDQ_DQS2 Ports

IP Catalog and Parameter Editor (replaces MegaWizard Plug-In Manager)The Quartus II IP Catalog (Tools > IP Catalog) and parameter editor help you e

Strona 25

Port Name Type Width(2)Descriptionread_data_out[]Output 2n = full-rate4n = half-rateSends the captured data from theexternal device to the core.This p

Strona 26 - ALTDQ_DQS2 Data Strobe Ports

Port Name Type Width(2)Descriptionwrite_data_out[]Output n Sends the DDR data signal to theexternal device. For example,data to be written to the exte

Strona 27

ALTDQ_DQS2 Termination Control PortsTable 8: ALTDQ_DQS2 Termination Control PortsPort name Type Width Descriptionparallelterminationcontrol_in[]Input

Strona 28

ALTDQ_DQS2 PLL and DLL PortsTable 9: ALTDQ_DQS2 PLL and DLL PortsPort name Type Width Descriptiondll_delayctrl_in[]Input 7 Receives the 7-bit delay se

Strona 29 - ALTDQ_DQS2 Data Ports

ALTDQ_DQS2 Hard FIFO PortsTable 10: Hard FIFO PortsPorts Type Width Descriptionlfifo_rdata_en_fullInput 2 Data input to the latency shifterFIFO. This

Strona 30 - Description

Ports Type Width Descriptionvfifo_qvldInput Arria V andCyclone Vdevices: 2Stratix Vdevices: 1Data input to the data validFIFO. This signal is the full

Strona 31

Table 11: ALTDQ_DQS2 Dynamic Configuration PortsPort name Type Width Descriptionconfig_clock_inInput 1 The ALTDQ_DQS2 dynamicconfiguration interface c

Strona 32

Port name Type Width Descriptionconfig_dqs_io_enaInput 1 An input port that controls theenable input on the DQS I/Oconfigurations. Receives theclock e

Strona 33 - ALTDQ_DQS2 PLL and DLL Ports

Port name Type Width Descriptionconfig_data_inInput 1 Receives the serial configurationdata stream that shifts into theserial-to-parallel shift regist

Strona 34 - ALTDQ_DQS2 Hard FIFO Ports

Figure 17: Reconfiguration Scan ChaindinupdateenableclkDQ0dinupdateenableclkDQ1dinupdateenableclkDQSconfig_dataconfig_updateconfig_clock_inconfig_io_e

Strona 35 - Ports Type Width Description

available in the Quartus II IP Catalog. For more information about using the Qsys IP Catalog, referto Creating a System with Qsys in the Quartus II Ha

Strona 36

I/O Configuration Block Bit Sequence for Arria V GZ and Stratix V DevicesFigure 18: I/O and DQS Delay Chains for Arria V GZ and Stratix V Devices10DQD

Strona 37

Legendin Figure18BitBit Name DescriptionB 11..6 padtoinputregisterrisefalldelaysetting Connects to the delayctrlin port ofthe second D1 delay chain to

Strona 38

Table 13: I/O Configuration Block Bit Value for Arria V GZ and Stratix V DevicesBitBit Name/BitDefault Value(Binary)Min.ValueMax.ValueInc. Value5..0 p

Strona 39

Table 14: DQS Configuration Block Bit Sequence for Arria V GZ and Stratix V DevicesLegend in I/O Configu‐ration Block BitSequence for Arria VGZ and St

Strona 40

Legend in I/O Configu‐ration Block BitSequence for Arria VGZ and Stratix VDevices on page 40Bit Bit Name DescriptionH 23..18 octdelaysetting2 Connects

Strona 41

Legend in I/O Configu‐ration Block BitSequence for Arria VGZ and Stratix VDevices on page 40Bit Bit Name DescriptionK 33..32 dqoutputphasesetting Conn

Strona 42

Legend in I/O Configu‐ration Block BitSequence for Arria VGZ and Stratix VDevices on page 40Bit Bit Name DescriptionN 45 postamblephaseinvert Connects

Strona 43

Legend in I/O Configu‐ration Block BitSequence for Arria VGZ and Stratix VDevices on page 40Bit Bit Name DescriptionP 69 enaoctphasetransferreg Connec

Strona 44

Legend in I/O Configu‐ration Block BitSequence for Arria VGZ and Stratix VDevices on page 40Bit Bit Name DescriptionT 88..87 dqsinputphasesetting Conn

Strona 45

Legend in I/O Configu‐ration Block BitSequence for Arria VGZ and Stratix VDevices on page 40Bit Bit Name DescriptionX 96..94 enaoutputcycledelaysettin

Strona 46

In the following list of search locations, a recursive descent is annotated by **. A single * signifies any file.Table 1: IP Search LocationsLocation

Strona 47

Bit Bit Name Default Value (Binary) MinValueMax Value Inc. Unit29..28 dqsoutputphasesetting 0 00 = 0°01 = 45°10 = 90°11 = 135°30 dqsoutputpowerdown 1

Strona 48

Bit Bit Name Default Value (Binary) MinValueMax Value Inc. Unit65..46 dqs2xoutputphasesettingdqs2xoutputpowerdowndqs2xoutputphaseinvertdq2xoutputphase

Strona 49

Bit Bit Name Default Value (Binary) MinValueMax Value Inc. Unit88..87 dqsinputphasesetting 0 00 = 0°01 = 45°10 = 90°11 = 135°89 enadqsphasetransferreg

Strona 50 - Max Value Inc. Unit

I/O Configuration Block Bit Sequence for Arria V and Cyclone V DevicesFigure 19: I/O and DQS Delay Chains for Arria V and Cyclone V Devices4Open Drain

Strona 51

Table 16: I/O Configuration Block Bit Sequence for Arria V and Cyclone V DevicesLegend in Figure 19 Bit External Bit Name DescriptionA 4..0 padtoinput

Strona 52

Legend in Figure 19 Bit External Bit Name DescriptionD 17..15 readfifomode Connects to the dynfifomodeport of input register readFIFO block. The read

Strona 53

Bit Bit Name DefaultValue(Binary)Min. Value Max. Value Inc. Value17..15 readfifomode 0 000: Half-rate Read FIFO Mode001: Full-rate Read FIFO Mode010:

Strona 54

Legend in Figure 19 Bit Bit Name DescriptionH 9..5 dqsenablegatingdelaysetting Connects to the delayctrlin portof the postamble T11 delaychain (gated)

Strona 55

Legend in Figure 19 Bit Bit Name DescriptionM 22 postamblephaseinvert Connects to the phaseinvertctrlport of the clock phase selectblock to select bet

Strona 56

Bit External Bit Name Default Value(Binary)Min. Value Max. Value Inc. Value21..17 dqsbusoutdelaysetting 0 intrinsic delay 775 ps +intrinsic delay25 ps

Strona 57

Note: If you add a component to the search path, you must refresh your system by clicking File > Refreshto update the IP Catalog.Specifying IP Core

Strona 58

Instantiating ALTDQ_DQS2 IP CoreTo instantiate the ALTDQ_DQS2 IP core, perform the following steps:1. In the Quartus II software, open the Top_SV_13.0

Strona 59 - Stratix V Design Example

Instantiating the ALTDLL IP CoreTo instantiate the ALTDLL IP core, follow these steps:1. In the IP Catalog (Tools > IP Catalog), locate and double-

Strona 60

Figure 23: ALT_OCT Parameter Settings Tab4. Click Finish.Instantiating Altera PLL1. In the IP Catalog (Tools > IP Catalog), locate and double-click

Strona 61 - Instantiating ALT_OCT IP Core

Clock Descriptionoutclk_3 125 MHz, used as half-rate clock.outclk_4 500 MHz, used to drive the ALTDLL IP core. The minimum frequency for theALTDLL IP

Strona 62 - Instantiating Altera PLL

Figure 26: Simulation Dialog BoxFigure 27: Test Benches Dialog BoxFigure 28: Edit Test Bench Settings Dialog Box7. Run Analysis and Synthesis.64Settin

Strona 63 - Clock Description

8. To view the simulation results, on the Tools menu, select Run Simulation Tool and then click RTLSimulation.For a successful simulation, you may nee

Strona 64

Figure 30: Pin Planner10.Run the Fitter, Timing Analysis, and Assembler. An SDC example (top.sdc) is included in the exampledesign.Related Information

Strona 65

Component DescriptionDQS Agent• Acts as an external memory device.• Has a side channel (side reads/writes) communicating directly with theDQS driver,

Strona 66 - Component Description

18.675 us, the enable_driver signal is asserted to specify that the internal calibration is completed. TheDQS driver, which acts as the host controlle

Strona 67 - Dynamic Configuration

Figure 33: DQS Write Operation WaveformNote: Before and after the DQS write operation, the dq signal is in Hi-Z mode to filter any unwantedglitch on t

Strona 68

Figure 5: IP Parameter EditorView IP portand parameter detailsApply preset parameters forspecific applicationsSpecify your IP variation nameand target

Strona 69

The following figure shows the waveform for the side write operation.Figure 36: Side Write Operation WaveformNote: The incoming data at dq is edge-ali

Strona 70 - DQS Delay Chain

Figure 38: DQS Delay Chain WaveformHowever, when you enable the dynamic configuration feature, phasectrlin (which is set via thedqsinputphasesetting p

Strona 71 - Hard Read FIFO

Figure 40:Hardened in ALTDQ_DQS2 Megafunction.ReadFIFO DOUT DINREN WRENLatencyShifterFIFODataValidFIFOData to Core Data from DQTo DQS EnableRead Data

Strona 72 - Implement as Soft FIFOs

the write address counter, while the re signal controls when to advance the readaddress counter.When the read/write address pointers are the same, wri

Strona 73 - SDC Walkthrough

set_input_delay -clock {virtual_dqs_in} -min -add_delay -0.300[get_ports{read_write_data_io[*]}]set_input_delay -clock {virtual_dqs_in} -clock_fall -m

Strona 74

Example 3: set_multicycle_path Commandsset_multicycle_path -rise_from [get_clocks {virtual_dqs_in}] -rise_to[get_clocks {dqs_in}] -setup -end 0set_mul

Strona 75

Figure 44:The following set_false_path commands ensure that we are analyzing only the same edgetransfers, by removing the opposite edge transfers.Note

Strona 76

altdq_dqs2_stratixv:altdq_dqs2_inst/input_path_gen[*].read_fifo_hr�INPUT_DFF_*} -setup -end 0set_multicycle_path -from {*/altdq_dqs2_stratixv:altdq_dq

Strona 77 - Arria V Design Example

Figure 45: ALTDQ_DQS2 Parameter Settings for Arria V Devices5. Click Finish.Note:Because your design requires bidirectional strobe, you must use the D

Strona 78

Figure 46: ALTDLL Parameter Settings4. Click Finish.Instantiating ALT_OCT IP Core1. In the IP Catalog (Tools > IP Catalog), locate and double-click

Strona 79

Figure 6: IP Core Generated FilesNotes:1. If supported and enabled for your IP variation2. If functional simulation models are generated<Project Di

Strona 80

Instantiating Altera PLL1. In the IP Catalog (Tools > IP Catalog), locate and double-click the name of the IP core to customize.The parameter edito

Strona 81

Clock Descriptionoutclk_4 200 MHz. Used to drive the ALTDLL IP core. The following are the ALTDLLminimum frequency:• Arria V devices: 200 MHZ• Arria V

Strona 82

Figure 50: Simulation Dialog BoxFigure 51: Test Benches Dialog BoxFigure 52: Edit Test Bench Settings Dialog Box7. Run Analysis and Synthesis.82Settin

Strona 83

8. To view the simulation results, on the Tools menu, select Run Simulation Tool and then click RTLSimulation.For a successful simulation, you may nee

Strona 84

Figure 54: Pin Planner10.Run the Fitter, Timing Analysis, and Assembler. An SDC example (top.sdc) is included in the exampledesign.Related Information

Strona 85

Component DescriptionDQS Agent• Acts as an external memory device.• Has a side channel (side reads/writes) communicating directly with theDQS Driver,

Strona 86

Dynamic ConfigurationAt 100 ns, there is a high pulse on the beginscan signal. When the agent_output_enable signal is pulledlow, the strobe_io and age

Strona 87

The following figure shows the DQS write operation waveform.Figure 57: DQS Write Operation WaveformNote: Before and after the DQS write operation, the

Strona 88

Figure 59: Side Read Operation WaveformSide Write OperationThe side write operation begins between 9.185 µs and 9.255 µs. The data written out from th

Strona 89 - VFIFO, LFIFO, and Read FIFO

Figure 61: DQS Read Operation WaveformAs the incoming data arrives at the ALTDQ_DQS2 IP core, the edge-aligned data onread_write_data_io, and strobe o

Strona 90

Table 2: IP Core Upgrade StatusIP Core Status Corrective ActionRequired Upgrade IPComponentsYou must upgrade the IP variation before compiling in the

Strona 91 - DQS Enable Control

Figure 63: VFIFO, LFIFO and Read FIFO in Arria V and Cyclone V DevicesReadFIFO DOUT DINREN WRENLatencyShifterFIFODataValidFIFOData to Core Data from D

Strona 92

Figure 64:Note: The write enable (we) and read enable (re) signals of the hard read FIFO are different from thewrreq and rdreq signals of the DCFIFO.

Strona 93 - Analyzing Same Edge Transfer

Figure 65: Simulation ResultsSDC WalkthroughTo create a new .sdc, follow these steps:1. Constrain the clocks coming into the FPGA with the create_cloc

Strona 94

Figure 66:Analyzing Same Edge TransferThe following set_false_path commands ensure that you are analyzing only the same edge transfers, byremoving the

Strona 95 - Timing Violation

Constraining Outgoing DQS StrobeThe design sends the data out by a clock shifted 270° so that the non-shifted clock is center-aligned. Theseconstraint

Strona 96 - IP-Generate Command

The following set_false_path commands ensure that we are analyzing only the same edgetransfers, by removing the opposite edge transfers.Note: These as

Strona 97 - Document Revision History

• Functional Description—UniPHYFor more information on some basic calibration.tq_analysis.tclThe tq_analysis.tcl is a script that analyzes specific dq

Strona 98

--component-param=USE_OUTPUT_STROBE=”False” --component-param=DQS_PHASE_SETTING=”3”This command generates two files—my_dqdqs2.v and my_dqdqs2_altdq_dq

Strona 99

Date Version ChangesJuly 2014 2014.07.07• Replaced MegaWizard Plug-In Managerinformation with IP Catalog.• Added standard information aboutupgrading I

Strona 100 - Date Version Changes

Date Version ChangesDecember 2012 2.0 • Major enhancement to include:• Arria V and Cyclone V devices information.• Updated “Features” on page 1–1:• In

Komentarze do niniejszej Instrukcji

Brak uwag