This register is used to inject errors in data written to the on-chip RAM and can be used to test the error correction and error signaling. The bits set in the register toggle the corresponding data bits of the subsequent data written to the on-chip RAM without affecting the ECC bits written. After the fault has been injected, the Fault Injection Data Register is cleared automatically.
The register is implemented if C_FAULT_INJECT is set to 1.
Note: Injecting faults should be performed in a critical region in
software; that is, writing to this register and the subsequent write to the LMB block RAM
must not be interrupted.
| FI_D | |
|---|---|
| C_LMB_DWIDTH-1 | 0 |
| Bit(s) | Name | Core Access | Reset Value | Description |
|---|---|---|---|---|
| C_LMB_DWIDTH-1:0 | FI_D | W | 0 | Bit positions set to 1 toggle the corresponding bits of the next data word written to the LMB block RAM. The register is automatically cleared after the fault has been injected. The register is 64 bits with 64-bit data width and 32 bits with 32-bit data width. |