Nios® V Processor: Lockstep Implementation

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

2.5.1.1. Configuring Alarm Severity

fRSmartComp collects and processes all the alarms. They are individually readable and defined with a default severity.

Optionally, each alarm can be routed to one of three outputs on the System Interface (ERROR, WARNING and INFO) according to its degree of severity. The system supervisor can change the setting depending on the specific application and safety requirements.

Each alarm severity is configured as such:

  • 2’b00: alarm routed to ERROR
  • 2’b01: reserved value
  • 2’b10: alarm routed to WARNING
  • 2’b11: alarm routed to INFO

You can configure the Alarm Severity through the following interfaces:

Table 14.  Configuring the Alarm Severity
Interface Actions
Configuration Interface
  • Writing the ERRCTRL_ROUTA register for ALARM0 to ALARM4
  • Writing the ERRCTRL_ROUTB register for ALARM16 to ALARM19
fRNET Interface
  • Writing the FRNET_PGO_ALARMS_ROUTING_A input for ALARM0 to ALARM4
  • Writing the FRNET_PGO_ALARMS_ROUTING_B input for ALARM16 to ALARM19

The following are the bit field settings to replicate the default alarm severity:

  • ALARM 0 to 11 inclusive: 0x5554A8.
  • ALARM 12 to 23 inclusive: 0x550055