The sanity checking in In the memory peripheral, the handle_operation performs a sanity check on the byte enable transaction parameter:
|
if(byt) { |
|
auto res = std::accumulate(byt, byt + trans.get_byte_enable_length(), 0xff, [](uint8_t a, uint8_t b) { return a | b; }); |
|
if(trans.get_byte_enable_length() != len || res != 0xff) { |
|
SC_REPORT_ERROR("TLM-2", "generic payload transaction with scattered byte enable not supported"); |
|
trans.set_response_status(tlm::TLM_GENERIC_ERROR_RESPONSE); |
|
return 0; |
|
} |
|
} |
is wrong.
The sanity checking in In the memory peripheral, the
handle_operationperforms a sanity check on the byte enable transaction parameter:SystemC-Components/src/components/scc/memory.h
Lines 247 to 254 in cc94c10
is wrong.