mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Apply 'make format'
This commit is contained in:
parent
949be9d0a1
commit
128186ea68
@ -645,14 +645,13 @@ public:
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
VerilatedVpiCbHolder& ho = *it++;
|
VerilatedVpiCbHolder& ho = *it++;
|
||||||
VerilatedVpioVar* const varop = reinterpret_cast<VerilatedVpioVar*>(ho.cb_datap()->obj);
|
VerilatedVpioVar* const varop
|
||||||
|
= reinterpret_cast<VerilatedVpioVar*>(ho.cb_datap()->obj);
|
||||||
void* const newDatap = varop->varDatap();
|
void* const newDatap = varop->varDatap();
|
||||||
void* const prevDatap
|
void* const prevDatap = varop->prevDatap(); // Was malloced when we added the callback
|
||||||
= varop->prevDatap(); // Was malloced when we added the callback
|
|
||||||
VL_DEBUG_IF_PLI(VL_DBG_MSGF("- vpi: value_test %s v[0]=%d/%d %p %p\n",
|
VL_DEBUG_IF_PLI(VL_DBG_MSGF("- vpi: value_test %s v[0]=%d/%d %p %p\n",
|
||||||
varop->fullname(), *(static_cast<CData*>(newDatap)),
|
varop->fullname(), *(static_cast<CData*>(newDatap)),
|
||||||
*(static_cast<CData*>(prevDatap)), newDatap,
|
*(static_cast<CData*>(prevDatap)), newDatap, prevDatap););
|
||||||
prevDatap););
|
|
||||||
if (std::memcmp(prevDatap, newDatap, varop->entSize()) != 0) {
|
if (std::memcmp(prevDatap, newDatap, varop->entSize()) != 0) {
|
||||||
VL_DEBUG_IF_PLI(VL_DBG_MSGF("- vpi: value_callback %" PRId64 " %s v[0]=%d\n",
|
VL_DEBUG_IF_PLI(VL_DBG_MSGF("- vpi: value_callback %" PRId64 " %s v[0]=%d\n",
|
||||||
ho.id(), varop->fullname(),
|
ho.id(), varop->fullname(),
|
||||||
|
Loading…
Reference in New Issue
Block a user