V-Series Transceiver PHY IP Core User Guide

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

12.11. Register Interface and Descriptions for Deterministic Latency PHY

Describes the register interface and descriptions for the Deterministic Latency PHY IP core.

The Avalon-MM PHY management interface provides access to the Deterministic Latency PHY PCS and PMA registers that control the TX and RX channels, the PMA powerdown and PLL registers, and loopback modes.

The following figure illustrates the role of the PHY Management module in the Deterministic Latency PHY.

Figure 62. Deterministic Latency PHY IP Core
Table 177.  Avalon-MM PHY Management Interface
Signal Name Direction Description
phy_mgmt_clk Input Avalon-MM clock input. There is no frequency restriction for Stratix V devices; however, if you plan to use the same clock for the PHY management interface and transceiver reconfiguration, you must restrict the frequency range of phy_mgmt_clk to 100-150 MHz to meet the specification for the transceiver reconfiguration clock.
phy_mgmt_clk_reset Input Global reset signal. This signal is active high and level sensitive.
phy_mgmt_address[8:0] Input 9-bit Avalon-MM address.
phy_mgmt_writedata[31:0] Input Input data.
phy_mgmt_readdata[31:0] Output Output data.
phy_mgmt_write Input Write signal.
phy_mgmt_read Input Read signal.
phy_mgmt_waitrequest Output When asserted, indicates that the Avalon-MM slave interface is unable to respond to a read or write request. When asserted, control signals to the Avalon-MM slave interface must remain constant.
Note: Writing to reserved or undefined register addresses may have undefined side effects.

This table specifies the registers that you can access over the PHY management interface using word addresses and a 32-bit embedded processor. A single address space provides access to all registers.

Table 178.  Deterministic Latency PHY IP Core Registers
Word Addr Bits R/W Register Name Description
PMA Common Control and Status Registers
0x021 [31:0] RW cal_blk_powerdown Writing a 1 to channel < n > powers down the calibration block for channel < n > .
0x022 [31:0] R pma_tx_pll_is_locked Bit[P] indicates that the TX CMU PLL (P) is locked to the input reference clock. There is typically one pma_tx_pll_is_locked bit per system.
Reset Control Registers–Automatic Reset Controller
0x041 [31:0] RW reset_ch_bitmask Reset controller channel bitmask for digital resets. The default value is all 1s. Channel < n > can be reset when bit< n > = 1.
0x42 [1:0] W reset_control (write) Writing a 1 to bit 0 initiates a TX digital reset using the reset controller module. The reset affects channels enabled in the reset_ch_bitmask . Writing a 1 to bit 1 initiates a RX digital reset of channels enabled in the reset_ch_bitmask .
R reset_status (read) Reading bit 0 returns the status of the reset controller TX ready bit. Reading bit 1 returns the status of the reset controller RX ready bit.
Reset Controls –Manual Mode
0x044 [31:0] RW reset_fine_control You can use the reset_fine_control register to create your own reset sequence. In manual mode, only the TX reset occurs automatically at power on and when the phy_mgmt_clk_reset is asserted. When pma_rx_setlocktodata or pma_rx_setlocktodata is set, the transceiver PHY is placed in manual mode.
[31:4,0] RW Reserved It is safe to write 0s to reserved bits.
[3] RW reset_rx_digital Writing a 1 causes the internal RX digital reset signal to be asserted, resetting the RX digital channels enabled in reset_ch_bitmask . You must write a 0 to clear the reset condition.
[2] RW reset_rx_analog Writing a 1 causes the internal RX analog reset signal to be asserted, resetting the RX analog logic of all channels enabled in reset_ch_bitmask . You must write a 0 to clear the reset condition.
[1] RW reset_tx_digital Writing a 1 causes the internal TX digital reset signal to be asserted, resetting all channels enabled in reset_ch_bitmask . You must write a 0 to clear the reset condition.
PMA Control and Status Registers
0x061 [31:0] RW phy _ serial _ loopback Writing a 1 to channel < n > puts channel < n > in serial loopback mode. For information about pre‑ or post‑CDR serial loopback modes, refer to Loopback Modes.
0x064 [31:0] RW pma_rx_set_locktodata When set, programs the RX CDR PLL to lock to the incoming data. Bit < n> corresponds to channel < n>.
0x065 [31:0] RW pma_rx_set_locktoref When set, programs the RX CDR PLL to lock to the reference clock. Bit < n> corresponds to channel < n>.
0x066 [31:0] RO pma_rx_is_lockedtodata When asserted, indicates that the RX CDR PLL is locked to the RX data, and that the RX CDR has changed from LTR to LTD mode. Bit <n> corresponds to channel <n>.
0x067 [31:0] RO pma_rx_is_lockedtoref When asserted, indicates that the RX CDR PLL is locked to the reference clock. Bit < n> corresponds to channel < n>.
PCS
0x080 [31:0] RW Lane or group number Specifies lane or group number for indirect addressing, which is used for all PCS control and status registers. For variants that stripe data across multiple lanes, this is the logical group number. For non‑bonded applications, this is the logical lane number.
0x081 [31:6] R pcs8g_rx_status Reserved.
[5:1] R rx_bitslipboundaryselect out This is an output from the bit slip word aligner which shows the number of bits slipped. From block: Word aligner.
[0] R Reserved. -
0x082 [31:1] R pcs8g_tx_status Reserved.
[0] RW Reserved -
0x083 [31:6] RW pcs8g_tx_control Reserved.
[5:1] RW tx_bitslipboundary_select Sets the number of bits that the TX bit slipper needs to slip. To block: Word aligner.
[0] RW tx_invpolarity When set, the TX interface inverts the polarity of the TX data. To block: 8B/10B encoder.
0x084 [31:1] RW Reserved. -
[0] RW rx_invpolarity When set, the RX channels inverts the polarity of the received data. To block: 8B/10B decoder.
0x085 [31:4] RW pcs8g_rx_wa_control Reserved.
[3] RW rx_bitslip Every time this register transitions from 0 to 1, the RX data slips a single bit. To block: Word aligner.
[2] RW rx_bytereversal_enable When set, enables byte reversal on the RX interface. To block: Byte deserializer RX Phase Comp FIFO.
[1] RW rx_bitreversal_enable When set, enables bit reversal on the RX interface. To block: Word aligner.
[0] RW rx_enapatternalign When set in manual word alignment mode, the word alignment logic begins operation when this bit is set. To block: Word aligner.