1/*****************************************************************************
2
3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4 more contributor license agreements. See the NOTICE file distributed
5 with this work for additional information regarding copyright ownership.
6 Accellera licenses this file to you under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with the
8 License. You may obtain a copy of the License at

--- 6 unchanged lines hidden (view full) ---

15 implied. See the License for the specific language governing
16 permissions and limitations under the License.
17
18 *****************************************************************************/
19
20#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__
21#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__
22
23#include <typeindex>
24
25#include "tlm_core/2/interfaces/fw_bw_ifs.hh"
26#include "tlm_core/2/sockets/base_socket_if.hh"
27
28namespace tlm
29{
30
31template <unsigned int BUSWIDTH=32,
32 typename FW_IF=tlm_fw_transport_if<>,

--- 156 unchanged lines hidden (view full) ---

189
190 explicit tlm_initiator_socket(const char *name) :
191 tlm_base_initiator_socket<BUSWIDTH, tlm_fw_transport_if<TYPES>,
192 tlm_bw_transport_if<TYPES>, N, POL>(name)
193 {}
194
195 virtual const char *kind() const { return "tlm_initiator_socket"; }
196
195 virtual sc_core::sc_type_index
197 virtual std::type_index
198 get_protocol_types() const
199 {
200 return typeid(TYPES);
201 }
202};
203
204} // namespace tlm
205
206#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__ */