fixes missing namespaces

This commit is contained in:
Eyck Jentzsch 2023-07-09 20:15:12 +02:00
parent e95f422aab
commit 1cef7de8c7

View File

@ -88,7 +88,7 @@ public:
if (sizeof(reg_t) != 4) return iss::Err;
val = static_cast<reg_t>(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;
};