In all but one use mode, the TX pattern
generator can be enabled by changing the value of the CH*_TXPRBSSEL port to select the
desired pattern. When the TX asynchronous gearbox is enabled, these additional steps
must be taken to enable the TX pattern generator:
- Put the PCS into reset by following the corresponding TX component reset procedure.
- Set attribute USE_GB to
1'b0
and TXBUF_BYPASS_MODE to1'b0
via the APB3. - Set attribute TXOUTCLKCTL to
3'b010
(TXPHYCLK). - Set port CH*_TXPRBSSEL to the desired pattern.
- Release the PCS from reset by following the corresponding TX component reset procedure.
To return to TX asynchronous gearbox mode,
the above changes must be reversed as described below:
- Put the PCS into reset by following the corresponding TX component reset procedure.
- Set the attribute USE_GB to
1'b1
and TXBUF_BYPASS_MODE to1'b1
via the APB3. - Set attribute TXOUTCLKCTL to
3'b101
(TXPROGDIVCLK). - Set port CH*_TXPRBSSEL to
4'b0000
. - Release the PCS from reset by following the corresponding TX component reset procedure.