In 8B10B mode, the TX pattern generator can be enabled by changing the value of the TXPRBSSEL port to select the desired pattern.
In 64B66B mode, the TX asynchronous gearbox is enabled, and these additional steps must be taken to enable the TX pattern generator.
1.Put the PCS into reset by asserting TXPCSRESET.
2.Set attribute TXGEARBOX_EN to 1'b0 and TXBUF_EN to 1'b1 via DRP.
3.Set port TXOUTCLKSEL to 3'b010 (TXOUTCLKPMA).
4.Set port TXPRBSSEL to the desired pattern.
5.Release the PCS from reset by deasserting TXPCSRESET and wait for TXRESETDONE to assert.
To return to normal operation using the TX asynchronous gearbox, the above changes must be reversed as described below:
1.Put the PCS into reset by asserting TXPCSRESET.
2.Set the attribute TXGEARBOX_EN to 1'b1 and TXBUF_EN to 1'b0 via the DRP.
3.Set port TXOUTCLKSEL to 3'b101 (TXPROGDIVCLK).
4.Set port TXPRBSSEL to 4'b0000.
5.Release the PCS from reset by deasserting TXPCSRESET and wait for TXRESETDONE to assert.
|
Bits |
Default Value |
Description |
|---|---|---|
|
0 |
0 |
The RXPOLARITY port can invert the polarity of incoming data: 0 = Not inverted. RXP +ve and RXN -ve. |
|
Bits |
Default Value |
Description |
|---|---|---|
|
0 |
0 |
Reset for LPM and DFE datapath. Must be toggled after switching between modes to initialize adaptation. |