mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 03:47:15 -04:00
Fix narrowing conversion warning in cosim_dpi.cc
This commit is contained in:
parent
a46ff07489
commit
e84e7de53f
1 changed files with 4 additions and 4 deletions
|
@ -49,13 +49,13 @@ void riscv_cosim_notify_dside_access(Cosim *cosim, svBit store,
|
|||
assert(cosim);
|
||||
|
||||
cosim->notify_dside_access(
|
||||
DSideAccessInfo{.store = store,
|
||||
DSideAccessInfo{.store = store != 0,
|
||||
.data = data[0],
|
||||
.addr = addr[0],
|
||||
.be = be[0],
|
||||
.error = error,
|
||||
.misaligned_first = misaligned_first,
|
||||
.misaligned_second = misaligned_second});
|
||||
.error = error != 0,
|
||||
.misaligned_first = misaligned_first != 0,
|
||||
.misaligned_second = misaligned_second != 0});
|
||||
}
|
||||
|
||||
void riscv_cosim_set_iside_error(Cosim *cosim, svBitVecVal *addr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue