extends CXS packet to work with varying credit settings
All checks were successful
SCC Test/pipeline/head This commit looks good

This commit is contained in:
2025-09-30 07:20:03 +02:00
parent 73e4d5d644
commit d7e691337d
5 changed files with 33 additions and 20 deletions

View File

@@ -5,6 +5,7 @@
#include <cxs/scv/tlm_recording.h>
#include <scc/cci_util.h>
#include <scc/configurer.h>
#include <scc/fifo_w_cb.h>
#include <scc/observer.h>
#include <scc/sc_variable.h>
#include <scc/tracer.h>
@@ -69,7 +70,7 @@ template <unsigned PHIT_WIDTH> struct testbench : public sc_core::sc_module {
tlm::tlm_sync_enum nb_transport_fw(transaction_type& trans, phase_type& phase, sc_core::sc_time& t) {
if(phase == tlm::nw::REQUEST) {
SCCINFO(SCMOD) << "Received non-blocking transaction with phase " << phase.get_name();
SCCDEBUG(SCMOD) << "Received non-blocking transaction with phase " << phase.get_name();
recv.push_back(&trans);
phase = tlm::nw::CONFIRM;
return tlm::TLM_UPDATED;