19#include "target_info_if.h"
20#include <axi/pe/axi_target_pe.h>
31template <
unsigned int BUSWIDTH = 32,
typename TYPES = axi::axi_protocol_types,
int N = 1,
32 sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
36 using payload_type = base::payload_type;
37 using phase_type = base::phase_type;
45 simple_target(sc_core::sc_gen_unique_name(
"simple_target"), socket) {}
48 flavor_e flavor = flavor_e::AXI)
52 this->instance_name = name();
65 size_t get_outstanding_tx_count()
override {
return getAllOutStandingTx(); }
70 void end_of_elaboration()
override {
71 base::end_of_elaboration();
72 set_bw_interface(socket.get_base_port().operator->());
axi_target_pe(const sc_core::sc_module_name &nm, size_t transfer_width, flavor_e flavor=flavor_e::AXI)
simple_target(axi::axi_target_socket< BUSWIDTH, TYPES, N, POL > &socket)
the constructor
protocol engine implementations
TLM2.0 components modeling AHB.