1+ # Copyright 2025 ETH Zurich and University of Bologna.
2+ # Proprietary, not for release
3+
4+
5+ # Set the Status Definitions that will be used and reported from fault simulation
6+ StatusDefinitions
7+ {
8+ # Redefinition of some built-in status definitions
9+
10+ # Creation of new functional safety definitions
11+ OK "Masked";
12+ FE "Faulty Exception";
13+ FT "Faulty Timeout";
14+ FR "Faulty Return";
15+ CM "Catch HMR Main";
16+ CA "Catch HMR AMO";
17+ CF "Catch HMR Flush";
18+ CD "Catch HMR Data Cache Request";
19+ CI "Catch HMR Instruction Cache Request";
20+ CE "Catch HMR Faulty Exception";
21+ LS "Latent Error Scoreboard";
22+ LF "Latent Error Float Regfile";
23+ LR "Latent Error Integer Regfile";
24+ LI "Latent Error Instruction Cache";
25+ LD "Latent Error Data Cache";
26+ LC "Latent Error CSR";
27+ LM "Latent Error MMU";
28+ LB "Latent Error Branch Predictor";
29+
30+ # Any fault created and not set by a system task will have this status
31+ DefaultStatus (OK)
32+
33+ # Any fault of this status will be chosen by the simulation for injection
34+ Selected (NA)
35+
36+ # Define the merging of faults when multiple tests are run
37+ PromotionTable
38+ {
39+ StatusLabels (OK,FE,FT,FR ,CM, CA, CF, CD, CI , CE, LS, LF, LR, LI, LD, LC, LM, LB)
40+ # OK FE FT FR CM CA CF CD CI CE LS LF LR LI LD LC LM LB
41+ [ - | | | | | | | | | | | | | | | | | ; # OK
42+ - - | | | | | | | | | | | | | | | | ; # FE
43+ - - - | | | | | | | | | | | | | | | ; # FT
44+ - - - - | | | | | | | | | | | | | | ; # FR
45+ - - - - - | | | | | | | | | | | | | ; # CM
46+ - - - - - - | | | | | | | | | | | | ; # CA
47+ - - - - - - - | | | | | | | | | | | ; # CF
48+ - - - - - - - - | | | | | | | | | | ; # CD
49+ - - - - - - - - - | | | | | | | | | ; # CI
50+ - - - - - - - - - - | | | | | | | | ; # CE
51+ - - - - - - - - - - - | | | | | | | ; # LS
52+ - - - - - - - - - - - - | | | | | | ; # LF
53+ - - - - - - - - - - - - - | | | | | ; # LR
54+ - - - - - - - - - - - - - - | | | | ; # LI
55+ - - - - - - - - - - - - - - - | | | ; # LD
56+ - - - - - - - - - - - - - - - - | | ; # LC
57+ - - - - - - - - - - - - - - - - - | ; # LM
58+ - - - - - - - - - - - - - - - - - - ; # LB
59+ ]
60+ }
61+
62+ StatusGroups
63+ {
64+ MA "Masked" (NO, OK, NI);
65+ PE "Program error" (FE, FT, FR);
66+ LE "Dangerous Unobserved" (LS, LF, LR, LI, LD, LC, LM, LB);
67+ CH "Error detected" (CM, CA, CF, CD, CI, CE);
68+ }
69+ }
0 commit comments