GTS Transceiver PHY User Guide: Agilex™ 3 FPGAs and SoCs
ID
848344
Date
8/04/2025
Public
1. GTS Transceiver Overview
2. GTS Transceiver Architecture
3. Implementing the GTS PMA/FEC Direct PHY IP
4. Implementing the GTS System PLL Clocks IP
5. Implementing the GTS Reset Sequencer IP
6. GTS PMA/FEC Direct PHY IP Example Design
7. Design Assistance Tools
8. Debugging GTS Transceiver Links with Transceiver Toolkit
9. Document Revision History for the GTS Transceiver PHY User Guide: Agilex™ 3 FPGAs and SoCs
3.1. IP Overview
3.2. Designing with the GTS PMA/FEC Direct PHY IP
3.3. Configuring the GTS PMA/FEC Direct PHY IP
3.4. Dynamically Reconfigurable PHY
3.5. Signal and Port Reference
3.6. Bit Mapping for PMA, FEC, and PCS Mode PHY TX and RX Datapath
3.7. Clocking
3.8. Custom Cadence Generation Ports and Logic
3.9. Asserting Reset
3.10. Bonding Implementation
3.11. Configuration Register
3.12. Configuring the GTS PMA/FEC Direct PHY IP for Hardware Testing
3.13. Configurable Quartus® Prime Software Settings
3.14. Hardware Configuration Using the Avalon® Memory-Mapped Interface
3.3.1. Preset IP Parameter Settings
3.3.2. Mode and Common Datapath Options
3.3.3. TX Datapath Options
3.3.4. RX Datapath Options
3.3.5. PMA Configuration Rules for Specific Protocol Mode Implementations
3.3.6. FEC Options
3.3.7. PCS Options
3.3.8. Avalon® Memory-Mapped Interface Options
3.3.9. Register Map IP-XACT Support
3.3.10. Analog Parameter Options
3.5.1. TX and RX Parallel and Serial Interface Signals
3.5.2. TX and RX Reference Clock and Clock Output Interface Signals
3.5.3. Reset Signals
3.5.4. FEC Signals
3.5.5. Custom Cadence Control and Status Signals
3.5.6. RX PMA Status Signals
3.5.7. TX and RX PMA and Core Interface FIFO Signals
3.5.8. Avalon Memory-Mapped Interface Signals
3.7.1. Clock Ports
3.7.2. Recommended tx/rx_coreclkin Connection and tx/rx_clkout2 Source
3.7.3. Port Widths and Recommended Connections for tx/rx_coreclkin, tx/rx_clkout, and tx/rx_clkout2
3.7.4. PMA Fractional Mode
3.7.5. Input Reference Clock Buffer Protection
3.7.6. Guidelines for Obtaining the Real-Time GTS TX PLL Lock Status
3.14.2.1. GTS Attribute Access Method Example 1: Enable or Disable Internal Serial Loopback Mode (RX Auto Adaptation Mode)
3.14.2.2. GTS Attribute Access Method Example 2: Enable or Disable Internal Serial Loopback Mode (RX Manual Adaptation Mode)
To Disable Internal Serial Loopback
3.14.2.3. GTS Attribute Access Method Example 3: Enable or Disable Polarity Inversion of the PMA
3.14.2.4. GTS Attribute Access Method Example 4: Enable PRBS Generator and Checker to Run BER Test
6.1. Instantiating the GTS PMA/FEC Direct PHY IP
6.2. Generating the GTS PMA/FEC Direct PHY IP Example Design
6.3. GTS PMA/FEC Direct PHY IP Example Design Functional Description
6.4. Simulating the GTS PMA/FEC Direct PHY IP Example Design Testbench
6.5. Compiling the GTS PMA/FEC Direct PHY IP Example Design
6.6. GTS PMA/FEC Direct PHY IP Dynamically Reconfigurable PHY Example Design
6.7. Generating the GTS PMA/FEC Direct PHY IP Dynamically Reconfigurable Example Design
6.8. GTS PMA/FEC Direct PHY IP Dynamically Reconfigurable PHY Example Design Functional Description
6.9. Simulating the GTS PMA/FEC Direct PHY IP Dynamically Reconfigurable PHY Example Design Testbench
6.10. Compiling the GTS PMA/FEC Direct PHY IP Dynamically Reconfigurable PHY Example Design
8.3.1. Modifying the Design to Enable GTS Transceiver Debug Toolkit
8.3.2. Programming the Design into an Altera FPGA
8.3.3. Loading the Design to the Transceiver Toolkit
8.3.4. Creating Transceiver Links
8.3.5. Running BER Tests
8.3.6. Running Eye Viewer Tests
8.3.7. Running Link Optimization Tests
3.14.2.2. GTS Attribute Access Method Example 2: Enable or Disable Internal Serial Loopback Mode (RX Manual Adaptation Mode)
The following examples demonstrate the steps to enable and disable internal serial loopback for the GTS PMA lane 0 of a quad when RX auto adaptation mode is disabled.
In Quartus® Prime Pro Edition software version 25.1.1, before you enable or disable the internal serial loopback mode, you must store the original RX EQ parameters value (VGA gain, High frequency boost and DFE data tap 1) of the PMA lane(s). You can use the available GTS PMA scratch register to do this. Refer to the GTS PMA/FEC Direct PHY IP Register Map for GTS scratch register information.
After storing the original value, you must set the recommended RX EQ values before you enable the serial loopback mode. You can do this by performing a direct register write update to the GTS PMA RX EQ registers that are described in the GTS PMA/FEC Direct PHY IP Register Map. The recommended values are:
- VGA gain=37
- High frequency boost=0
- DFE data tap 1 =0
To Enable Serial Loopback 28
- Assert TX and RX reset.
- Wait for TX and RX reset ACK.
- Write 0xF9A00F to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 1.
- Write 0xF9200F to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 0.
- Write 0x00A003 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 1.
- Write 0x002003 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 0.
- Write 0x06A040 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 1.
- Write 0x062040 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 0.
- Deassert TX and RX reset.
- Wait for TX and RX reset ACK deassertion.
- Wait until the RX channel is out of reset by checking 0xA00D8[20] = 1.
- Wait for RX status signal to assert high, by checking 0x97814[0] = 1.
- Write 0x0 to 0x919B4[28] to set up the serial loopback path.
- Write 0x1 to 0x9781C[1] to enable the serial loopback mode.
Once you have placed the channel in serial loopback mode, if you want to reset your channel, you have to perform the following steps:
- Assert the TX and RX reset.
- Wait for the TX and RX reset ACK.
- Write 0x0 to 0x9781C[1] to disable the serial loopback mode.
- Deassert the TX and RX reset.
- Wait for the TX and RX reset ACK deassertion.
- Wait until the RX channel is out of reset by checking 0xA00D8[20] = 1.
- Wait for RX status signal to assert high by checking 0x97814[0] = 1.
- Write 0x0 to 0x919B4[28] to set up the serial loopback path.
- Write 0x1 to 0x9781C[1] to enable the serial loopback mode.
You can then check the tx_ready, rx_ready, rx_is_lockedtoref, and rx_is_lockedtodata status signals to ensure that the link is in internal serial loopback mode.
To Disable Internal Serial Loopback
- Assert TX and RX reset.
- Wait for TX and RX reset ACK.
- Write 0xF9A00F to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 1.
- Write 0xF9200F to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 0.
- Write 0x00A003 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 1.
- Write 0x002003 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 0.
- Write 0x00A040 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 1.
- Write 0x002040 to address 0xA403C.
- Poll address 0xA4040 until bit 14 = 0 and bit 15 = 0.
- Deassert TX and RX reset
- Wait for TX and RX reset ACK deassertion.
28 After the channel is placed in GTS PMA channel in internal serial loopback mode and if you need to reset your TX link, you must perform a reset on both the TX and RX PMA of the channel, instead of just a TX reset.