Skip to content

v3.0 Zicsr Extension Support

Compare
Choose a tag to compare
@AngeloJacobo AngeloJacobo released this 22 May 13:18
· 261 commits to main since this release
e6bb74c

The core now supports Zicsr extension.

Fix

  • Added more debug information to display on the rv32i_soc_TB output
  • Set default_nettype of all modules to none

New

  • rv32i_csr.v = Zicsr extension module
  • csr_op.s, exceptions.s, instret.s, and interrupts.s = assembly testfiles for Zicsr extension

Supported Features of Zicsr Extension Module

  • CSR instructions: CSRRW, CSRRS, CSRRC, CSRRWI, CSRRSI, CSRRCI
  • Interrupts: External Interrupt, Timer Interrupt, Software Interrupt
  • Exceptions: Illegal Instruction, Instruction Address Misaligned, Ecall, Ebreak, Load/Store Address Misaligned
  • All relevant machine level CSRs