A simple adapter that combines incoming AV and PV requests into mixed requests.
More...
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
class tlm::scc::tlm2_pv_av_initiator_adapter< BUSWIDTH, TYPES, N, POL, TSOCKET_TYPE, ISOCKET_TYPE >
A simple adapter that combines incoming AV and PV requests into mixed requests.
This adapter can be used to connect a TLM2_AV and/or TLM2_PV initiator to a TLM2_PV_AV target. It combines incoming AV and PV requests into one TLM2 socket request.
- Template Parameters
-
| BUSWIDTH | The width of the data bus in bits. |
Definition at line 144 of file tlm2_pv_av.h.
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
Constructor with default name.
Definition at line 160 of file tlm2_pv_av.h.
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
Constructor.
- Parameters
-
| nm | The name of the module. |
Definition at line 167 of file tlm2_pv_av.h.
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
Binds the av target socket of the adapter to the given initiator socket.
- Parameters
-
| tsck | The initiator socket to bind to. |
Definition at line 184 of file tlm2_pv_av.h.
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>
Binds the pv target socket of the adapter to the given initiator socket.
- Parameters
-
| tsck | The initiator socket to bind to. |
Definition at line 175 of file tlm2_pv_av.h.
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND, typename TSOCKET_TYPE = tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL>, typename ISOCKET_TYPE = tlm::tlm_initiator_socket<BUSWIDTH, TYPES, N, POL>>