implements csr mem as std::array
This commit is contained in:
@ -884,8 +884,7 @@ protected:
|
||||
|
||||
instrumentation_if* get_instrumentation_if() override { return &instr_if; };
|
||||
|
||||
using csr_type = util::sparse_array<typename traits<BASE>::reg_t, 1ULL << 12, 12>;
|
||||
using csr_page_type = typename csr_type::page_type;
|
||||
using csr_type = std::array<typename traits<BASE>::reg_t, 1ULL << 12>;
|
||||
csr_type csr;
|
||||
|
||||
std::unordered_map<unsigned, rd_csr_f> csr_rd_cb;
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include <iss/iss.h>
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#ifndef FMT_HEADER_ONLY
|
||||
#define FMT_HEADER_ONLY
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user