GTS Transceiver PHY User Guide

ID 817660
Date 10/07/2024
Public
Document Table of Contents

3.13.2. GTS Attribute Access Method

Using the GTS attribute access method, you update the GTS PMA registers to configure hardware with a specific sequence of commands.
For example, you can configure serial internal loopback, TX and RX polarity inversion using the GTS attribute access method. The GTS attribute access method consists of 4 steps in a sequence as shown below:
  1. Write a data value to the LINK_MNG_SIDE_CPI_REGS register to assert a service request.
  2. Read the PHY_SIDE_CPI_REGS register to confirm the request has been acknowledged and completed; if not, repeat this step.
  3. Write a data value to the LINK_MNG_SIDE_CPI_REGS register to deassert the service request.
  4. Read the PHY_SIDE_CPI_REGS register to confirm the request in step 3 has been acknowledged; if not, repeat this step.
Table 71.  GTS Attribute Access Addresses for JTAG Master that Controls 8 Channels (Enable separate Avalon interface per PMA = OFF)
Channels LINK_MNG_SIDE_CPI_REGS Address PHY_SIDE_CPI_REGS Address
Channel 0 0x000A403C 0x000A4040
Channel 1 0x001A403C 0x001A4040
Channel 2 0x002A403C 0x002A4040
Channel 3 0x003A403C 0x003A4040
Channel 4 0x004A403C 0x004A4040
Channel 5 0x005A403C 0x005A4040
Channel 6 0x006A403C 0x006A4040
Channel 7 0x007A403C 0x007A4040
Table 72.  GTS Attribute Access Data Value 1
  Loopback Mode Polarity Setup
Data field[31:16]

Enable serial loopback: 0x6

Enable TX to RX parallel loopback: 0x4

Disable loopback: 0x0

Reverse: 0x1

Revert back: 0x0

Option field [15:12]

Bit [15] SERVICE_REQ to indicate a request: 0 = no request, 1 = service requested.

Bit [14] RESET: 0 = not in reset, 1 = in reset.

Bit [13] SET_GET: 0 = GET parameters, 1 = SET parameters.

Bit [12]: reserved

Lane number field[11:8] Use 0xA5000[1:0], 0x1A5000[1:0]… 0x7A5000[1:0] to read back logical lane 0, 1 until lane 7’s physical lane number.
  • If return value is 2’b00, physical lane is 0
  • If return value is 2’b01, physical lane is 1
  • If return value is 2’b10, physical lane is 2
  • If return value is 2’b11, physical lane is 3
Opcode field[7:0] 0x40

TX polarity: 0x65

RX polarity: 0x66

You can create a function to write data, or read to and from GTS attribute access addresses. The data is comprised of data field[31:16], option field[15:12], lane number field[11:8], and opcode field[7:0]. The following examples use the tcl process as shown below:
proc attribute_access {{data field} {option field} {lane number field} {opcode field}}
You can use any programming language to perform the read and writes. For the other GTS PMA lanes, refer to GTS Attribute Access Addresses for JTAG Master that Controls 8 channels for LINK_MNG_SIDE_CPI_REGS and PHY_SIDE_CPI_REGS, and refer to GTS Attribute Access Data Value 1 for lane number field information.