11.6.11 SRAM Error Correction Code Fault Injection Control

Name: ECCFLTCTRL
Address: 0x0102

Bit 3130292827262524 
 FLTINJADR[12:8] 
Access ROROROR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 FLTINJADR[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 FLTINJONCEFLTINJBIT2[5:0] 
Access ROR/W SCR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 FLTINJAEQFLTINJENFLTINJBIT1[5:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 28:16 – FLTINJADR[12:0] Fault Injection Address

only a READ from this address gets injected; Byte address, same as AHB. LSB 2 bits will be ignored.

Bit 14 – FLTINJONCE Fault Injection Once

When this bit is set, the fault will only be injected once upon next read of the SRAM, regardless of address.
Note: When set, this bit is self clearing upon injection of the fault.
ValueDescription
0 Inject fault on every read of the Fault Injection Address
1 Only inject the fault on the next read of the Fault Injection Address

Bits 13:8 – FLTINJBIT2[5:0] Fault Injection Bit 2

This field configures which bit will be flipped on read of the SRAM. For single bit errors, configure this field to be the same as the Fault Injection Bit 1 (FLTINJBIT1) field. For double bit errors, configure this field to be different than the Fault Injection Bit 1 field.

ValueDescription
x00 Inject fault into read of SRAM bit 0
x01 Inject fault into read of SRAM bit 1
... ...
x25 Inject fault into read of SRAM bit 37
x26 Inject fault into read of SRAM bit 38
x27 Reserved
x28 Reserved
... ...
x3F Reserved

Bit 7 – FLTINJAEQ Fault Injection Address Equal

When set, the fault will only be injected when a SRAM read to the address specified by the Fault Injection Address field is performed.

ValueDescription
0
1 Inject fault when SRAM address equals the Fault Injection Address field

Bit 6 – FLTINJEN Fault Injection Enable

When this bit is set, bits will be flipped on the read of data from the SRAM address configured in the Fault Injection Address (FLTINJADR) field. The Fault Injection Address Equal (FLTINJAEQ) bit must also be set.

ValueDescription
0 Fault injection is disabled
1 Fault injection is enabled

Bits 5:0 – FLTINJBIT1[5:0] Fault Injection Bit 1

This field configures which bit will be flipped on read of the SRAM. For single bit errors, configure this field to be the same as the Fault Injection Bit 2 (FLTINGBIT2) field. For double bit errors, configure this field to be different than the Fault Injection Bit 2 field.

ValueDescription
x00 Inject fault into read of SRAM bit 0
x01 Inject fault into read of SRAM bit 1
... ...
x25 Inject fault into read of SRAM bit 37
x26 Inject fault into read of SRAM bit 38
x27 Reserved
x28 Reserved
... ...
x3F Reserved