NucleusRV Configuration Options Reference
Complete reference for the Configs class parameters.
Case Class Definition
case class Configs(
XLEN : Int = 32,
M : Boolean = true,
F : Boolean = true,
C : Boolean = false,
A : Boolean = true,
Zicsr : Boolean = true,
TRACE : Boolean = true,
HARTID : Int = 1,
ARCHID : Int = 1
)
Parameter Details
XLEN
Type:
IntDefault:
32Support: Only 32 is currently supported.
M
Type:
BooleanDefault:
trueDescription: Enables the Multiply/Divide Unit (MDU).
F
Type:
BooleanDefault:
trueDescription: Enables the Floating-Point Unit (FPU).
C
Type:
BooleanDefault:
falseDescription: Enables Compressed instruction support (Realigner and CompressedDecoder).
A
Type:
BooleanDefault:
trueDescription: Enables Atomic instruction support (AMOALU and ReservationFile).
Zicsr
Type:
BooleanDefault:
trueDescription: Enables CSR instructions and the CSR file.
TRACE
Type:
BooleanDefault:
trueDescription: Enables the RVFI (RISC-V Formal Interface) tracing ports.
HARTID
Type:
IntDefault:
1Description: Sets the hardware thread ID.
ARCHID
Type:
IntDefault:
1Description: Sets the architecture ID.