Achronix Speedster22i SerDes Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Počítačový hardware Achronix Speedster22i SerDes. Achronix Speedster22i SerDes User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 113
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - User Guide

Speedster22i SerDes User Guide UG028 (v2.1) – July 1, 2014 UG028, July 1, 2014 1

Strany 2 - Table of Contents

Standards Variation Data Rate(s) QPI 4.8 Gbps 6.4 Gbps SATA SATA-1 1.5 Gbps SATA-2 3.0 Gbps SATA-3 6.0 Gbps SAS SAS-1 3.0 Gbps SAS-2 6.0 Gbps SAS-

Strany 3

The Ports of ACX_SERDES_SBUS_IF Module: The signals (ports) shown in “Figure 43 Changing Value of Register 17A to bypass PCS block” and “The Ports of

Strany 4 - 4 UG028, July 1, 2014

Example of SerDes Register Access through SBUS: Setting Loopback Mode The SerDes must be in the “ready” state before it enters loopback mode. Therefor

Strany 5 - List of Figures

SerDes signals Sbus_clk and ready signals: The sbus_clk and ready signals must be connected between SerDes lane and ACX_SERDES_LOOPBACK_CTRL. The sbus

Strany 6 - List of Tables

.i_pma_RXready(pma_RXready), ); // Use the IP Configuration Perspective in Ace to generate a Serdes wrapper gui_generated_serdes_wrapper iSERDES

Strany 7 - Overview

Electrical Specifications Operating Conditions Table 22: Operating Conditions Parameter Notes Min Typical Max Unit DC Power-Supply Pin Requirements VD

Strany 8

Transmitter Table 23: DC and AC Switching Characteristics Parameter Description Min Typical Max Unit Output Eye Specification VTX-DIFF-PKPK Backporc

Strany 9 - Major standards supported

Parameter Description Min Typical Max Unit ZTX-DIFF-HIZ Transmitter Output Differential DC Impedance in Squelch Mode >2k Ω ZTX-CM-HIZ Transmitt

Strany 10 - 10 UG028, July 1, 2014

Table 25: Return Loss Standard Differential DC return loss Differential return loss at FBAUD/2 Common mode DC return loss Common mode return los

Strany 11 - SerDes Placement

Receiver Table 26: DC and AC Switching Characteristics Parameter Description Min Typ Max Unit VRX-DIFF-PKPK Differential Input Peak to Peak Volta

Strany 12 - SerDes Architecture Overview

Parameter Description Min Typ Max Unit ZRL-CM-NYQ Receiver Common-Mode Return Loss at Nyquist Frequency (FBAUD/2) -4 dB Receiver DC Impedance RDI

Strany 13 - 1. Common

SerDes Placement The Speedster22i device supports up to sixty-four (64), 11.3 Gbps SerDes lanes. Each side (Top and Bottom) has thirty-two (32), 11.3

Strany 14 - 3. Digital PMA (DPMA)

Parameter Description Min Typ Max Unit VRX-SENS Receiver Input Voltage Sensitivity Under the Following Conditions: • 50inch of FR4 • 6.25Gbps • P

Strany 15

Standard X1 (UI) X2 (UI) 2xVp-min (mV) 2xVp-max (mV) OIF CEI 6G – LR 0.475 0.5 N/A 1200 FC-1 0.33 0.5 275 2000 FC-2 0.35 0.5 275 2000 FC-4 0.33 0.5

Strany 16 - PCS Self Test Logic

Reference Clock The electrical specifications for the reference clock are summarized in the following tables Table 29: Reference Clock Electrical Spef

Strany 17

Revision History The following table shows the revision history for ths document. Date Version Revisions 3/29/2013 1.0 First customer release 4/22/2

Strany 18 - 18 UG028, July 1, 2014

SerDes Architecture Overview The SerDes has an independent lane architecture. Each lane has a Physical Media Attachment (PMA), Synthesizer (Transmit P

Strany 19

Physical Media Attachment (PMA) The PMA architecture is shown in “Figure 3: PMA Architecture” below. Figure 3: PMA Architecture The PMA consists thre

Strany 20 - Running Disparity

2. Receiver (RX)/Transmitter (TX) The RX/TX block consists of the following circuits: • TX buffer: Converts single-ended signal to differential and

Strany 21

Figure 5: Receiver Architecture UG028, July 1, 2014 15

Strany 22 - 22 UG028, July 1, 2014

PCS Blocks in the Transmitter (TX) This section presents the transmitter (TX) data path within a PCS. The key blocks within the SerDes transmitter ar

Strany 23 - Symbol Alignment

Polarity and Bit Inversion – 10/20 bit Operation When operating in 10bit/20bit mode, the bit order within each 10-bit word can be inverted. This is il

Strany 24 - Automatic Mode:

Polarity and Bit Inversion – 8/16 bit Operation When the polarity is inverted in 8bit/16bits mode, only bits [17:10] and [7:0] are inverted, bits [19:

Strany 25 - Deskew FIFO

Figure 11: Word Order Inversion (16-bit Word) UG028, July 1, 2014 19

Strany 26 - Auto Mode:

Table of Contents List of Figures ...

Strany 27 - Symbol slip mode:

Interface Encapsulation This block encapsulates the protocols supported by the SerDes in Achronix FPGA. The user may refer to Section – “PCS Interface

Strany 28 - 28 UG028, July 1, 2014

The input disparity for the 6 bit block is based on the disparity of previous word’s 4 bit block while the disparity for the 4 bit block is the dispar

Strany 29 - EFIFO Operation

PCS Blocks in the Receiver (RX) This chapter describes the PCS components on the receiver data path. The functional block diagram of the receiver is

Strany 30 - 30 UG028, July 1, 2014

Equation 1:  = (   ) +  

Strany 31 - Bit Slider

Modes of Operation Manual Mode: In manual alignment mode, the symbol alignment will attempt to identify a pre-configured pattern and lock to the inco

Strany 32 - PCS Self Test Checker

Deskew FIFO The deskew block provides support for standards which require multiple lane bonding and de-skewing of received data across multiple lanes.

Strany 33 - PCS Interface

Functional Description The de-skew block uses a deskew FIFO on each lane. The writes to the deskew FIFO are performed in the recovered clock domain fo

Strany 34 - PIPE Interface

Symbol slip mode: The deskew module does not actively remove skew across lanes. Each lane is controlled by the fabric. Fabric continuously monitors i

Strany 35

EFIFO Standards and Skip Characters PCIe Gen3: To support PCIe Gen3, 4-bytes of skip are added at byte positions 4-7 from the sync header associated w

Strany 36 - Clocking

EFIFO Operation “Figure 15: EFIFO SKP Addition/Removal” illustrates the process of SKP addition/removal. Figure 15: EFIFO SKP Addition/Removal In “F

Strany 37

The deskew module can work in three modes: ... 26 Standards

Strany 38 - Debug and Test

“Figure 16: EFIFO SKP Addition/Removal: PCIE, GigE (802.3) and XAUI (802.3)” illustrates SKP additions and removals for PCIe, GigE (802.3), and XAUI (

Strany 39 - PCS loopback modes:

Overflow/Underflow If the difference between the write and read counters is greater than fifo_full, then the overflow signal is asserted. If the diffe

Strany 40 - PRBS Generator

the 20-bit mode of operation, the most significant 20-bits of data are placed on bits 19:0 of the barrel shifter and the least significant 20-bits are

Strany 41 - PCS Test Pattern Checker

PCS Interface The PCS interface provides the general interface between the PCS and the core fabric. The PCS supports the following interfaces: • Giga

Strany 42 - Latency

XAUI The PCS supports XAUI compliant with section 48 of IEEE 802.3. The Protocol block implements the Transmit and Receive state machines as per Figur

Strany 43

The 128b/130b encoder is disabled on power up, and enabled when the rate bits coming from the MAC are configured to 2’b10. The PCS layer support for P

Strany 44 - 44 UG028, July 1, 2014

Clocking “Figure 17: SerDes RX and TX clocks” gives an overview of the clocks inside the SerDes. The PMA of a SerDes lane generates two clocks, a TX

Strany 45 - Configurations Supported

Although each lane has its own clock output pins to the fabric, with lane bonding these are all just route-throughs of the master clock: regardless of

Strany 46 - 46 UG028, July 1, 2014

Debug and Test The SerDes comes integrated with a wide range of debug and test features for excellent coverage. The following features are provided:

Strany 47

PMA loopback modes: Figure 18: PMA Loopback Modes PCS loopback modes: Figure 19: Looback modes Please refer “Dynamic Read/Write of SerDes Registe

Strany 49

PMA Test Pattern Generator The PMA supports a built in transmit data pattern generator that can be used for transmit characterization. The test patter

Strany 50 - Single-Lane Serdes Wrapper

The transmit pattern generator can optionally transmit user defined patterns instead of PRBS patterns, configured through the control registers. Two

Strany 51

Latency This section presents the worst case latency for PMA and PCS blocks. PMA Latency The following equation calculates the worst-case latency for

Strany 52 - 52 UG028, July 1, 2014

“Table 9: Latency across the PCS blocks” presents the latency experienced by datapath in these two modes. The worst case latency is presented in in “F

Strany 53 - Overview Section:

Figure 20 Worst-case latency across PMA and PCS (in terms of clock-cycles) 44 UG028, July 1, 2014

Strany 54 - Choice made

Configurations Supported Table 10: Supported Transmitter (TX) Features Standard Variation Data Rates (Gbps) Number of Lanes Suggested Reference C

Strany 55

Standard Variation Data Rates (Gbps) Number of Lanes Suggested Reference Clock (MHz) Parallel Data Width (Bits) Encoder PBR Out-of-Band OC-24 1.2

Strany 56 - 56 UG028, July 1, 2014

Table 11: Supported Receiver (RX) Features Standard Variations Data Rates (Gbps) Symbol Align PBR Transition Density Checker Clock Compensation (E

Strany 57 - Section on PMA Settings:

Standard Variations Data Rates (Gbps) Symbol Align PBR Transition Density Checker Clock Compensation (EFIFO) Lane De-skew Decoder Bit Slider 10GFC 1

Strany 58 - 58 UG028, July 1, 2014

Design Flow: Creating a SerDes Design In this chapter, step-by-step instructions for creating a SerDes design are presented: 1. Generation of SerDes

Strany 59 - RX PMA Equalization

List of Figures Figure 1: Location of SerDes Lanes ...

Strany 60 - RX PMA PLL

The user is assumed to have basic understanding of using ACE GUI. The user may refer to the online demo as well as the ACE documentation for different

Strany 61

To generate a SerDes wrapper, the user will need to double click on the link 12G SerDes in IP Libraries window. This will bring up the window for crea

Strany 62 - TX PMA PLL

Figure 23: New IP Configuration Window- Overview Page The user will now have the Overview page in the main window with the options for entering desi

Strany 63 - Section on PCS Settings:

Overview Section: Initially, the main window in the middle will contain the Overview page as shown in Figure 26: New IP Configuration Window – Popula

Strany 64 - RX PCS Settings

Entry field Purpose Available Options Choice made Number of Lanes Number of lanes used by the design 1 to 12. 1 TX Data Rate (Gbps) TX data rate fo

Strany 65

Entry field Purpose Available Options Choice made SerDes Lanes The specific lane used. Achronix FPGA has 64 SerDes lanes, 32 each on North and South

Strany 66 - RX PCS Symbol Alignment

Figure 27: Issues with Setting TX/RX data rate and reference clock frequency 56 UG028, July 1, 2014

Strany 67

Figure 28: Unavailable Fields As “Figure 28: Unavailable Fields” shows Some fields become unavailable based on earlier choices made by the user. In t

Strany 68 - TX PCS Settings

Figure 29: PMA Settings Window – First page The first page of the PMA Settings section gives the options to enter lane-specific PMA settings. This

Strany 69

Figure 30: Outline Window, When Lane-Specific PMA Settings are Enabled RX PMA Equalization This page allows the user to change the PMA equalization

Strany 70 - 70 UG028, July 1, 2014

List of Tables Table 1: SerDes Standards...

Strany 71 - Files Generated by ACE-GUI

Entry field Purpose Available Options* Choice made High Freq AGC AC Boost Control AC boost of High frequency AGC 32 options ranging from 0.4 dB to 18

Strany 72 - Design and Wrapper Files

Table 14: RX PMA PLL Settings Entry field Purpose Available Options Choice made RX PPM Controls the frequency accuracy threshold (ppm) for lock dete

Strany 73

TX PMA Driver This page allows the user to configure the transmit driver settings on PMA.. The entry fields and the available options are listed in “T

Strany 74 - Sequence

Table 16: TX PMA PLL Settings Entry field Purpose Available Options Choice made TX PPM Configure the PPM difference between reference clock and divi

Strany 75

Figure 32: PCS Settings for Receiver – Default Settings RX PCS Settings This page allows the user to configure the RX PCS settings. The entry fields

Strany 76 - 76 UG028, July 1, 2014

Entry field Purpose Available Options Choice made Elastic FIFO*3 Use Elastic FIFO*3 Whether clock compensation block on PCS (i.e., EFIFO) will be use

Strany 77 - Placement of SerDes

RX PCS Symbol Alignment “Figure 33: PCS Settings for Receiver – Symbol Alignment” presents the RX PCS Symbol Alignment window with the choices pertain

Strany 78 - Timing Constraints

Entry field Purpose Available Options Choice made Word 0 Value of Word# 0, when enabled. Text field to enter user-defined value (available when Word

Strany 79

Entry field Purpose Available Options Choice made Alt Seq 1 Text field to enter user-defined value (available when Alt Seq 0 is enabled) N/A since Al

Strany 80 - Design Guidelines

Table 19: TX PCS Settings Entry field Purpose Available Options Choice made Encoder • Disabled • 8b/ 10b • 128/130b 8B10B PBR Functions PBR

Strany 81

Chapter 1 – SerDes Architecture Overview Achronix Speedster22i FPGAs provide very high core fabric and I/O performance which exceeds the system bandwi

Strany 82 - Figure 37: Clock Region View

Generation of Wrapper Files: The user can now generate wrapper files (src/ace folder) by clicking the Generate button. Note: The user can generate th

Strany 83

If the files are successfully generated, the user will find the corresponding message on the TCL sub-window, as shown in “ Figure 36: TCL console mes

Strany 84 - 84 UG028, July 1, 2014

Integration of SerDes Wrapper in a Design This section details how to use the files generated by ACE GUI into a user-design. For ready-reference, the

Strany 85

iSerDes is chosen as the Hierarchical Instance Path, the generated .sdc and .pdc files need not be modified. “Table 20: Signals passed between the Ser

Strany 86 - Wide Bus

SerDes Port Name Top-level Signal-name Comments whether the SerDes is ready. For instance, ln0_TX_ready indicates that the SerDes is ready for data re

Strany 87 - Design Tips

Dynamically Changing the SerDes Register Values Typically the PMA/PCS registers need not be changed during runtime. However, simple_serdes_design use

Strany 88 - 88 UG028, July 1, 2014

.i_reg_wr_data (unused_ln0_i_reg_wr_data), // data for write .o_reg_rd_data (unused_ln0_o_reg_rd_data), // data

Strany 89

Note: When 10’h1BC is transmitted from the fabric, the output of the 8b/10b decoder on the PCS receiver path will be 10’h283 (alternate: 10’h17C). Th

Strany 90 - 90 UG028, July 1, 2014

the placement of SerDes-Reset signal (ln0_rst_hard); TX-ready status signal (ln0_TX_ready) and the placement of the sbus-clock that is required to se

Strany 91

create_generated_clock iSERDES.x_ch0.iffdmux.GEN_CLKDIV.TX.iTXclkdiv/clk_out –source iSERDES.x_ch0.u_serdes_wrap.u_serdes/o_TX_data_clk -divide_by 2

Strany 92 - 92 UG028, July 1, 2014

o Programmable spread spectrum generation o Support for 16-bit fractional multiplication factors o Programmable spread spectrum clocking o Suppor

Strany 93 - Design Bypassing PCS:

Design Guidelines This section will first present the coding practice that the user is recommended to use. Reset Sequence The following sequence is pr

Strany 94 - Modification – 1 (ACE GUI):

• All clocks from SerDes lanes 0 to 14 on the South Side of the Chip enter the far SouthWest clock region. • All clocks from SerDes lanes 20 to 31 o

Strany 95

Figure 37: Clock Region View 82 UG028, July 1, 2014

Strany 96 - 96 UG028, July 1, 2014

The following factors determine how many clocks enter the Core for each SerDes lane or bonded group of lanes: • Use of Hard IP Controllers: If you ar

Strany 97

• SerDes lanes on the chip are divided into physical groups of 8 lanes (0-7), 12 lanes (8-19) and 12 lanes (20-31) on the North and South sides of th

Strany 98

Figure 39: SerDes Placement Guidelines • Avoid lanes 15-19 (on North and South) when not using channel bonding, since these lanes consume clock res

Strany 99 - ACX_SERDES_SBUS_IF Module

lanes. Now we have a total of 4 clocks per bonded group of 12 lanes, or 8 total clocks for the 24 10 Gbps lanes. At this point, we have a total of 16

Strany 100 - Parallel Interface signals:

Design Tips Timing report of a routed design: When a design passes through the place-and-route tool, please make sure that there is no setup- and/or

Strany 101 - UG028, July 1, 2014

For our sample design, we have defined data-rate=10.3125gbps and data-width=20. For this higher-rate, the wide-bus architecture will be used. In othe

Strany 102 - Control signals

Overview of the modification: With respect to the steps followed in creating simple_serdes_design, the following modifications are made in preparing

Strany 103 - SerDes Registers

Major standards supported Table 1: SerDes Standards Standards Variation Data Rate(s) PCI Express Gen1 2.5 Gbps Gen 2 5.0 Gbps Gen 3 8.0 Gbps Giga

Strany 104 - Electrical Specifications

Entry field Available Options Choice made Eanble ALT 0*3 • True • False True ALT SKIP Word 0*3 Text field to select user-defined value (available on

Strany 105 - Transmitter

Figure 40: PCS Settings for Receiver – Configurations for Decoder and Elastic FIFO Now, just as we did for the design without clock-compensation (

Strany 106 - 106 UG028, July 1, 2014

Related modifications are listed below: Simple_serdes_design_efifo_wrapper iSerDes ( // ============================= // Lane 0 // ***************

Strany 107

Modification – 3 (placement and timing constraints): Since there is only one divide-by-two clock in this derivative of the design, we can remove the p

Strany 108 - Receiver

Note: Although the PCS modules are disabled, the SerDes will still generate two clocks for transmit and receive ends (from PMA). Unlike the design wit

Strany 109

Note: When compared with the sample design (simple_serdes_design), no change is required in ace_placement.pdc or in ace_constraint.sdc files for this

Strany 110 - Eye Diagram

Figure 42: Modifying Register Settings from ACE GUI To bypass the PCS block, the bit-4 of Reg[17A] needs to be set to 1’b1, i.e., 17A needs to be se

Strany 111

Figure 43: Changing Value of Register 17A to bypass PCS block Note: Setting Reg[17A] at 8’h10 will automatically disable all PCS modules even if the

Strany 112 - Reference Clock

Dynamic Read/Write of SerDes Registers via SBUS This chapter broadly categorizes the PMA and PCS registers into: 1. Static registers 2. Dynamic regi

Strany 113 - Revision History

ACX_SERDES_SBUS_IF Module The connection diagram for ACX_SERDES_SBUS_IF is shown in “Figure 44 Disabling PCS Decoder (default ACE Setting)”. Figure 44

Komentáře k této Příručce

Žádné komentáře