E-Tile Transceiver PHY User Guide

ID 683723
Date 4/01/2024
Public
Document Table of Contents

8.3. PMA Error Injection

Inject either a single error or a burst of errors on the TX driver output using PMA attribute codes. This switches the internal TX error injection signal on and off for the number of bits requested.

Figure 111. Injecting Error Bits Using the PMA Attributes Through Avalon® Memory-Mapped Interface
Table 74.  PMA Attribute Code Error Inject Bits
Name Address Bit Range Description
Error Inject 0x001B 0x85[7:0], 0x84[7:0] Number of errors to inject
  1. Set Error Injection for injecting single bit error.
    1. Write 0x84[7:0] = 0x01.
    2. Write 0x85[7:0] = 0x00.
    3. Write 0x86[7:0] = 0x1B.
    4. Write 0x87[7:0] = 0x00.
    5. Write 0x90[0] = 1’b1.
    6. Read 0x8A[7]. It should be 1.
    7. Read 0x8B[0] until it changes to 0.
    8. Write 0x8A[7] to 1'b1 to clear the 0x8A[7] value.
  2. Set Error Injection for injecting burst of 10 bit errors.
    1. Write 0x84[7:0] = 0x0A.
    2. Write 0x85[7:0] = 0x00.
    3. Write 0x86[7:0] = 0x1B.
    4. Write 0x87[7:0] = 0x00.
    5. Write 0x90[0] = 1’b1.
    6. Read 0x8A[7]. It should be 1.
    7. Read 0x8B[0] until it changes to 0.
    8. Write 0x8A[7] to 1'b1 to clear the 0x8A[7] value.