ECCInjectError
)The ECCInjectError
register can be used to insert an ECC
error into either the backing data or meta-data SRAM. This function can be used to test
error correction logic, measurement, and recovery.
The ECC Error injection system works only during writes, which means that the stored data and ECC bits are modified on a write. ECC error is not injected or detected until a write occurs. Hence, a read will complete without ECC errors being detected if a write is not carried out after enabling the ECC error injection register.
Register Offset | 0x040 | |||
---|---|---|---|---|
Bits | Field Name | Attributes | Reset | Description |
[7:0] | Bit Position | RW | 0 | Specifies a bit position to toggle, within an SRAM. The width is SRAM width depends on the micro architecture, but is typically 72 bits for data SRAMs and ≈ 24 bits for Directory SRAM. |
[15:8] | Reserved | RW | — | |
16 | Target | RW | 0 | Setting this bit means the error injection will target the metadata SRAMs. Otherwise, the error injection targets the data SRAMs. |
[31:17] | Reserved | RW | — | — |