Nios® V Processor: Lockstep Implementation User Guide

ID 833274
Date 4/17/2025
Public
Document Table of Contents

4.4.20. STATISTICS registers: ERRCTRL_FNGISTAT0 and ERRCTRL_FNGISTAT4

These registers are classified as STATISTICS and contain five specific counters.

Table 58.  ERRCTRL_FNGISTAT0
Bit Field Bits Access Type Default Value Description
Reserved [31:20] - - Reserved
CMP Self-Diagnostic alarm counter [19:16] R/WI 0

Comparator Self-Diagnostic alarm counter.

Every time a new ALARM3 is generated, the counter is incremented

Reserved [15:4] - - Reserved
CMP mismatch alarms counter [3:0] R/WI 0

Comparator mismatch alarms’ counter.

Every time a new ALARM1 is generated, the counter is incremented.

Table 59.  ERRCTRL_FNGISTAT4
Bit Field Bits Access Type Default Value Description
Reserved [31:24] - - Reserved
Self-Detection counter [23:20] R/WI 0

Self-detection alarm counter.

Every time a new ALARM19 is generated, the counter is incremented

Timeout counter value [19:16] R/WI 0

Timeout alarms’ counter

Every time a new ALARM16 is generated, the counter is incremented.

Reserved [15:12] - - Reserved
RACK counter value [11:8] R/WI 0

CPU Reset counter.

This counter is incremented when either RACKL or RACKR primary inputs have a rising edge.

This counter does not count alarms generation but is used to generate ALARM18 when the counter value is above the threshold.
Reserved [7:4] - - Reserved
ENABLE counter value [3:0] R/WI 0

ENABLE Command counter.

This counter is incremented when the system state changes from DISABLED to another state.

This counter does not count alarms generation but is used to generate ALARM17 when the counter value is above the threshold.

The counters maintain their value and do not wrap when the maximum value (0xF) is reached (saturation feature). They are incremented only once for each new event generation.

The fRSmartComp increments counters related to ALARM1, ALARM3, and ALARM16 if a Root Fault Injection is performed. On the contrary, the fRSmartComp does not increment counters related to ALARM1, ALARM3, ALARM16, and ALARM19 when the Event Mask Configuration register masks the corresponding alarm.