Nios® V Processor Reference Manual

ID 683632
Date 4/01/2024
Document Table of Contents Timer and Software Interrupt Module

The timer and software interrupt hosts the following registers:
  • Machine Time (mtime) and Machine Time Compare (mtimecmp) registers for timer interrupt.
  • Machine Software Interrupt-pending (msip) field for the software interrupt.

The value of mtime increments after every clock cycle. When the value of mtime is greater or equal to the value of mtimecmp, the timer posts the interrupt.