Nios® V Processor: Lockstep Implementation

ID 833274
Date 10/07/2024
Public
Document Table of Contents

2.2.2.1. Transitioning between System States

The fRSmartComp state is one-hot encoded as follows:

  • 0x01: DISABLED.
  • 0x02: OD
  • 0x04: FCS
  • Others: Reserved/Unused

The system supervisor can read the current system state through the following interfaces:

Interface Actions
Configuration Interface Reading the ERRCTRL_FNPERIPHGI4[7:0] register.
fRNET Interface Reading the FN_PERIPH_GI_4[7:0] output.

To enter the DISABLED state, provide the DISABLE command through the following interfaces:

Interface Actions
Configuration Interface Writing the ERRCTRL_ENABLE_KEY register with the DISABLE key (0xABCDABCD).
fRNET Interface Writing the FN_DISABLE_C input from 2’b10 to 2’b01.

To enter OD state from DISABLED, provide the ENABLE command through the following interfaces:

Interface Actions
Configuration Interface Writing the ERRCTRL_ENABLE_KEY register with the ENABLE key (0x75601522).
fRNET Interface Writing the FN_DISABLE_C input from 2’b01 to 2’b10

The DISABLED state behaves as follows:

  • Provides a standard DCLS configuration in which the fRSmartComp’s diagnostic functionalities are active.
    • The comparator is active unless the DISABLED state has been reached after a comparator mismatch. In such a case, it is not active.
    • The Timeout, the Counters, and the Latent fault safety mechanisms are active.
  • In this state, the fRSmartComp does not take most failure control actions. In particular:
    • If any alarm is generated, the system maintains the DISABLED state and does not activate a Timeout for restoration.
    • If a Comparator enters self-detection, it generates the ALARM2, but it does not activate the dedicated logic to identify the fault position (third comparison).