Nios® V Processor: Lockstep Implementation User Guide

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

3.2.5.2.1. Automatic CPUs Reset Request

The fRSmartComp can generate an automatic reset request to the Host CPU and Agent CPU upon a mismatch event through the fRSmartComp’s Extended Reset interface.

The automatic reset request is generated when all conditions are fulfilled:

  • There is a comparator mismatch (ALARM1 is triggered). This implies that the fRSmartComp is enabled.
  • There is no comparator self-detection (ALARM2 stays at 1’b0). This means that the comparator is working correctly (no self-detection), thus the automatic reset request generation is permitted.
  • The RRACM field in the DCLSM_CTRL register is programmed to 2’b10.
To enable the automatic CPU reset request, use the interface in the following table.
Table 30.  Enabling Automatic CPU Reset Request
Interface Actions
Configuration Interface
  1. Write DCLSM_CTRL[31:25] with value=0x63 to unlock the register.
  2. Verify the register is unlocked through DCLSM_CTRL[24].
  3. Write the DCLSM_CTRL[17:16] to 2’b10.
  4. Write DCLSM_CTRL[31:25] with value=0x00 to lock the register.