From 2c4de6a427dc5ee4a0c289df93c2c4b40ce88bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A0rius=20Mont=C3=B3n?= Date: Tue, 16 Nov 2021 10:27:28 +0100 Subject: [PATCH] Fixed types --- inc/Registers.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/Registers.h b/inc/Registers.h index d0ee542..c0bf58f 100644 --- a/inc/Registers.h +++ b/inc/Registers.h @@ -244,7 +244,7 @@ private: /** * bank of registers (32 regs of 32bits each) */ - std::array register_bank = { {0} }; + std::array register_bank = { {0} }; /** * Program counter (32 bits width) @@ -254,7 +254,8 @@ private: /** * CSR registers (4096 maximum) */ - std::unordered_map CSR{0}; + std::unordered_map CSR; + Performance *perf;