diff --git a/src/iss/arch/riscv_hart_common.h b/src/iss/arch/riscv_hart_common.h index 75ab778..0a5697a 100644 --- a/src/iss/arch/riscv_hart_common.h +++ b/src/iss/arch/riscv_hart_common.h @@ -195,7 +195,17 @@ enum riscv_csr { dcsr = 0x7B0, dpc = 0x7B1, dscratch0 = 0x7B2, - dscratch1 = 0x7B3 + dscratch1 = 0x7B3, + // vector CSR + // URW + vstart = 0x008, + vxsat = 0x009, + vxrm = 0x00A, + vcsr = 0x00F, + // URO + vl = 0xC20, + vtype = 0xC21, + vlenb = 0xC22, }; enum { PRIV_U = 0, PRIV_S = 1, PRIV_M = 3, PRIV_D = 4 };