RISC-V Canonical CSR Address Map
riscv_opcodes)RV32 / RV64 + Draft & Vendor Extensions
master
privilegedSummary
Complete canonical RISC-V Control & Status Register address map from riscv-opcodes (460 RV32/RV64 CSR addresses).
Syntax / Encoding
fflags=0x001, frm=0x002, fcsr=0x003, vstart=0x008, vxsat=0x009, vxrm=0x00A, vcsr=0x00F, ssp=0x011
Bitfields (64)
| Bits | Field | Description |
|---|---|---|
| fflags | RISC-V CSR address 0x001 (RV32/RV64) |
| frm | RISC-V CSR address 0x002 (RV32/RV64) |
| fcsr | RISC-V CSR address 0x003 (RV32/RV64) |
| vstart | RISC-V CSR address 0x008 (RV32/RV64) |
| vxsat | RISC-V CSR address 0x009 (RV32/RV64) |
| vxrm | RISC-V CSR address 0x00A (RV32/RV64) |
| vcsr | RISC-V CSR address 0x00F (RV32/RV64) |
| ssp | RISC-V CSR address 0x011 (RV32/RV64) |
| seed | RISC-V CSR address 0x015 (RV32/RV64) |
| jvt | RISC-V CSR address 0x017 (RV32/RV64) |
| cycle | RISC-V CSR address 0xC00 (RV32/RV64) |
| time | RISC-V CSR address 0xC01 (RV32/RV64) |
| instret | RISC-V CSR address 0xC02 (RV32/RV64) |
| hpmcounter3 | RISC-V CSR address 0xC03 (RV32/RV64) |
| hpmcounter4 | RISC-V CSR address 0xC04 (RV32/RV64) |
| hpmcounter5 | RISC-V CSR address 0xC05 (RV32/RV64) |
| hpmcounter6 | RISC-V CSR address 0xC06 (RV32/RV64) |
| hpmcounter7 | RISC-V CSR address 0xC07 (RV32/RV64) |
| hpmcounter8 | RISC-V CSR address 0xC08 (RV32/RV64) |
| hpmcounter9 | RISC-V CSR address 0xC09 (RV32/RV64) |
| hpmcounter10 | RISC-V CSR address 0xC0A (RV32/RV64) |
| hpmcounter11 | RISC-V CSR address 0xC0B (RV32/RV64) |
| hpmcounter12 | RISC-V CSR address 0xC0C (RV32/RV64) |
| hpmcounter13 | RISC-V CSR address 0xC0D (RV32/RV64) |
| hpmcounter14 | RISC-V CSR address 0xC0E (RV32/RV64) |
| hpmcounter15 | RISC-V CSR address 0xC0F (RV32/RV64) |
| hpmcounter16 | RISC-V CSR address 0xC10 (RV32/RV64) |
| hpmcounter17 | RISC-V CSR address 0xC11 (RV32/RV64) |
| hpmcounter18 | RISC-V CSR address 0xC12 (RV32/RV64) |
| hpmcounter19 | RISC-V CSR address 0xC13 (RV32/RV64) |
| hpmcounter20 | RISC-V CSR address 0xC14 (RV32/RV64) |
| hpmcounter21 | RISC-V CSR address 0xC15 (RV32/RV64) |
| hpmcounter22 | RISC-V CSR address 0xC16 (RV32/RV64) |
| hpmcounter23 | RISC-V CSR address 0xC17 (RV32/RV64) |
| hpmcounter24 | RISC-V CSR address 0xC18 (RV32/RV64) |
| hpmcounter25 | RISC-V CSR address 0xC19 (RV32/RV64) |
| hpmcounter26 | RISC-V CSR address 0xC1A (RV32/RV64) |
| hpmcounter27 | RISC-V CSR address 0xC1B (RV32/RV64) |
| hpmcounter28 | RISC-V CSR address 0xC1C (RV32/RV64) |
| hpmcounter29 | RISC-V CSR address 0xC1D (RV32/RV64) |
| hpmcounter30 | RISC-V CSR address 0xC1E (RV32/RV64) |
| hpmcounter31 | RISC-V CSR address 0xC1F (RV32/RV64) |
| vl | RISC-V CSR address 0xC20 (RV32/RV64) |
| vtype | RISC-V CSR address 0xC21 (RV32/RV64) |
| vlenb | RISC-V CSR address 0xC22 (RV32/RV64) |
| mtype | RISC-V CSR address 0xC23 (RV32/RV64) |
| sstatus | RISC-V CSR address 0x100 (RV32/RV64) |
| sie | RISC-V CSR address 0x104 (RV32/RV64) |
| stvec | RISC-V CSR address 0x105 (RV32/RV64) |
| scounteren | RISC-V CSR address 0x106 (RV32/RV64) |
| senvcfg | RISC-V CSR address 0x10A (RV32/RV64) |
| sstateen0 | RISC-V CSR address 0x10C (RV32/RV64) |
| sstateen1 | RISC-V CSR address 0x10D (RV32/RV64) |
| sstateen2 | RISC-V CSR address 0x10E (RV32/RV64) |
| sstateen3 | RISC-V CSR address 0x10F (RV32/RV64) |
| scountinhibit | RISC-V CSR address 0x120 (RV32/RV64) |
| sscratch | RISC-V CSR address 0x140 (RV32/RV64) |
| sepc | RISC-V CSR address 0x141 (RV32/RV64) |
| scause | RISC-V CSR address 0x142 (RV32/RV64) |
| stval | RISC-V CSR address 0x143 (RV32/RV64) |
| sip | RISC-V CSR address 0x144 (RV32/RV64) |
| stimecmp | RISC-V CSR address 0x14D (RV32/RV64) |
| sctrctl | RISC-V CSR address 0x14E (RV32/RV64) |
| sctrstatus | RISC-V CSR address 0x14F (RV32/RV64) |