mimpid
Implementation ID
- Address
0xF13- Group
- Machine-level CSRs
- Privilege
MRO(privileged spec CSR listing, Machine Information Registers)- Access
- read-only; lowest privilege M (machine)
- Address range
- Standard read-only
- Name in riscv-unified-db
- Machine Implementation ID
Privileged spec: Implementation ID
Description
Reports the vendor-specific implementation ID.
The mimpid CSR provides a unique encoding of the version of the
processor implementation. This register must be readable in any
implementation, but a value of 0 can be returned to indicate that the
field is not implemented. The Implementation value should reflect the
design of the RISC-V processor itself and not any surrounding system.
Note
The format of this field is left to the provider of the architecture source code, but will often be printed by standard tools as a hexadecimal string without any leading or trailing zeros, so the Implementation value can be left-justified (i.e., filled in from most-significant nibble down) with subfields aligned on nibble boundaries to ease human readability.
From riscv-unified-db, reformatted.
Fields
| Field | Bits | Type | Description |
|---|---|---|---|
Implementation | RV32 31-0 / RV64 63-0 | RO | Vendor-specific implementation ID. |
Fields from riscv-unified-db; field types computed by IDL functions there are not shown.
Specification and related pages
- The RISC-V Instruction Set Manual, Volume II: CSR listing (src/priv/csrs.adoc)
- riscv-opcodes csrs.csv
- riscv-unified-db: spec/std/isa/csr/mimpid.yaml
- csrrw, csrrs, csrrc (Zicsr instructions that access CSRs)