F-Tile Architecture and PMA and FEC Direct PHY IP User Guide

ID 683872
Date 11/04/2024
Public
Document Table of Contents

3.14.2.2. FGT Attribute Access Method

Usig the FGT attibute access method, you update the FGT PMA egistes to cofigue hadwae with a specific sequece of commads. You ca use the FGT attibute access method oly whe auto adaptatio is ON.
Fo example, you ca cofigue seial iteal loopback, PRBS geeato ad veifie usig the FGT attibute access method. The FGT attibute access method cosists of 4 steps i a sequece as show below:
  1. Wite data value to LINK_MNG_SIDE_CPI_REGS egiste to asset a sevice equest.
  2. Read PHY_SIDE_CPI_REGS egiste to cofim the equest has bee ackowledged ad completed; if ot, epeat this step.
  3. Wite data value to LINK_MNG_SIDE_CPI_REGS egiste to deasset the sevice equest.
  4. Read PHY_SIDE_CPI_REGS egiste to cofim the equest i step 3 has bee ackowledged; if ot, epeat this step.
Table 95.  FGT Attibute Access Addesses fo JTAG Maste that Cotols 16 chaels
Chaels LINK_MNG_SIDE_CPI_REGS Addess PHY_SIDE_CPI_REGS Addess
Chael 0 o 1 o 2 o 3 0x0009003c 0x00090040
Chael 4 o 5 o 6 o 7 0x0049003c 0x00490040
Chael 8 o 9 o 10 o 11 0x0089003c 0x00890040
Chael 12 o 13 o 14 o 15 0x00C9003c 0x00C90040
Table 96.  FGT Attibute Access Data Value 1
  Loopback Mode TX ad RX PRBS Selectio Polaity Setup BER Measuemet Stat/Stop Test
Data field[31:16]

Eable Seial Loopback: 0x6

Eable TX to RX Paallel Loopback: 0x4

Disable Loopback: 0x0

PRBS7: 0x208

PRBS9: 0x249

PRBS13: 0x965

PRBS15: 0xA69

PRBS23: 0x2CB

PRBS31: 0x30C

QPRBS13: 0x34D

PRBS13Q: 0x820

PRBS31Q: 0x861

SSPR: 0x8A2

SSPR1: 0x8E3

SSPRQ: 0x924

Revese: 0x1

Revet back: 0x0

0x14

Stat: 0x20

Stop: 0x21

Optio field [15:12]

Bit [15] SERVICE_REQ to idicate a equest: 0 = o equest, 1 = sevice equested.

Bit [14] RESET: 0 = ot i eset, 1 = i eset.

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

Bit [12]: eseved

Lae umbe field[11:8] Use 0xFFFFC[1:0], 0x1FFFFC[1:0]… 0xFFFFFC[1:0] to ead back logical lae 0, 1 util lae 15’s physical lae umbe.
  • If etu value is 2’b00, physical lae is 0
  • If etu value is 2’b01, physical lae is 1
  • If etu value is 2’b10, physical lae is 2
  • If etu value is 2’b11, physical lae is 3
Opcode field[7:0] 0x40 0x41

TX polaity: 0x65

RX polaity: 0x66

0x45 0x0F
Note: 0x0F is ot equivalet to 0xF
Table 97.  FGT Attibute Access Data Value 2
  Get Status Eo Numbe to Iject Eable Eo Ijectio Read Results Fiish BER Measuemet
Data field[31:16]

0x0

0x[Eo_Num]

0x23

0x0

0x0

Optio field [15:12]

Bit [15] SERVICE_REQ to idicate a equest: 0 = o equest, 1 = sevice equested.

Bit [14] RESET: 0 = ot i eset, 1 = i eset.

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

Bit [12]: eseved

Lae umbe field[11:8] Use 0xFFFFC[1:0], 0x1FFFFC[1:0]… 0xFFFFFC[1:0] to ead back logical lae 0, 1 util lae 15’s physical lae umbe.
  • If etu value is 2’b00, physical lae is 0
  • If etu value is 2’b01, physical lae is 1
  • If etu value is 2’b10, physical lae is 2
  • If etu value is 2’b11, physical lae is 3
Opcode field[7:0] 0x49: Get Test status

0x0D: Get PMA status

0x42 0x0F
Note: 0x0F is ot equivalet to 0xF
  • LSB: 0x4A
  • Middle: 0x4B
  • MSB: 0x4C
0x41
Table 98.  FGT Attibute Access Data Value 3
  RX CDR Clock VSR Mode
Data field[31:16]

Bit [31:30]: Lae ID to use as souce fo x_cd_divclk_lik0

Bit [29]:

1'b1: Eable x_cd_divclk_lik0

1'b0: Disable x_cd_divclk_lik0

Bit [28:25]: Read oly fo GET commad to etu the lae ID souce

0x0: x_cd_divclk_lik0 is eabled with lae 0 as souce

0x1: x_cd_divclk_lik0 is eabled with lae 1 as souce

0x2: x_cd_divclk_lik0 is eabled with lae 2 as souce

0x3: x_cd_divclk_lik0 is eabled with lae 3 as souce

0xF: x_cd_divclk_lik0 is disabled

Bit [24:16]: Reseved

Bit [31:16]: VSR_MODE_HIGH_LOSS: 0x15, VSR_MODE_LOW_LOSS: 0x14, VSR_MODE_DISABLE: 0x10

Optio field[15:12]

Bit [15] SERVICE_REQ to idicate a equest: 0 = o equest, 1 = sevice equested.

Bit [14] RESET: 0 = ot i eset, 1 = i eset.

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

Bit [12]: eseved

Lae umbe field[11:8] Use 0xFFFFC[1:0], 0x1FFFFC[1:0]… 0xFFFFFC[1:0] to ead back logical lae 0, 1 util lae 15’s physical lae umbe.
  • If etu value is 2’b00, physical lae is 0
  • If etu value is 2’b01, physical lae is 1
  • If etu value is 2’b10, physical lae is 2
  • If etu value is 2’b11, physical lae is 3
Opcode field[7:0] 0xB1 0x64
You ca ceate a fuctio to wite data, o ead to ad fom FGT attibute access addesses. The data is compised of data field[31:16], optio field[15:12], lae umbe field[11:8], ad opcode field[7:0]. The followig examples use the tcl pocess as show below:
poc attibute_access {{data field} {optio field} {lae umbe field} {opcode field}}
You ca use ay pogammig laguage to pefom the ead ad wites. Fo the othe FGT PMA laes, efe to FGT Attibute Access Addesses fo JTAG Maste that Cotols 16 chaels fo LINK_MNG_SIDE_CPI_REGS ad PHY_SIDE_CPI_REGS, ad efe to FGT Attibute Access Data Value 1 fo lae umbe field ifomatio.