Altera LVDS SERDES Transmitter / Receiver User Manual

Browse online or download User Manual for Measuring instruments Altera LVDS SERDES Transmitter / Receiver. Altera LVDS SERDES Transmitter / Receiver User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 72
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
LVDS SERDES Transmitter/Receiver IP Cores User
Guide
2014.12.15
UG-MF9504
Subscribe
Send Feedback
The low-voltage differential signaling serializer or deserializer (LVDS SERDES) megafunction IP cores
(ALTLVDS_TX and ALTLVDS_RX) implement the LVDS SERDES interfaces to transmit and receive
high-speed differential data. You can configure the features of these IP cores with the IP Catalog and
parameter editor.
Features
The following table lists the features of the ALTLVDS_TX and ALTLVDS_RX IP cores.
Table 1: ALTLVDS_TX and ALTLVDS_RX Features
Features Supported devices
ALTLVDS_TX and ALTLVDS_RX
Parameterizable data channel widths All Arria
®
, Cyclone
®
, and Stratix
®
series devices.
Parameterizable serializer/deserializer
(SERDES) factors
All Arria, Cyclone, and Stratix series devices.
Registered input and output ports All Arria, Cyclone, and Stratix series devices.
Support for external phase-locked loops
(PLL)
All Arria, Cyclone, and Stratix series devices.
PLLs sharing between transmitters and
receivers
All Arria, Cyclone, and Stratix series devices.
PLL control signals All Arria, Cyclone, and Stratix series devices.
ALTLVDS_RX Only
Dynamic phase alignment (DPA) mode
support
All Arria and Stratix
(1)
devices.
DPA PLL calibration support All Stratix
(1)
series devices.
(1)
DPA is available starting from Stratix GX onwards. The first generation Stratix device family does not
support DPA.
©
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
Page view 0
1 2 ... 72

Summary of Contents

Page 1 - Features

LVDS SERDES Transmitter/Receiver IP Cores UserGuide2014.12.15UG-MF9504SubscribeSend FeedbackThe low-voltage differential signaling serializer or deser

Page 2 - Related Information

• To upgrade a single IP core that supports auto-upgrade, type the following command:quartus_sh –ip_upgrade –variation_files <my_ip_filepath/my_ip&

Page 3 - Clock Type J = Even J = Odd

Table 5: ALTLVDS_TX Parameter SettingsOption DescriptionGeneral (page 3)Implement Deserializer circuitry inlogic cellsTurn on this option to implement

Page 4

Option DescriptionUse External PLLTurn on this option to use an external PLL to clock theSERDES transmitter. When you turn on this option, theoptions

Page 5 - Using the Parameter Editor

Option DescriptionUse 'tx_pll_enable' input portTurn on to control the enable port of the fast PLL that the IPcore uses with this function.I

Page 6

Option DescriptionRegister 'tx_in' input port usingTurn on this option to specify whether input registers areclocked by the tx_inclock signa

Page 7

Option DescriptionWhat is the outclock divide factor (B)? Specifies the frequency of the tx_outclock signal as thetransmitter output data rate divided

Page 8 - Upgrading IP Cores

Option DescriptionWhat is the clock resource used for 'tx_coreclock'?Specifies the clock resource type fed to the tx_coreclocksignal. Allowe

Page 9

Table 6: ALTLVDS_RX Parameter SettingsOption DescriptionGeneral (page 3)Implement Deserializer circuitry inlogic cellsTurn on this option to implement

Page 10 - Parameter Settings

Option DescriptionWhat is the deserialization factor?Determines the number of serial input data bits that thereceiver deserializes and sends to the co

Page 11 - Option Description

Option DescriptionUse shared PLL(s) for receivers andtransmittersWhen you turn on this option, your LVDS receivers andtransmitters can share the same

Page 12

Features Supported devicesSoft clock data recovery (CDR) modesupportAll Arria and Stratix(2) series devices.Note: Altera recommends implementing the B

Page 13

Option DescriptionUse source-synchronous mode of thePLLTurn on this option to ensure that the IP core instance makesthe required phase adjustment to g

Page 14

Option DescriptionUse 'rx_dpll_enable' input portEnables the path through the DPA circuitry. The optionsupports dynamic, channel-by-channel

Page 15

Option DescriptionUse 'rx_dpa_locked' output portThe DPA block samples the data on one of eight phase clockswith a 45° resolution between ph

Page 16 - ALTLVDS_RX Parameter Settings

Option DescriptionEnable PLL CalibrationTurn on this option to phase-shift the PLL outputs when thedpa_pll_cal_busy signal is high. The default settin

Page 17

Option DescriptionAlign data to the rising edge of clock When you turn on this option, the data path is registered onthe positive edge of the diffiocl

Page 18

Option DescriptionEnable independent bitslip controls foreach channelTurn on this option to allow an independent rx_data_alignsignal for each channel

Page 19

Related Information• Introduction to Altera IP Cores• Stratix IV Device Family Errata SheetCommand Line Interface ParametersExpert users can choose to

Page 20

Parameter Type Descriptiondeserialization_factor IntegerSpecifies the number of bits per channel.The following is the device support and its valueswit

Page 21

Parameter Type Descriptioninclock_data_alignment StringSpecifies the phase alignment of the tx_in[] and tx_inclock input ports in terms of the tx_incl

Page 22

Parameter Type Descriptionoutclock_alignment StringSpecifies the alignment of tx_outclock with respectto the VCO of a fast PLL. The clock phase alignm

Page 23

For the Stratix series, the side I/O banks contain dedicated SERDES circuitry, which includes the PLLs,serial shift registers, and parallel registers.

Page 24

Parameter Type Descriptionoutclock_duty_cycle IntegerSpecifies the external clock timing constraints. Avalue of 50 is not supported in the outclock_du

Page 25

Parameter Type Descriptionoutput_data_rate IntegerSpecifies the data rate out of the PLL. The multiplica‐tion value for the PLL is OUTPUT_DATA_RATE/IN

Page 26 - Parameter Type Description

Parameter Type Descriptionuse_no_phase_shift String When set to OFF, a phase shift of 90° is added to theclock to center the clock in the data. Use th

Page 27

Devices DESERIALIZATION_FACTORValueOUTCLOCK_DIVIDE_BY ValueCyclone, Cyclone II,Cyclone III, Cyclone IV,and Cyclone V4248525106261272714824816929181024

Page 28

Table 9: ALTLVDS_RX ParametersParameter Type Descriptionbuffer_implementation StringSpecifies where to implement the buffer. Thevalues are MUX, RAM, a

Page 29

Parameter Type Descriptiondeserialization_factor IntegerSpecifies the number of bits per channel.The values of this parameter for each supporteddevice

Page 30

Parameter Type Descriptionenable_dpa_fifo String Indicates whether the DPA FIFO buffer isenabled for this channel.You must enable therx_dpa_locked por

Page 31

Parameter Type Descriptioninclock_data_alignment StringSpecifies the phase alignment of the rx_in andrx_inclock input ports in terms of the rx_inclock

Page 32 - OUTCLOCK_DIVIDE_BY Value

Parameter Type Descriptionpll_self_reset_on_loss_lock String The values are ON and OFF. If omitted, thedefault value is OFF. When this parameter isena

Page 33

Parameter Type Descriptionreset_fifo_at_first_lock String Specifies when the bit-serial FIFO resets.Normally, the bit-serial FIFO is reset when theDPA

Page 34

performance. After you purchase a license, visit the Self Service Licensing Center to obtain a licensenumber for any Altera product.Figure 1: IP Core

Page 35

PortsThis section describes the ports for the ALTLVDS_TX and ALTLVDS_RX IP cores.ALTLVDS_TX PortsThe following table lists the input and output ports

Page 36

Port Name Direction Width (Bit) Descriptiontx_inclockInput 1Reference clock input for the transmitter PLL.The parameter editor automatically selects t

Page 37

Related Information• Introduction to Altera IP Cores• PLL Clock Signals for LVDS Interface in External PLL Mode on page 62ALTLVDS_RX PortsThe followin

Page 38

Port Name Direction Width (Bit) Descriptionrx_data_align_reset Input 1 Resets the byte alignment circuitry. Use therx_data_align_reset input port when

Page 39

Port Name Direction Width (Bit) Descriptionrx_in[] Input n LVDS serial data input port of n channelswide. rx_in[(n-1)..0] is deserialized anddriven on

Page 40 - ALTLVDS_TX Ports

Port Name Direction Width (Bit) Descriptionrx_cda_max Output n Data re-alignment (bit slip) roll-over signal.When high for one parallel clock cycle, t

Page 41 - 2014.12.15

Related Information• Introduction to Altera IP Cores• PLL Clock Signals for LVDS Interface in External PLL Mode on page 62Prototypes and Component Dec

Page 42 - ALTLVDS_RX Ports

DPA ModeIn DPA mode, the DPA circuitry automatically chooses the best phase to compensate for the skewbetween the source-synchronous clock and the rec

Page 43

Figure 7: ALTLVDS_RX Block in Standard ModeDPAALTLVDS_RX slow registersdivfwdclkCore capture & sync registersCore sync registers÷rx_out[]rx_d

Page 44

Figure 8: ALTLVDS_RX Block in No Output Register ModeDPAALTLVDS_RX CoreALTLVDS_RX fast registersALTLVDS_RX slow registersdivfwdclk÷rx_out[]rx_divfwdc

Page 45

Figure 2: Quartus II IP CatalogSearch and filter IP for your target deviceDouble-click to customize, right-click for informationNote: The IP Catalog i

Page 46 - Functional Description

Figure 9: DPA Misalignment IssueDPA takes much longer time than anticipated to lock to the optimum phase of 3Invalid Data *0123rx_resetValid Datarx_dp

Page 47 - Soft-CDR Mode

1. The following events occur during the DPA calibration process:2. The ALTLVDS_RX IP core counts 256 data transitions, then inserts delay elements on

Page 48

by-channel basis. If the PLL has not locked to a stable clock source, the DPA circuit might lock pre-maturely to a non-ideal phase tap. Use the rx_res

Page 49 - DPA PLL Calibration

The word aligner or the bit-slip circuit can be reset using the rx_cda_reset port. This circuit can be resetanytime and is not dependent on the PLL or

Page 50

Dedicated SERDESThe ALTLVDS_TX and ALTLVDS_RX IP cores implemented in a dedicated SERDES and using the DPAmode are characterized and guaranteed to fun

Page 51 - Initialization and Reset

Where:• RSKM—is the timing margin between the receiver's clock input and the data input SW.• Time unit interval (TUI)—is the time period of the s

Page 52 - Resetting the DPA

Figure 11: Differential High-Speed Timing Diagram and Timing Budget for Non-DPA ModeTUIRCCSRCCSSWRCCSRSKM RSKMSWRSKM RSKMExternalInput ClockInternalCl

Page 53 - Aligning the Word Boundaries

For Stratix IV devices:RCCS = 100 ps (pending characterization)SW = 300 ps (pending characterization)TUI = 1000 psTotal RCCS = RCCS + Board channel-to

Page 54 - SERDES in LEs

To obtain the TCCS report (report_TCCS), follow these steps:1. In the Quartus II software, under the Tools menu, click TimeQuest Timing Analyzer.2. Fr

Page 55

a. Right-click on the synchronous input port and select Set Input Delay.b. The Set Input Delay dialog box appears.c. Select the desired clock using th

Page 56 - Send Feedback

Figure 3: IP Parameter EditorsView IP portand parameter detailsApply preset parameters forspecific applicationsSpecify your IP variation nameand targe

Page 57

set_input_delay -clock [get_clocks virtual_clock_lvds] -clock_fall -max 0.200 [get_ports rx_in*] -add_delayset_input_delay -clock [get_clocks virtual_

Page 58

Port Name Constraint TypeOption DescriptionGUI Setting SDC commandRise, Fall, Both -clock fall-clock risesSpecifies the clock's risingand falling

Page 59

The Recommended Trace Delay Addition column in the report panel displays the recommendedamount of trace delay that you must add to each trace of the c

Page 60 - GUI Setting SDC command

From the PLL To the ALTLVDS Transmitter To the ALTLVDS ReceiverLoad enable output (c1) tx_enable (load enable to thetransmitter)rx_enable (load enable

Page 61 - Compensation Report Panel

Table 14: Example Settings to Generate Three Output Clocks using PLL IP CoreThis table shows an example with the parameter values that you can set in

Page 62

Figure 15: Phase Relationship for External PLL Interface SignalsD1 D2 D3 D4 D5 D6 D7 D8D9 D10inclk0VCO clk (internal PLL clk)c0 (-180° phase shift)c1

Page 63 - FPGA Fabric

You can use the functional simulation model and the testbench or example design generated with your IPcore for simulation. The functional simulation m

Page 64 - Parameter/Clock Setting

Generating ALTLVDS IP Core Using Clear Box GeneratorApart from the IP core parameter editor, you can also use the clear box generator, a command-linee

Page 65 - D1 D2 D3 D4 D5 D6 D7 D8

Date Version ChangesNovember 2014 2014.11.17• Restructured and updated sections that describe the external PLLmode and the relevant ALTPLL IP core par

Page 66 - RTL Simulation

Date Version ChangesJune 2013 2013.06.10• Removed Use clock pin parameter. This parameter is no longeravailable for the megafunction beginning from AC

Page 67 - Document Revision History

7. To generate an HDL instantiation template that you can copy and paste into your text editor, clickGenerate > HDL Example.8. Click Finish. The pa

Page 68 - Date Version Changes

Date Version ChangesJune 2013 2013.06.10• Updated Standard Mode on page 47 to add a note to recommendusing rx_divfwdclk (instead of any static clock)

Page 69

Date Version ChangesJune 2011 v.8.0• Reorganized the document format.• Added "Source-Synchronous Timing Analysis and TimingConstraints" sect

Page 70

Date Version ChangesDecember 2008 v4.0 Updated for the Quartus II software 8.1:• Removed figures.• Added Stratix IV to Device Family Support.• Updated

Page 71

Figure 5: IP Core Generated FilesNotes:1. If supported and enabled for your IP variation2. If functional simulation models are generated3. Ignore this

Page 72

IP Core Status Corrective ActionUpgrade Unsupported Upgrade of the IP variation is not supported in the current version of theQuartus II software due

Comments to this Manuals

No comments