From a6c7b1427ebca6050ac22243c9ab14e09e17a1fa Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sun, 9 Jul 2023 20:15:12 +0200 Subject: [PATCH] fixes missing namespaces --- src/sysc/sc_core_adapter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sysc/sc_core_adapter.h b/src/sysc/sc_core_adapter.h index baaa43b..9544765 100644 --- a/src/sysc/sc_core_adapter.h +++ b/src/sysc/sc_core_adapter.h @@ -88,7 +88,7 @@ public: if (sizeof(reg_t) != 4) return iss::Err; val = static_cast(time_val >> 32); } - return ret?Ok:Err; + return ret?iss::Ok:iss::Err; #else if((addr==iss::arch::time || addr==iss::arch::timeh)){ uint64_t time_val = owner->mtime_i.read(); @@ -141,7 +141,7 @@ public: private: sysc::tgfs::core_complex *const owner; - sc_event wfi_evt; + sc_core::sc_event wfi_evt; };