apply clang-format 10 fixes
This commit is contained in:
@ -430,7 +430,9 @@ bool core_complex::read_mem(uint64_t addr, unsigned length, uint8_t* const data,
|
||||
dbus_inc += incr;
|
||||
}
|
||||
SCCTRACE(this->name()) << "[local time: " << delay << "]: finish read_mem(0x" << std::hex << addr << ") : 0x"
|
||||
<< (length == 4 ? *(uint32_t*)data : length == 2 ? *(uint16_t*)data : (unsigned)*data);
|
||||
<< (length == 4 ? *(uint32_t*)data
|
||||
: length == 2 ? *(uint16_t*)data
|
||||
: (unsigned)*data);
|
||||
if(gp.get_response_status() != tlm::TLM_OK_RESPONSE) {
|
||||
return false;
|
||||
}
|
||||
@ -475,7 +477,9 @@ bool core_complex::write_mem(uint64_t addr, unsigned length, const uint8_t* cons
|
||||
else
|
||||
dbus_inc += (delay - quantum_keeper.get_local_time()) / curr_clk;
|
||||
SCCTRACE() << "[local time: " << delay << "]: finish write_mem(0x" << std::hex << addr << ") : 0x"
|
||||
<< (length == 4 ? *(uint32_t*)data : length == 2 ? *(uint16_t*)data : (unsigned)*data);
|
||||
<< (length == 4 ? *(uint32_t*)data
|
||||
: length == 2 ? *(uint16_t*)data
|
||||
: (unsigned)*data);
|
||||
if(gp.get_response_status() != tlm::TLM_OK_RESPONSE) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user