Compare commits

...

1 Commits

Author SHA1 Message Date
a6c7b1427e fixes missing namespaces 2023-07-09 20:15:12 +02:00

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;
};