Project

General

Profile

Leon3FT fault tolerance » History » Version 6

paul leroy, 25/01/2016 01:53 PM

1 5 paul leroy
h1. Leon3/FT fault tolerance
2 3 paul leroy
3
The explanations hereafter are extracted from the Gaisler IP cores user's manual (grip.pdf).
4 5 paul leroy
There are two aspects in the fault tolerance: register file protection and cache protection. Each aspect is managed using a specific register:
5 3 paul leroy
* Cache protection is managed with the CCR (Cache Control Register) located in ASI 2, offet 0x00
6
* Register file protection is managed with the ASR16, Register protection control register
7 4 paul leroy
8 1 paul leroy
h2. Cache Control Register (ASI 2, offset 0x00)
9
10 6 paul leroy
Cache Control Register Leon3 / Leon3FT
11
31..30 29   28  27..24  23  22  21  20..19  18  17  16
12
RFT  PS  TB      DS  FD  FI  FT          ST  IB
13
15  14  13..12  11..10  9..8  7..6  5   4   3..2  1..0
14
IP  DP  ITE     IDE     DTE   DDE   DF  IF  DCS   ICS
15 5 paul leroy
16 1 paul leroy
h2. Register protection control register (ASR16)
17 5 paul leroy
18
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. 
19
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.
20 4 paul leroy
21 3 paul leroy
*ASI = Address Space Identifier
22
*ASR = Ancillary State Register