17#include "axi_target.h"
19#include <scc/mt19937_rng.h>
20#include <scc/report.h>
21#include <tlm/scc/tlm_gp_shared.h>
25inline unsigned get_cci_randomized_value(cci::cci_param<int>
const& p) {
34#if SYSTEMC_VERSION < 20250221
37 SC_THREAD(trans_queue);
40unsigned axi_target_base::access(tlm::tlm_generic_payload& trans) {
42 return std::numeric_limits<unsigned>::max();
45void axi_target_base::trans_queue() {
46 auto delay = sc_core::SC_ZERO_TIME;
48 tlm::scc::tlm_gp_shared_ptr trans = peq.
get();
49 isck->b_transport(*trans, delay);
50 pe.operation_resp(*trans,
51 trans->is_write() ? get_cci_randomized_value(pe.wr_resp_delay) : get_cci_randomized_value(pe.rd_resp_delay));
axi_target class instantiates the AXI Protocol Engine. It accesses the Protocol Engine with access() ...
static uint64_t uniform()
T * get() const noexcept
Return the stored pointer.
protocol engine implementations
TLM2.0 components modeling AHB.