Actions
Leon3FT fault tolerance » History » Revision 7
« Previous |
Revision 7/18
(diff)
| Next »
paul leroy, 25/01/2016 01:56 PM
Leon3/FT fault tolerance¶
The explanations hereafter are extracted from the Gaisler IP cores user's manual (grip.pdf).There are two aspects in the fault tolerance: register file protection and cache protection. Each aspect is managed using a specific register:
- Cache protection is managed with the CCR (Cache Control Register) located in ASI 2, offet 0x00
- Register file protection is managed with the ASR16, Register protection control register
Cache Control Register (ASI 2, offset 0x00)¶
Register protection control register (ASR16)¶
ASR register 16 (%asr16) is used to control the IU/FPU register file SEU protection. It is possible to disable the SEU protection by setting the IDI/FDI bits, and to inject errors using the ITE/FTE bits.
Corrected errors in the register file are counted, and available in ICNT and FCNT fields. The counters saturate at their maximum value (7), and should be reset by software after read-out.
- 31:30 FP FT ID - Defines which SEU protection is implemented in the FPU (see table 1123)
- 29:27 FP RF error counter - Number of detected parity errors in the FP register file.
- 26:18 Reserved for future implementations
- 17 FPU RF Test Enable - Enables FPU register file test mode. Parity bits are xored with TB before written to the FPU register file.
- 16 FP RF protection disable (FDI) - Disables FP RF parity protection when set.
- 15:14 IU FT ID - Defines which SEU protection is implemented in the IU (see table 1123)
- 13:11 IU RF error counter - Number of detected parity errors in the IU register file.
- 10:3 RF Test bits (RFTB) - In test mode, these bits are xored with correct parity bits before written to the register file.
- 2 DP ram select (DP) - Only applicable if the IU or FPU register files consists of two dual-port rams.
- 1 IU RF Test Enable - Enables register file test mode. Parity bits are xored with TB before written to the register file.
- 0 IU RF protection disable (IDI) - Disables IU RF parity protection when set.
*ASI = Address Space Identifier
*ASR = Ancillary State Register
Updated by paul leroy almost 9 years ago · 7 revisions