User guide
Table Of Contents
- Altera Transceiver PHY IP Core User Guide
- Contents
- 1. Introduction to the Protocol-Specific and Native Transceiver PHYs
- 2. Getting Started Overview
- 3. 10GBASE-R PHY IP Core
- 10GBASE-R PHY Release Information
- 10GBASE-R PHY Device Family Support
- 10GBASE-R PHY Performance and Resource Utilization for Stratix IV Devices
- 10GBASE-R PHY Performance and Resource Utilization for Arria V GT Devices
- 10GBASE-R PHY Performance and Resource Utilization for Arria V GZ and Stratix V Devices
- Parameterizing the 10GBASE-R PHY
- General Option Parameters
- Analog Parameters for Stratix IV Devices
- 10GBASE-R PHY Interfaces
- 10GBASE-R PHY Data Interfaces
- 10GBASE-R PHY Status, 1588, and PLL Reference Clock Interfaces
- Optional Reset Control and Status Interface
- 10GBASE-R PHY Clocks for Arria V GT Devices
- 10GBASE-R PHY Clocks for Arria V GZ Devices
- 10GBASE-R PHY Clocks for Stratix IV Devices
- 10GBASE-R PHY Clocks for Stratix V Devices
- 10GBASE-R PHY Register Interface and Register Descriptions
- 10GBASE-R PHY Dynamic Reconfiguration for Stratix IV Devices
- 10GBASE-R PHY Dynamic Reconfiguration for Arria V and Stratix V Devices
- 1588 Delay Requirements
- 10GBASE-R PHY TimeQuest Timing Constraints
- 10GBASE-R PHY Simulation Files and Example Testbench
- 4. Backplane Ethernet 10GBASE-KR PHY IP Core with Early Access FEC Option
- 10GBASE-KR PHY Release Information
- Device Family Support
- 10GBASE-KR PHY Performance and Resource Utilization
- Parameterizing the 10GBASE-KR PHY
- 10GBASE-KR PHY IP Core Functional Description
- 10GBASE-KR PHY Arbitration Logic Requirements
- 10GBASE-KR PHY State Machine Logic Requirements
- Forward Error Correction (Clause 74)
- 10BASE-KR PHY Interfaces
- 10GBASE-KR PHY Clock and Reset Interfaces
- Register Interface Signals
- 10GBASE-KR PHY Register Definitions
- PMA Registers
- PCS Registers
- Creating a 10GBASE-KR Design
- Editing a 10GBASE-KR MIF File
- Design Example
- SDC Timing Constraints
- Acronyms
- 5. 1G/10 Gbps Ethernet PHY IP Core
- 1G/10GbE PHY Release Information
- Device Family Support
- 1G/10 GbE PHY Performance and Resource Utilization
- Parameterizing the 1G/10GbE PHY
- 1GbE Parameters
- Speed Detection Parameters
- PHY Analog Parameters
- 1G/10GbE PHY Interfaces
- 1G/10GbE PHY Clock and Reset Interfaces
- 1G/10GbE PHY Data Interfaces
- XGMII Mapping to Standard SDR XGMII Data
- Serial Data Interface
- 1G/10GbE Control and Status Interfaces
- Register Interface Signals
- 1G/10GbE PHY Register Definitions
- PMA Registers
- PCS Registers
- 1G/10 GbE GMII PCS Registers
- PMA Registers
- 1G/10GbE Dynamic Reconfiguration from 1G to 10GbE
- 1G/10GbE PHY Arbitration Logic Requirements
- 1G/10GbE PHY State Machine Logic Requirements
- Editing a 1G/10GbE MIF File
- Creating a 1G/10GbE Design
- Dynamic Reconfiguration Interface Signals
- 1G/10 Gbps Ethernet PHY IP Core
- Design Example
- Simulation Support
- TimeQuest Timing Constraints
- Acronyms
- 6. XAUI PHY IP Core
- XAUI PHY Release Information
- XAUI PHY Device Family Support
- XAUI PHY Performance and Resource Utilization for Stratix IV Devices
- XAUI PHY Performance and Resource Utilization for Arria V GZ and Stratix V Devices
- Parameterizing the XAUI PHY
- XAUI PHY General Parameters
- XAUI PHY Analog Parameters
- XAUI PHY Analog Parameters for Arria II GX, Cyclone IV GX, HardCopy IV and Stratix IV Devices
- Advanced Options Parameters
- XAUI PHY Configurations
- XAUI PHY Ports
- XAUI PHY Data Interfaces
- XAUI PHY Clocks, Reset, and Powerdown Interfaces
- XAUI PHY PMA Channel Controller Interface
- XAUI PHY Optional PMA Control and Status Interface
- XAUI PHY Register Interface and Register Descriptions
- XAUI PHY Dynamic Reconfiguration for Arria II GX, Cyclone IV GX, HardCopy IV GX, and Stratix IV GX
- XAUI PHY Dynamic Reconfiguration for Arria V, Arria V GZ, Cyclone V and Stratix V Devices
- SDC Timing Constraints
- Simulation Files and Example Testbench
- 7. Interlaken PHY IP Core
- Interlaken PHY Device Family Support
- Parameterizing the Interlaken PHY
- Interlaken PHY General Parameters
- Interlaken PHY Optional Port Parameters
- Interlaken PHY Analog Parameters
- Interlaken PHY Interfaces
- Interlaken PHY Avalon-ST TX Interface
- Interlaken PHY Avalon-ST RX Interface
- Interlaken PHY TX and RX Serial Interface
- Interlaken PHY PLL Interface
- Interlaken Optional Clocks for Deskew
- Interlaken PHY Register Interface and Register Descriptions
- Why Transceiver Dynamic Reconfiguration
- Dynamic Transceiver Reconfiguration Interface
- Interlaken PHY TimeQuest Timing Constraints
- Interlaken PHY Simulation Files and Example Testbench
- 8. PHY IP Core for PCI Express (PIPE)
- PHY for PCIe (PIPE) Device Family Support
- PHY for PCIe (PIPE) Resource Utilization
- Parameterizing the PHY IP Core for PCI Express (PIPE)
- PHY for PCIe (PIPE) General Options Parameters
- PHY for PCIe (PIPE) Interfaces
- PHY for PCIe (PIPE) Input Data from the PHY MAC
- PHY for PCIe (PIPE) Output Data to the PHY MAC
- PHY for PCIe (PIPE) Clocks
- PHY for PCIe (PIPE) Clock SDC Timing Constraints for Gen3 Designs
- PHY for PCIe (PIPE) Optional Status Interface
- PHY for PCIe (PIPE) Serial Data Interface
- PHY for PCIe (PIPE) Register Interface and Register Descriptions
- PHY for PCIe (PIPE) Link Equalization for Gen3 Data Rate
- Enabling Dynamic PMA Tuning for PCIe Gen3
- PHY for PCIe (PIPE) Dynamic Reconfiguration
- PHY for PCIe (PIPE) Simulation Files and Example Testbench
- 9. Custom PHY IP Core
- Device Family Support
- Performance and Resource Utilization
- Parameterizing the Custom PHY
- Interfaces
- 10. Low Latency PHY IP Core
- Device Family Support
- Performance and Resource Utilization
- Parameterizing the Low Latency PHY
- General Options Parameters
- Additional Options Parameters
- PLL Reconfiguration Parameters
- Low Latency PHY Analog Parameters
- Low Latency PHY Interfaces
- Low Latency PHY Data Interfaces
- Optional Status Interface
- Low Latency PHY Clock Interface
- Optional Reset Control and Status Interface
- Register Interface and Register Descriptions
- Dynamic Reconfiguration
- SDC Timing Constraints
- Simulation Files and Example Testbench
- 11. Deterministic Latency PHY IP Core
- Deterministic Latency Auto-Negotiation
- Achieving Deterministic Latency
- Deterministic Latency PHY Delay Estimation Logic
- Deterministic Latency PHY Device Family Support
- Parameterizing the Deterministic Latency PHY
- Interfaces for Deterministic Latency PHY
- Data Interfaces for Deterministic Latency PHY
- Clock Interface for Deterministic Latency PHY
- Optional TX and RX Status Interface for Deterministic Latency PHY
- Optional Reset Control and Status Interfaces for Deterministic Latency PHY
- Register Interface and Descriptions for Deterministic Latency PHY
- Dynamic Reconfiguration for Deterministic Latency PHY
- Channel Placement and Utilization for Deterministic Latency PHY
- SDC Timing Constraints
- Simulation Files and Example Testbench for Deterministic Latency PHY
- 12. Stratix V Transceiver Native PHY IP Core
- Device Family Support for Stratix V Native PHY
- Performance and Resource Utilization for Stratix V Native PHY
- Parameter Presets
- Parameterizing the Stratix V Native PHY
- Interfaces for Stratix V Native PHY
- ×6/×N Bonded Clocking
- xN Non-Bonded Clocking
- SDC Timing Constraints of Stratix V Native PHY
- Dynamic Reconfiguration for Stratix V Native PHY
- Simulation Support
- Slew Rate Settings
- 13. Arria V Transceiver Native PHY IP Core
- 14. Arria V GZ Transceiver Native PHY IP Core
- Device Family Support for Arria V GZ Native PHY
- Performance and Resource Utilization for Arria V GZ Native PHY
- Parameter Presets
- Parameterizing the Arria V GZ Native PHY
- Interfaces for Arria V GZ Native PHY
- SDC Timing Constraints of Arria V GZ Native PHY
- Dynamic Reconfiguration for Arria V GZ Native PHY
- Simulation Support
- 15. Cyclone V Transceiver Native PHY IP Core Overview
- 16. Transceiver Reconfiguration Controller IP Core Overview
- Transceiver Reconfiguration Controller System Overview
- Transceiver Reconfiguration Controller Performance and Resource Utilization
- Parameterizing the Transceiver Reconfiguration Controller IP Core
- Parameterizing the Transceiver Reconfiguration Controller IP Core in Qsys
- Transceiver Reconfiguration Controller Interfaces
- Transceiver Reconfiguration Controller Memory Map
- Transceiver Reconfiguration Controller Calibration Functions
- Transceiver Reconfiguration Controller PMA Analog Control Registers
- Transceiver Reconfiguration Controller EyeQ Registers
- Transceiver Reconfiguration Controller DFE Registers
- Controlling DFE Using Register-Based Reconfiguration
- Transceiver Reconfiguration Controller AEQ Registers
- Transceiver Reconfiguration Controller ATX PLL Calibration Registers
- Transceiver Reconfiguration Controller PLL Reconfiguration
- Transceiver Reconfiguration Controller PLL Reconfiguration Registers
- Transceiver Reconfiguration Controller DCD Calibration Registers
- Transceiver Reconfiguration Controller Channel and PLL Reconfiguration
- Transceiver Reconfiguration Controller Streamer Module Registers
- MIF Generation
- Creating MIFs for Designs that Include Bonded or GT Channels
- MIF Format
- xcvr_diffmifgen Utility
- Reduced MIF Creation
- Changing Transceiver Settings Using Register-Based Reconfiguration
- Changing Transceiver Settings Using Streamer-Based Reconfiguration
- Pattern Generators for the Stratix V and Arria V GZ Native PHYs
- Enabling the Standard PCS PRBS Verifier Using Streamer-Based Reconfiguration
- Enabling the Standard PCS PRBS Generator Using Streamer-Based Reconfiguration
- Enabling the 10G PCS PRBS Generator or Verifier Using Streamer-Based Reconfiguration
- Disabling the Standard PCS PRBS Generator and Verifier Using Streamer-Based Reconfiguration
- Understanding Logical Channel Numbering
- Two PHY IP Core Instances Each with Non-Bonded Channels
- Transceiver Reconfiguration Controller to PHY IP Connectivity
- Merging TX PLLs In Multiple Transceiver PHY Instances
- Sharing Reconfiguration Interface for Multi-Channel Transceiver Designs
- Loopback Modes
- 17. Transceiver PHY Reset Controller IP Core
- Device Family Support for Transceiver PHY Reset Controller
- Performance and Resource Utilization for Transceiver PHY Reset Controller
- Parameterizing the Transceiver PHY Reset Controller IP
- Transceiver PHY Reset Controller Parameters
- Transceiver PHY Reset Controller Interfaces
- Timing Constraints for Bonded PCS and PMA Channels
- 18. Transceiver PLL IP Core for Stratix V, Arria V, and Arria V GZ Devices
- 19. Analog Parameters Set Using QSF Assignments
- Making QSF Assignments Using the Assignment Editor
- Analog Settings for Arria V Devices
- Analog Settings for Arria V Devices
- Analog Settings Having Global or Computed Values for Arria V Devices
- CDR_BANDWIDTH_PRESET
- PLL_BANDWIDTH_PRESET
- XCVR_RX_DC_GAIN
- XCVR_ANALOG_SETTINGS_PROTOCOL
- XCVR_RX_COMMON_MODE_VOLTAGE
- XCVR_RX_LINEAR_EQUALIZER_CONTROL
- XCVR_RX_SD_ENABLE
- XCVR_RX_SD_OFF
- XCVR_RX_SD_ON
- XCVR_RX_SD_THRESHOLD
- XCVR_TX_COMMON_MODE_VOLTAGE
- XCVR_TX_PRE_EMP_1ST_POST_TAP
- XCVR_TX_RX_DET_ENABLE
- XCVR_TX_RX_DET_MODE
- XCVR_TX_VOD
- XCVR_TX_VOD_PRE_EMP_CTRL_SRC
- Analog Settings for Arria V GZ Devices
- Analog Settings for Arria V GZ Devices
- Analog Settings Having Global or Computed Default Values for Arria V GZ Devices
- CDR_BANDWIDTH_PRESET
- master_ch_number
- PLL_BANDWIDTH_PRESET
- reserved_channel
- XCVR_ANALOG_SETTINGS_PROTOCOL
- XCVR_RX_DC_GAIN
- XCVR_RX_LINEAR_EQUALIZER_CONTROL
- XCVR_RX_COMMON_MODE_VOLTAGE
- XCVR_RX_ENABLE_LINEAR_EQUALIZER_PCIEMODE
- XCVR_RX_SD_ENABLE
- XCVR_RX_SD_OFF
- XCVR_RX_SD_ON
- XCVR_RX_SD_THRESHOLD
- XCVR_TX_COMMON_MODE_VOLTAGE
- XCVR_TX_PRE_EMP_PRE_TAP_USER
- XCVR_TX_PRE_EMP_2ND_POST_TAP_USER
- XCVR_TX_PRE_EMP_1ST_POST_TAP
- XCVR_TX_PRE_EMP_2ND_POST_TAP
- XCVR_TX_PRE_EMP_INV_2ND_TAP
- XCVR_TX_PRE_EMP_INV_PRE_TAP
- XCVR_TX_PRE_EMP_PRE_TAP
- XCVR_TX_RX_DET_ENABLE
- XCVR_TX_RX_DET_MODE
- XCVR_TX_RX_DET_OUTPUT_SEL
- XCVR_TX_VOD
- XCVR_TX_VOD_PRE_EMP_CTRL_SRC
- Analog Settings for Cyclone V Devices
- XCVR_IO_PIN_TERMINATION
- XCVR_REFCLK_PIN_TERMINATION
- XCVR_TX_SLEW_RATE_CTRL
- XCVR_VCCR_ VCCT_VOLTAGE
- Analog Settings Having Global or Computed Values for Cyclone V Devices
- CDR_BANDWIDTH_PRESET
- PLL_BANDWIDTH_PRESET
- XCVR_ANALOG_SETTINGS_PROTOCOL
- XCVR_RX_DC_GAIN
- XCVR_RX_LINEAR_EQUALIZER_CONTROL
- XCVR_RX_COMMON_MODE_VOLTAGE
- XCVR_RX_SD_ENABLE
- XCVR_RX_SD_OFF
- XCVR_RX_SD_ON
- XCVR_RX_SD_THRESHOLD
- XCVR_TX_COMMON_MODE_VOLTAGE
- XCVR_TX_PRE_EMP_1ST_POST_TAP
- XCVR_TX_RX_DET_ENABLE
- XCVR_TX_RX_DET_MODE
- XCVR_TX_VOD
- XCVR_TX_VOD_PRE_EMP_CTRL_SRC
- Analog Settings for Stratix V Devices
- Analog PCB Settings for Stratix V Devices
- Analog Settings Having Global or Computed Default Values for Stratix V Devices
- CDR_BANDWIDTH_PRESET
- master_ch_number
- PLL_BANDWIDTH_PRESET
- reserved_channel
- XCVR_ANALOG_SETTINGS_PROTOCOL
- XCVR_GT_RX_DC_GAIN
- XCVR_RX_DC_GAIN
- XCVR_RX_LINEAR_EQUALIZER_CONTROL
- XCVR_GT_RX_COMMON_ MODE_VOLTAGE
- XCVR_GT_RX_CTLE
- XCVR_GT_TX_COMMON_ MODE_VOLTAGE
- XCVR_GT_TX_PRE_EMP_1ST_POST_TAP
- XCVR_GT_TX_PRE_EMP_ INV_PRE_TAP
- XCVR_GT_TX_PRE_EMP_ PRE_TAP
- XCVR_GT_TX_VOD_MAIN_TAP
- XCVR_RX_COMMON_MODE_VOLTAGE
- XCVR_RX_ENABLE_LINEAR_EQUALIZER_PCIEMODE
- XCVR_RX_SD_ENABLE
- XCVR_RX_SD_OFF
- XCVR_RX_SD_ON
- XCVR_RX_SD_THRESHOLD
- XCVR_TX_COMMON_MODE_VOLTAGE
- XCVR_TX_PRE_EMP_PRE_TAP_USER
- XCVR_TX_PRE_EMP_2ND_POST_TAP_USER
- XCVR_TX_PRE_EMP_1ST_POST_TAP
- XCVR_TX_PRE_EMP_2ND_POST_TAP
- XCVR_TX_PRE_EMP_INV_2ND_TAP
- XCVR_TX_PRE_EMP_INV_PRE_TAP
- XCVR_TX_PRE_EMP_PRE_TAP
- XCVR_TX_RX_DET_ENABLE
- XCVR_TX_RX_DET_MODE
- XCVR_TX_RX_DET_OUTPUT_SEL
- XCVR_TX_VOD
- XCVR_TX_VOD_PRE_EMP_CTRL_SRC
- 20. Migrating from Stratix IV to Stratix V Devices Overview
- Differences in Dynamic Reconfiguration for Stratix IV and Stratix V Transceivers
- Differences Between XAUI PHY Parameters for Stratix IV and Stratix V Devices
- Differences Between XAUI PHY Ports in Stratix IV and Stratix V Devices
- Differences Between PHY IP Core for PCIe PHY (PIPE) Parameters in Stratix IV and Stratix V Devices
- Differences Between PHY IP Core for PCIe PHY (PIPE) Ports for Stratix IV and Stratix V Devices
- Differences Between Custom PHY Parameters for Stratix IV and Stratix V Devices
- Differences Between Custom PHY Ports in Stratix IV and Stratix V Devices
- 21. Additional Information for the Transceiver PHY IP Core

a. Sync badcg, (offset 0xA1, bits[15:14])
b. Enable Comma Detect, (offset 0xA1, bit[13])
c. Enable Polarity, (offset, 0xA1, bit[11])
8. Now, you must set the proper value for the Sync State Machine Disable bit.
• If your PCS/PMA interface width is 8 or 10 bits, perform a read-modify-write with a value of 1'b1
to Sync State Machine Disable (offset 0xA4, bit[15]).
• If your PCS/PMA interface width is 16 or 20 bits, perform a read-modify-write with a value of 1'b0
to Sync State Machine Disable (offset 0xA4, bit[15]).
9. To complete the necessary programming, perform read-modify-writes to set the following bits to 0:
a. Auto Byte Align Disable, (offset 0xA6, bit[5])
b. DW Sync State Machine Enable,( offset 0xB8, bit[13])
c. Deterministic Latency State Machine Enable(offset 0xB9, bit[11])
d. Clock Power Down RX, (offset 0xBA, bit[11])
e. PRBS RX Enable, (offset 0xA0, bit[5])
10.Assert the channel reset.
Enabling the Standard PCS PRBS Generator Using Streamer-Based Reconfiguration
Complete the following reads and writes to the Streamer module to enable the PRBS generator in the
Standard PCS:
1. Read the Streamer Module control and status register busy bit (7’h3A, bit[8]) until it is clear.
2. Write the Streamer Module logical channel number to the Streamer logical channel number
register at address 0x38.
3. Set the Streamer Module control and status register Mode bits (7’h3A, bits[3:2]) to 1.
4. Determine the PRBS pattern from Word Aligner Size and Word Aligner Pattern table in Standard PCS
Pattern Generators on page 12-25 and note the corresponding PRBS Pattern Select encoding. For
example, using a 16-bit PCS-PMA width and a PRBS-23 pattern, the corresponding PRBS select value
is 3’b001.
5. Determine the PRBS pattern from the and note the cooresponding PRBS Pattern Select encoding. For
example, using a 16-bit PCS-PMA width and a PRBS-23 pattern, the corresponding PRBS select value
is 3'b001.
6. To complete the necessary programming, perform read-modify-writes to specify the PRBS TX Enable
and at the following addresses:
UG-01080
2015.01.19
Enabling the Standard PCS PRBS Generator Using Streamer-Based Reconfiguration
16-47
Transceiver Reconfiguration Controller IP Core Overview
Altera Corporation
Send Feedback










