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_TARGET_SOCKET_HH__
21#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_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, typename FW_IF=tlm_fw_transport_if<>,
32 typename BW_IF=tlm_bw_transport_if<>>

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

208 explicit tlm_target_socket(const char *name) :
209 tlm_base_target_socket<
210 BUSWIDTH, tlm_fw_transport_if<TYPES>,
211 tlm_bw_transport_if<TYPES>, N, POL>(name)
212 {}
213
214 virtual const char* kind() const { return "tlm_target_socket"; }
215
216 virtual std::type_index
217 get_protocol_types() const
218 {
219 return typeid(TYPES);
220 }
221};
222
223} // namespace tlm
224
225#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_HH__ */