A newer version of this document is available. Customers should click here to go to the newest version.
3.3.1. General-Purpose Register File
3.3.2. Arithmetic Logic Unit
3.3.3. Multipy and Divide Units
3.3.4. Custom Instruction
3.3.5. Reset and Debug Signals
3.3.6. Control and Status Registers
3.3.7. Exception Controller
3.3.8. Interrupt Controller
3.3.9. Memory and I/O Organization
3.3.10. RISC-V based Debug Module
2.3.6.1. 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.