Minres / SystemC-Components

A SystemC productivity library: https://minres.github.io/SystemC-Components/
https://www.minres.com/#opensource
Apache License 2.0
81 stars 21 forks source link

scc::tlm_target: fixed debug write access #30

Closed tk-ka closed 2 years ago

tk-ka commented 2 years ago

Debug write accesses through a scc::tlm_target socket are not working because the payload command is by mistake checked twice for tlm::TLM_READ_COMMAND. To fix that, the second check should pass for write accesses.

eyck commented 2 years ago

Thx for providing a fix