Nios® V Processor Reference Manual

ID 683632
Date 5/25/2025
Public

Visible to Intel only — GUID: nzs1741137833278

Ixiasoft

Document Table of Contents

4.3.11.1.2.3. Read/Write clicintip[i] and clicintie[i]

Based on the value of miselect register (Base value of 0x1400):

  • The mireg register represents the clicintip of 32 interrupts, which displays their interrupt pending state.
  • The mireg2 register represents the clicintie of 32 interrupts, which displays their interrupt enable state.
Table 126.   clicintip and clicintie Indirect CSRs
miselect Register Bit Field Description
0x1400 + index mireg 31:0 clicintip of interrupts from { index*32 } to { (index+1)*32 – 1 }
mireg2 31:0 clicintie of interrupts from { index*32 } to { (index+1)*32 – 1 }
To view pending and enable status of Interrupt 7 (Machine Timer Interrupt), index equals to 0.
  • miselect equals to 0x1400.
  • mireg[7] holds the clicintip of Interrupt 7.
  • mireg2[7] holds the clicintie of Interrupt 7.

To view pending and enable status of Interrupt 40 (Platform Interrupt 25), index equals to 1.

  • miselect equals to 0x1401.
  • mireg[8] holds the clicintip of Interrupt 40.
  • mireg2[8] holds the clicintie of Interrupt 40.