Compare commits
1 Commits
main
...
feature/is
Author | SHA1 | Date | |
---|---|---|---|
a6c7b1427e |
@ -88,7 +88,7 @@ public:
|
|||||||
if (sizeof(reg_t) != 4) return iss::Err;
|
if (sizeof(reg_t) != 4) return iss::Err;
|
||||||
val = static_cast<reg_t>(time_val >> 32);
|
val = static_cast<reg_t>(time_val >> 32);
|
||||||
}
|
}
|
||||||
return ret?Ok:Err;
|
return ret?iss::Ok:iss::Err;
|
||||||
#else
|
#else
|
||||||
if((addr==iss::arch::time || addr==iss::arch::timeh)){
|
if((addr==iss::arch::time || addr==iss::arch::timeh)){
|
||||||
uint64_t time_val = owner->mtime_i.read();
|
uint64_t time_val = owner->mtime_i.read();
|
||||||
@ -141,7 +141,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
sysc::tgfs::core_complex *const owner;
|
sysc::tgfs::core_complex *const owner;
|
||||||
sc_event wfi_evt;
|
sc_core::sc_event wfi_evt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user