Deleted Added
sdiff udiff text old ( 13521:74fa3ac44057 ) new ( 13523:de27641700bb )
full compact
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 "tlm_core/2/interfaces/fw_bw_ifs.hh"
24#include "tlm_core/2/sockets/base_socket_if.hh"
25
26namespace tlm
27{
28
29template <unsigned int BUSWIDTH=32,
30 typename FW_IF=tlm_fw_transport_if<>,

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

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