The trace player will call payload.release() only after receiving the END_RESP message.

This commit is contained in:
Éder F. Zulian
2015-11-11 18:39:47 +01:00
parent cef3f87eff
commit 2aeb2351c2

View File

@@ -159,10 +159,10 @@ void TracePlayer<BUSWIDTH>::peqCallback(tlm_generic_payload &payload, const tlm_
// }
sendToTarget(payload, END_RESP, SC_ZERO_TIME);
payload.release();
}
else if (phase == END_RESP)
{
payload.release();
}
else
{