Skip to main content

Module encoding

Module encoding 

Source
Expand description

This module stamps out CsrEncoding instances corresponding to known riscv64 CSRs, named by their official mnemonic (e.g., sstatus).

Type Aliasesยง

cycle
cycleh
dcsr
dpc
dscratch0
dscratch1
fcsr
fflags
frm
hcontext
hcounteren
hedeleg
hedelegh
henvcfg
henvcfgh
hgatp
hgeie
hgeip
hideleg
hie
hip
hpmcounter3
hpmcounter4
hpmcounter3h
hpmcounter4h
hpmcounter31
hpmcounter31h
hstateen0
hstateen0h
hstateen1
hstateen2
hstateen3
hstateen1h
hstateen2h
hstateen3h
hstatus
htimedelta
htimedeltah
htinst
htval
hvip
instret
instreth
jvt
marchid
mcause
mconfigptr
mcontext
mcounteren
mcountinhibit
mctrctl
mcycle
mcyclecfg
mcyclecfgh
mcycleh
medeleg
medelegh
menvcfg
menvcfgh
mepc
mhartid
mhpmcounter3
mhpmcounter4
mhpmcounter3h
mhpmcounter4h
mhpmcounter31
mhpmcounter31h
mhpmevent3
mhpmevent4
mhpmevent3h
mhpmevent4h
mhpmevent31
mhpmevent31h
mideleg
mie
mimpid
minstret
minstretcfg
minstretcfgh
minstreth
mip
mireg
mireg2
mireg3
mireg4
mireg5
mireg6
misa
miselect
mncause
mnepc
mnscratch
mnstatus
mscratch
mseccfg
mseccfgh
mstateen0
mstateen0h
mstateen1
mstateen2
mstateen3
mstateen1h
mstateen2h
mstateen3h
mstatus
mstatush
mtinst
mtval
mtval2
mtvec
mvendorid
pmpaddr0
pmpaddr1
pmpaddr63
pmpcfg0
pmpcfg1
pmpcfg2
pmpcfg3
pmpcfg14
pmpcfg15
satp
scause
scontext
scounteren
scountinhibit
scountovf
sctrctl
sctrdepth
sctrstatus
seed
senvcfg
sepc
sie
sip
sireg
sireg2
sireg3
sireg4
sireg5
sireg6
siselect
srmcfg
sscratch
ssp
sstateen0
sstateen1
sstateen2
sstateen3
sstatus
stimecmp
stimecmph
stval
stvec
tdata1
tdata2
tdata3
time
timeh
tselect
vcsr
vl
vlenb
vsatp
vscause
vsctrctl
vsepc
vsie
vsip
vsireg
vsireg2
vsireg3
vsireg4
vsireg5
vsireg6
vsiselect
vsscratch
vsstatus
vstart
vstimecmp
vstimecmph
vstval
vstvec
vtype
vxrm
vxsat