Nios® V Processor Reference Manual

ID 683632
Date 5/25/2025
Public

Visible to Intel only — GUID: ree1740969924156

Ixiasoft

Document Table of Contents

4.3.2.1. Shadow Register Implementation

Implementation of shadow register is affected by the presence of pre-emption. Without pre-emption in CLINT, the processor accepts a single interrupt only at any given time. On the other hand, pre-emption in CLIC enables processor to prioritize interrupts, thus requiring a new shadow register set to service the new pre-empting interrupts.

Depending on the trap controller, the Nios® V processor core implements shadow register sets differently:

  • CLINT-Direct or CLINT-Vectored – A single common shadow register set
  • CLIC :
    • One shadow register set per interrupt level supported (Number of CLIC interrupt levels), or
    • One shadow register set per pre-empting interrupt level supported (Number of CLIC interrupt levels- 1)