Archived
fix find_package use and debug access alignment check
This commit is contained in:
1 parent
9c8b72693e
commit
09b01af3fa
4 files changed
+7
-5
No files matched your search
@@ -541,7 +541,7 @@ iss::status riscv_hart_m_p<BASE>::write(const address_type type, const access_ty
|
||||
return iss::Err;
|
||||
}
|
||||
try {
|
||||
if(length>1 && (addr&(length-1))){
|
||||
if(!(access && iss::access_type::DEBUG) && length>1 && (addr&(length-1))){
|
||||
this->reg.trap_state = 1<<31 | 6<<16;
|
||||
fault_data=addr;
|
||||
return iss::Err;
|
||||
|
||||
Reference in new issue
Block a user