Nios® V Processor Reference Manual

ID 683632
Date 1/27/2025
Public
Document Table of Contents

3.3.4. Control and Status Registers

Nios® V/m processor's Control and Status Registers (CSR) is both readable and writable. Nios® V/m updates the CSR during the E-stage of the pipeline.

During the execution of a Nios® V processor application, you may observe the following behaviors:
  • CSR write instruction (in E-stage) is stalled due to the pending memory or multicycle instructions (in M-stage).
  • CSR write instruction (in E-stage) continues after the pending instructions (in Mstage) are complete.
  • If the processor generates an exception during the M-stage, the processor flushes the pending instructions in the pipeline (including the CSR write instruction in the E-stage) and initiates the trap handler to service the exception.