Nios® V Processor Reference Manual

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

4.3.8. Control and Status Registers

Nios® V/g processor's Control and Status Registers (CSR) are both readable and writable. Nios® V/g processor 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 M-stage) 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.