diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-29 19:48:51 -0700 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-29 19:48:51 -0700 |
commit | 77362855bdce1fac09b20243ed2524b356620ace (patch) | |
tree | bfd4d2ba375827699c4a7f18a795060de04da555 /riscv/csrs.h | |
parent | 9ac2dcf9a58846179d93eaebfe8f3b1b30f1d280 (diff) | |
download | spike-77362855bdce1fac09b20243ed2524b356620ace.zip spike-77362855bdce1fac09b20243ed2524b356620ace.tar.gz spike-77362855bdce1fac09b20243ed2524b356620ace.tar.bz2 |
Convert vlenb to csr_t
Since it's constant, no new trace events will be seen.
Diffstat (limited to 'riscv/csrs.h')
-rw-r--r-- | riscv/csrs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/csrs.h b/riscv/csrs.h index ff84246..cfd766e 100644 --- a/riscv/csrs.h +++ b/riscv/csrs.h @@ -616,7 +616,7 @@ class sentropy_csr_t: public csr_t { class vector_csr_t: public basic_csr_t { public: - vector_csr_t(processor_t* const proc, const reg_t addr, const reg_t mask); + vector_csr_t(processor_t* const proc, const reg_t addr, const reg_t mask, const reg_t init=0); virtual void verify_permissions(insn_t insn, bool write) const override; // Write without regard to mask, and without touching mstatus.VS void write_raw(const reg_t val) noexcept; |