V-Series Transceiver PHY IP Core User Guide

ID 683171
Date 7/26/2022
Public
Document Table of Contents

13.5.1. Common Interface Ports for Stratix V Native PHY

This section describes the interface ports for the Stratix V native PHY.

Common interface consists of reset, clock signals, serial interface ports, control and status ports, parallel data ports, PMA ports and reconfig interface ports. The following figure illustrates these ports.

Figure 68. Stratix V Native PHY Common Interfaces
Table 217.  Native PHY Common Interfaces
Name Direction Description
Clock Inputs and Output Signals
tx_pll_refclk [ <r> -1:0] Input The reference clock input to the TX PLL.
tx_pma_clkout [ <n> -1:0] Output TX parallel clock output from PMA
rx_pma_clkou t[ <n> -1:0] Output RX parallel clock (recovered clock) output from PMA
rx_cdr_refclk [ <n> -1:0] Input Input reference clock for the RX PFD circuit.
ext_pll_clk [ <p> -1:0] Input This optional signal is created when you select the Use external TX PLL option. If you instantiate a fractional PLL which is external to the Native PHY IP, then connect the output clock of this PLL to ext_pll_clk.
Resets
pll_powerdown [ <p> -1:0] Input When asserted, resets the TX PLL. Active high, edge sensitive reset signal. By default, the Stratix V Native Transceiver PHY IP Cores creates a separate pll_powerdown signal for each logical PLL. However, the Fitter may merge the PLLs if they are in the same transceiver bank. PLLs can only be merged if their pll_powerdown signals are driven from the same source. If the PLLs are in separate transceiver banks, you can choose to drive the pll_powerdown signals separately.
tx_analogreset [ <n> -1:0] Input When asserted, resets for TX PMA, TX clock generation block, and serializer. Active high, edge sensitive reset signal.
tx_digitalreset [ <n> -1:0] Input When asserted, resets the digital components of the TX datapath. Active high, edge sensitive reset signal.If your design includes bonded TX PCS channels, refer to Timing Constraints for Reset Signals when Using Bonded PCS Channels for a SDC constraint you must include in your design.
rx_analogreset [ <n> -1:0] Input When asserted, resets the RX CDR, deserializer, Active high, edge sensitive reset signal.
rx_digitalreset [ <n> -1:0] Input When asserted, resets the digital components of the RX datapath. Active high, edge sensitive reset signal.
Parallel Data Ports
tx_pma_parallel_data [ <n> 80-1:0] Input TX parallel data for the PMA Direct datapath. Driven directly from the FPGA fabric to the PMA. Not used when you enable either the Standard or 10G PCS datapath.
rx_pma_parallel_data [ <n> 80-1:0] Output RX PMA parallel data driven from the PMA to the FPGA fabric. Not used when you enable either the Standard or 10G PCS datapath.
tx_parallel_data [ <n> 64-1:0] Input PCS TX parallel data. Used when you enable either the Standard or 10G datapath. For the Standard datapath, if you turn on Enable simplified data interface , tx_parallel_data includes only the data and control signals necessary for the current configuration. Dynamic reconfiguration of the interface is not supported. For the 10G PCS, if the parallel data interface is less than 64 bits wide, the low‑order bits of tx_parallel_data are valid. For the 10G PCS operating in 66:40 Basic mode, the 66 bus is formed as follows: { tx_parallel_data[63:0],tx_10g_control[0], tx_10g_control[1]}.

For the Standard PCS, refer to Table 12-39: Signal Definiations for tx_parallel_data with and with 8B/10B Encoding for bit definitions. Refer to Table 12-40: Location of Valid Data Words for tx_parallel_data for Various FPGA Fabric to PCS Parameterizations for various parameterizations.

rx_parallel_data [ <n> 64-1:0] Output PCS RX parallel data. Used when you enable either the Standard or 10G datapath. For the Standard datapath, if you turn on Enable simplified data interface , rx_parallel_data includes only the data and control signals necessary for the current configuration. Dynamic reconfiguration of the interface is not supported. For the 10G PCS, if the parallel data interface is less than 64 bits wide, the low‑order bits of rx_parallel_data are valid. For the 10G PCS operating in 66:40 mode, the 66 bus is formed as follows: { rx_parallel_data[63:0],rx_10g_control[0], rx_10g_control[1]}.

For the Standard PCS, refer to Table 12-41: Signal Definitions for rx_parallel_data with and without 8B/10B Encoding for bit definitions. Refer to Table 12-42: Location of Valid Data Words for rx_parallel_data for Various FPGA Fabric to PCS Parameterizations for various parameterizations.

QPI
tx_pma_qpipullup Input Control input port for Quick Path Interconnect (QPI) applications. When asserted, the transmitted pulls the output signal to high state. Use this port only for QPI applications.
tx_pma_qpipulldn Input Control input port for Quick Path Interconnect (QPI) applications. This is an active high signal. When asserted, the transmitter pulls the output signal in low state. Use this port only for QPI applications.
tx_pma_txdetectrx Input When asserted, the RX detect block in the TX PMA detects the presence of a receiver at the other end of the channel. After receiving a tx_pma_txdetectrx request, the receiver detect block initiates the detection process. Only for QPI applications.
tx_pma_rxfound Output Indicates the status of an RX detection in the TX PMA. Only for QPI applications.
rx_pma_qpipulldn Input Control input port for Quick Path Interconnect (QPI) applications. This is an active high signal. When asserted, the receiver pulls the input signal in low state. Use this port only for QPI applications.
TX and RX Serial Ports
tx_serial_data [ <n> -1:0] Output TX differential serial output data.
rx_serial_data [ <n> -1:0] Input RX differential serial output data.
Control and Status Ports
rx_seriallpbken [ <n> -1:0] Input When asserted, the transceiver enters loopback mode. Loopback drives TX data to the RX interface.
rx_set_locktodata [ <n> -1:0] Input When asserted, programs the RX CDR to manual lock to data mode in which you control the reset sequence using the rx_setlocktoref and rx_setlocktodata. Refer to Reset Sequence for CDR in Manual Lock Mode in Transceiver Reset Control in Stratix V Devices for more information about manual control of the reset sequence.
rx_set_locktoref [ <n> -1:0] Input When asserted, programs the RX CDR to manual lock to reference mode in which you control the reset sequence using the rx_setlocktoref and rx_setlocktodata. Refer to Reset Sequence for CDR in Manual Lock Mode in Transceiver Reset Control in Stratix V Devices for more information about manual control of the reset sequence.
pll_locked [ <p> -1:0] Output When asserted, indicates that the PLL is locked to the input reference clock.
rx_is_lockedtodata [ <n> -1:0] Output When asserted, the CDR is locked to the incoming data.
rx_is_lockedtoref [ <n> -1:0] Output When asserted, the CDR is locked to the incoming reference clock.
rx_clkslip [ <n> -1:0] Input When you turn this option on, the deserializer performs clock slip operation to acheive word alignment. The clock slip operation alternates between skipping 1 serial bit and pausing the serial clock for 2 cycles to achieve word alignment. As a result, the period of the parallel clock could be extended by 2 unit intervals (UI) during the clock slip operation. This is an optional control input signal.
Reconfig Interface Ports
reconfig_to_xcvr [( <n> 70-1):0] Input Reconfiguration signals from the Transceiver Reconfiguration Controller. <n> grows linearly with the number of reconfiguration interfaces.
reconfig_from_xcvr [( <n> 46-1):0] Output Reconfiguration signals to the Transceiver Reconfiguration Controller. <n> grows linearly with the number of reconfiguration interfaces.
tx_cal_busy [ <n> -1:0] Output When asserted, indicates that the initial TX calibration is in progress. It is also asserted if reconfiguration controller is reset. It will not be asserted if you manually re-trigger the calibration IP. You must hold the channel in reset until calibration completes.
rx_cal_busy [ <n> -1:0] Output When asserted, indicates that the initial RX calibration is in progress. It is also asserted if reconfiguration controller is reset. It will not be asserted if you manually re-trigger the calibration IP.
Table 218.  Signal Definitions for tx_parallel_data with and without 8B/10B EncodingThe following table shows the signals within tx_parallel_data that correspond to data, control, and status signals. The tx_parallel_data bus is always 64 bits to enable reconfigurations between the Standard and 10G PCS datapaths. If you only enable the Standard datapath, the 20, high-order bits are not used.
TX Data Word Description
Signal Definitions with 8B/10B Enabled
tx_parallel_data[7:0] TX data bus
tx_parallel_data[8] TX data control character
tx_parallel_data[9] Force disparity, validates disparity field.
tx_parallel_data[10] Specifies the current disparity as follows:
  • 1'b0 = positive
  • 1'b1 = negative
Signal Definitions with 8B/10B Disabled
tx_parallel_data[9:0] TX data bus
tx_parallel_data[10] Unused
Table 219.  Location of Valid Data Words for tx_parallel_data for Various FPGA Fabric to PCS Parameterizations The following table shows the valid 11-bit data words with and without the byte deserializer for single- and double-word FPGA fabric to PCS interface widths.
Configuration Bus Used Bits
Single word data bus, byte deserializer disabled [10:0] (word 0)
Single word data bus, byte serializer enabled [32:22], [10:0] (words 0 and 2)
Double word data bus, byte serializer disabled [21:0] (words 0 and 1)
Double word data bus, byte serializer enabled [43:0] (words 0-3)
Table 220.  Signal Definitions for rx_parallel_data with and without 8B/10B EncodingThis table shows the signals within rx_parallel_data that correspond to data, control, and status signals.
RX Data Word Description
Signal Definitions with 8B/10B Enabled
rx_parallel_data[7:0] RX data bus
rx_parallel_data[8] RX data control character
rx_parallel_data[9] Error Detect
rx_parallel_data[10] Word Aligner / synchronization status
rx_parallel_data[11] Disparity error
rx_parallel_data[12] Pattern detect
rx_parallel_data[14:13]

The following encodings are defined:

  • 2’b00: Normal data
  • 2’b01: Deletion
  • 2’b10: Insertion
  • 2’b11: Underflow
rx_parallel_data[15] Running disparity value
Signal Definitions with 8B/10B Disabled
rx_parallel_data[9:0] RX data bus
rx_parallel_data[10] Word Aligner / synchronization status
rx_parallel_data[11] Disparity error
rx_parallel_data[12] Pattern detect
rx_parallel_data[14:13]

The following encodings are defined:

  • 2’b00: Normal data
  • 2’b01: Deletion
  • 2’b10: Insertion (or Underflow with 9’h1FE or 9’h1F7)
  • 2’b11: Overflow
rx_parallel_data[15] Running disparity value
Table 221.  Location of Valid Data Words for rx_parallel_data for Various FPGA Fabric to PCS Parameterizations The following table shows the valid 16-bit data words with and without the byte deserializer for single- and double-word FPGA fabric to PCS interface widths.
Configuration Bus Used Bits
Single word data bus, byte deserializer disabled [15:0] (word 0)
Single word data bus, byte serializer enabled [47:32], [15:0] (words 0 and 2)
Double word data bus, byte serializer disabled [31:0] (words 0 and 1)
Double word data bus, byte serializer enabled [63:0] (words 0-3)