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.1.5. TX Error Injection

FHT PMA suppots pogammable umbe of eo ijectio ito the TX datapath.

To cofigue the TX datapath eo ijectio, follow these steps:

  1. Wite cfg_tx_e_ij_mask_cfg (0x45808[21:6]) to a value that you wat to mask the TX data with ad cause a eo ijectio.
  2. Wite cfg_tx_e_ij_mask_load (0x45810[0]) to 1'b1. (self-cleas to 1'b0).
    Note: Whe you wite a 1'b1 to this bit, the iteal 128-bit eo mask egiste shifts left by 16 bits, ad the ew 16-bit mask value eplaces the LSB bits i the egiste. The 64-bit ad 32-bit width modes use oly the MSBs of the datapath. Theefoe, you must load the mask multiple times to shift it ito the MSB bits.
  3. Wite e ij block-wite cfg_tx_e_ij_e (0x45808[0]) to 1'b1 to eable eo ijectio.
  4. Wite cfg_tx_e_ij_tig (0x4580C[0]) to 1'b1 (self-cleas to 1'b0) to iject the eos. Evey time you wite a 1'b1 to this bit, the 128 bit of datapath is XORed with 128 bits of eo mask egiste.
  5. Repeat steps 1 ad 2 to iject moe eos.