systemc: Rename tlm_core header files to have a .hh extentension.

This makes those files more consistent with other headers in gem5. The
top level headers (tlm and tlm.h) and the tlm_utils headers were left
alone since the user might reasonably expect those to have a well known
name. The tlm_core headers by comparison are an implementation detail,
and users shouldn't include them directly by name.

Change-Id: Ibc82e8159e47717c79d76f50ed96fdd619294a06
Reviewed-on: https://gem5-review.googlesource.com/c/15067
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
This commit is contained in:
Gabe Black
2018-12-12 16:43:18 -08:00
parent 8c560b6c80
commit e345154b19
38 changed files with 164 additions and 162 deletions

View File

@@ -23,12 +23,12 @@
#include <cstring>
#include <systemc> // main SystemC header
#include "tlm_core/2/version.h"
#include "tlm_core/1/analysis/analysis.h"
#include "tlm_core/1/req_rsp/req_rsp.h"
#include "tlm_core/2/interfaces/interfaces.h"
#include "tlm_core/2/generic_payload/generic_payload.h"
#include "tlm_core/2/sockets/sockets.h"
#include "tlm_core/2/quantum/quantum.h"
#include "tlm_core/2/version.hh"
#include "tlm_core/1/analysis/analysis.hh"
#include "tlm_core/1/req_rsp/req_rsp.hh"
#include "tlm_core/2/interfaces/interfaces.hh"
#include "tlm_core/2/generic_payload/generic_payload.hh"
#include "tlm_core/2/sockets/sockets.hh"
#include "tlm_core/2/quantum/quantum.hh"
#endif /* __SYSTEMC_EXT_TLM__ */

View File

@@ -17,13 +17,13 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_H__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_HH__
#include "tlm_core/1/analysis/analysis_fifo.h"
#include "tlm_core/1/analysis/analysis_if.h"
#include "tlm_core/1/analysis/analysis_port.h"
#include "tlm_core/1/analysis/analysis_triple.h"
#include "tlm_core/1/analysis/write_if.h"
#include "tlm_core/1/analysis/analysis_fifo.hh"
#include "tlm_core/1/analysis/analysis_if.hh"
#include "tlm_core/1/analysis/analysis_port.hh"
#include "tlm_core/1/analysis/analysis_triple.hh"
#include "tlm_core/1/analysis/write_if.hh"
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_HH__ */

View File

@@ -17,12 +17,12 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_FIFO_H__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_FIFO_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_FIFO_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_FIFO_HH__
#include "tlm_core/1/analysis/analysis_if.h"
#include "tlm_core/1/analysis/analysis_triple.h"
#include "tlm_core/1/req_rsp/channels/fifo/fifo.h"
#include "tlm_core/1/analysis/analysis_if.hh"
#include "tlm_core/1/analysis/analysis_triple.hh"
#include "tlm_core/1/req_rsp/channels/fifo/fifo.hh"
namespace tlm
{
@@ -43,4 +43,4 @@ class tlm_analysis_fifo : public tlm_fifo<T>,
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_FIFO_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_FIFO_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_IF_H__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_IF_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_IF_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_IF_HH__
#include "tlm_core/1/analysis/write_if.h"
#include "tlm_core/1/analysis/write_if.hh"
namespace tlm
{
@@ -35,4 +35,4 @@ class tlm_delayed_analysis_if : public virtual tlm_delayed_write_if<T>
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_IF_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_IF_HH__ */

View File

@@ -17,13 +17,13 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_PORT_H__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_PORT_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_PORT_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_PORT_HH__
#include <algorithm>
#include <deque>
#include "tlm_core/1/analysis/analysis_if.h"
#include "tlm_core/1/analysis/analysis_if.hh"
namespace tlm
{
@@ -75,4 +75,4 @@ class tlm_analysis_port : public sc_core::sc_object,
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_PORT_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_PORT_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_TRIPLE_H__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_TRIPLE_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_TRIPLE_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_TRIPLE_HH__
namespace tlm
{
@@ -50,4 +50,4 @@ struct tlm_analysis_triple
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_TRIPLE_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_ANALYSIS_TRIPLE_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_WRITE_IF_H__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_WRITE_IF_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_WRITE_IF_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_WRITE_IF_HH__
#include <systemc>
@@ -41,4 +41,4 @@ class tlm_delayed_write_if : public virtual sc_core::sc_interface
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_WRITE_IF_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_ANALYSIS_WRITE_IF_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_ADAPTERS_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_ADAPTERS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_ADAPTERS_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_ADAPTERS_HH__
#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.h"
#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh"
namespace tlm
{
@@ -97,4 +97,4 @@ class tlm_slave_to_transport : public sc_core::sc_module
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_ADAPTERS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_ADAPTERS_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_H__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_H__
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_HH__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_HH__
#include <iostream>
@@ -249,4 +249,4 @@ circular_buffer<T>::buf_clear(void *buf, int n)
} // namespace tlm
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_H__ */
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__
//
// This implements put, get and peek
@@ -34,8 +34,8 @@
// actual physical buffer.
//
#include "tlm_core/1/req_rsp/channels/fifo/circular_buffer.h"
#include "tlm_core/1/req_rsp/interfaces/fifo_ifs.h"
#include "tlm_core/1/req_rsp/channels/fifo/circular_buffer.hh"
#include "tlm_core/1/req_rsp/interfaces/fifo_ifs.hh"
namespace tlm
{
@@ -223,8 +223,8 @@ tlm_fifo<T>::update()
} // namespace tlm
#include "tlm_core/1/req_rsp/channels/fifo/fifo_peek.h"
#include "tlm_core/1/req_rsp/channels/fifo/fifo_put_get.h"
#include "tlm_core/1/req_rsp/channels/fifo/fifo_resize.h"
#include "tlm_core/1/req_rsp/channels/fifo/fifo_peek.hh"
#include "tlm_core/1/req_rsp/channels/fifo/fifo_put_get.hh"
#include "tlm_core/1/req_rsp/channels/fifo/fifo_resize.hh"
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_H__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_H__
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__
namespace tlm
{
@@ -84,4 +84,4 @@ tlm_fifo<T>::nb_poke(const T &t, int n)
} // namespace tlm
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_H__ */
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_H__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_H__
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_HH__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_HH__
namespace tlm
{
@@ -110,4 +110,4 @@ tlm_fifo<T>::nb_can_put(tlm_tag<T> *) const
} // namespace tlm
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_H__ */
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_H__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_H__
#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_HH__
#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_HH__
// Resize interface.
namespace tlm
@@ -77,4 +77,4 @@ tlm_fifo<T>::nb_bound(unsigned int new_size)
} // namespace tlm
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_H__ */
#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_HH__ */

View File

@@ -18,11 +18,11 @@
*****************************************************************************/
#ifndef \
__SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_H__
__SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__
#define \
__SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_H__
__SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__
#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.h"
#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh"
namespace tlm
{
@@ -112,4 +112,4 @@ class tlm_slave_imp : private tlm_put_get_imp<RSP, REQ>,
} // namespace tlm
#endif
/* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_H__*/
/*__SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__*/

View File

@@ -17,12 +17,14 @@
*****************************************************************************/
#ifndef __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_H__
#define __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_H__
#ifndef \
__EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_HH__
#define \
__EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_HH__
#include "tlm_core/1/req_rsp/adapters/adapters.h"
#include "tlm_core/1/req_rsp/channels/fifo/fifo.h"
#include "tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.h"
#include "tlm_core/1/req_rsp/adapters/adapters.hh"
#include "tlm_core/1/req_rsp/channels/fifo/fifo.hh"
#include "tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.hh"
namespace tlm
{
@@ -135,4 +137,4 @@ class tlm_transport_channel : public sc_core::sc_module
} // namespace tlm
#endif
/* __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_H__ */
/* __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_CORE_IFS_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_CORE_IFS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_CORE_IFS_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_CORE_IFS_HH__
#include "tlm_core/1/req_rsp/interfaces/tag.h"
#include "tlm_core/1/req_rsp/interfaces/tag.hh"
namespace tlm
{
@@ -132,4 +132,4 @@ class tlm_get_peek_if : public virtual tlm_get_if<T>,
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_CORE_IFS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_CORE_IFS_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_FIFO_IFS_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_FIFO_IFS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_FIFO_IFS_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_FIFO_IFS_HH__
#include "tlm_core/1/req_rsp/interfaces/core_ifs.h"
#include "tlm_core/1/req_rsp/interfaces/core_ifs.hh"
namespace tlm
{
@@ -76,4 +76,4 @@ class tlm_fifo_config_size_if : public virtual sc_core::sc_interface
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_FIFO_IFS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_FIFO_IFS_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_H__
#define __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_H__
#ifndef __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_HH__
#define __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_HH__
#include "tlm_core/1/req_rsp/interfaces/core_ifs.h"
#include "tlm_core/1/req_rsp/interfaces/core_ifs.hh"
namespace tlm
{
@@ -72,4 +72,4 @@ class tlm_slave_if : public virtual tlm_put_if<RSP>,
} // namespace tlm
#endif /* __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_H__ */
#endif /* __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_TAG_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_TAG_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_TAG_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_TAG_HH__
namespace tlm
{
@@ -29,4 +29,4 @@ class tlm_tag
}
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_TAG_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_INTERFACES_TAG_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_HH__
#include "tlm_core/1/req_rsp/interfaces/tag.h"
#include "tlm_core/1/req_rsp/interfaces/tag.hh"
namespace tlm
{
@@ -65,4 +65,4 @@ tlm_event_finder_t<IF, T>::find_event(sc_core::sc_interface *if_p) const
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_HH__ */

View File

@@ -17,11 +17,11 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_NONBLOCKING_PORT_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_NONBLOCKING_PORT_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_NONBLOCKING_PORT_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_NONBLOCKING_PORT_HH__
#include "tlm_core/1/req_rsp/interfaces/core_ifs.h"
#include "tlm_core/1/req_rsp/ports/event_finder.h"
#include "tlm_core/1/req_rsp/interfaces/core_ifs.hh"
#include "tlm_core/1/req_rsp/ports/event_finder.hh"
namespace tlm
{
@@ -85,4 +85,4 @@ class tlm_nonblocking_put_port :
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_NONBLOCKING_PORT_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_NONBLOCKING_PORT_HH__ */

View File

@@ -17,20 +17,20 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_REQ_RSP_H__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_REQ_RSP_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_REQ_RSP_HH__
#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_REQ_RSP_HH__
// The unannotated TLM interfaces.
#include "tlm_core/1/req_rsp/interfaces/core_ifs.h"
#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.h"
#include "tlm_core/1/req_rsp/interfaces/core_ifs.hh"
#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh"
// The channels : tlm_fifo, tlm_transport_channel and tlm_req_rsp_channel.
#include "tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.h"
#include "tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.hh"
// Some non blocking ports to provide static sensitivity.
#include "tlm_core/1/req_rsp/ports/nonblocking_port.h"
#include "tlm_core/1/req_rsp/ports/nonblocking_port.hh"
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_REQ_RSP_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_REQ_RSP_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOADS_ARRAY_H__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOADS_ARRAY_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOADS_ARRAY_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOADS_ARRAY_HH__
#include <vector>
@@ -95,4 +95,4 @@ const char *const tlm_array<T>::kind_string = "tlm_array";
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOADS_ARRAY_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOADS_ARRAY_HH__ */

View File

@@ -18,12 +18,12 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_ENDIAN_CONV_H__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_ENDIAN_CONV_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_ENDIAN_CONV_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_ENDIAN_CONV_HH__
#include <cstring> // std::memset
#include "tlm_core/2/generic_payload/gp.h"
#include "tlm_core/2/generic_payload/gp.hh"
namespace tlm
{
@@ -938,4 +938,4 @@ tlm_from_hostendian(tlm_generic_payload *txn)
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_ENDIAN_CONV_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_ENDIAN_CONV_HH__ */

View File

@@ -17,12 +17,12 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_GENERIC_PAYLOAD_H__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_GENERIC_PAYLOAD_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_GENERIC_PAYLOAD_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_GENERIC_PAYLOAD_HH__
#include "tlm_core/2/generic_payload/endian_conv.h"
#include "tlm_core/2/generic_payload/gp.h"
#include "tlm_core/2/generic_payload/helpers.h"
#include "tlm_core/2/generic_payload/phase.h"
#include "tlm_core/2/generic_payload/endian_conv.hh"
#include "tlm_core/2/generic_payload/gp.hh"
#include "tlm_core/2/generic_payload/helpers.hh"
#include "tlm_core/2/generic_payload/phase.hh"
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_GENERIC_PAYLOAD_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_GENERIC_PAYLOAD_HH__ */

View File

@@ -17,13 +17,13 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_GP_H__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_GP_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_GP_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_GP_HH__
#include <systemc>
#include <typeinfo> // std::type_info
#include "tlm_core/2/generic_payload/array.h"
#include "tlm_core/2/generic_payload/array.hh"
namespace tlm
{
@@ -425,4 +425,4 @@ class tlm_generic_payload
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_GP_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_GP_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_HELPERS_H__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_HELPERS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_HELPERS_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_HELPERS_HH__
namespace tlm
{
@@ -67,4 +67,4 @@ has_host_endianness(tlm_endianness endianness)
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_HELPERS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_HELPERS_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_PHASE_H__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_PHASE_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_PHASE_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_PHASE_HH__
#include <iostream>
#include <typeinfo>
@@ -114,4 +114,4 @@ static class SC_CONCAT_HELPER_(tlm_phase_, name_arg) : \
#undef SC_STRINGIFY_HELPER_DEFERRED_
#undef SC_STRINGIFY_HELPER_MORE_DEFERRED_
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_PHASE_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_GENERIC_PAYLOAD_PHASE_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_DMI_H__
#define __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_DMI_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_DMI_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_DMI_HH__
#include <systemc>
@@ -121,4 +121,4 @@ class tlm_dmi
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_DMI_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_DMI_HH__ */

View File

@@ -17,13 +17,13 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_FW_BW_IFS_H__
#define __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_FW_BW_IFS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_FW_BW_IFS_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_FW_BW_IFS_HH__
#include <systemc>
#include "tlm_core/2/generic_payload/generic_payload.h"
#include "tlm_core/2/interfaces/dmi.h"
#include "tlm_core/2/generic_payload/generic_payload.hh"
#include "tlm_core/2/interfaces/dmi.hh"
namespace tlm
{
@@ -219,4 +219,4 @@ class tlm_bw_transport_if :
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_FW_BW_IFS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_FW_BW_IFS_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_INTERFACES_H__
#define __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_INTERFACES_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_INTERFACES_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_INTERFACES_HH__
#include "tlm_core/2/interfaces/dmi.h"
#include "tlm_core/2/interfaces/fw_bw_ifs.h"
#include "tlm_core/2/interfaces/dmi.hh"
#include "tlm_core/2/interfaces/fw_bw_ifs.hh"
#endif /* __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_INTERFACES_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_INTERFACES_INTERFACES_HH__ */

View File

@@ -17,8 +17,8 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_QUANTUM_GLOBAL_QUANTUM_H__
#define __SYSTEMC_EXT_TLM_CORE_2_QUANTUM_GLOBAL_QUANTUM_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_QUANTUM_GLOBAL_QUANTUM_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_QUANTUM_GLOBAL_QUANTUM_HH__
#include <systemc>
@@ -73,4 +73,4 @@ class tlm_global_quantum
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_QUANTUM_GLOBAL_QUANTUM_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_QUANTUM_GLOBAL_QUANTUM_HH__ */

View File

@@ -17,9 +17,9 @@
*****************************************************************************/
#ifndef ____SYSTEMC_EXT_TLM_CORE_2_QUANTUM_QUANTUM_H__
#define ____SYSTEMC_EXT_TLM_CORE_2_QUANTUM_QUANTUM_H__
#ifndef ____SYSTEMC_EXT_TLM_CORE_2_QUANTUM_QUANTUM_HH__
#define ____SYSTEMC_EXT_TLM_CORE_2_QUANTUM_QUANTUM_HH__
#include "tlm_core/2/quantum/global_quantum.h"
#include "tlm_core/2/quantum/global_quantum.hh"
#endif /* ____SYSTEMC_EXT_TLM_CORE_2_QUANTUM_QUANTUM_H__ */
#endif /* ____SYSTEMC_EXT_TLM_CORE_2_QUANTUM_QUANTUM_HH__ */

View File

@@ -17,11 +17,11 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_H__
#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__
#include "tlm_core/2/interfaces/fw_bw_ifs.h"
#include "tlm_core/2/sockets/base_socket_if.h"
#include "tlm_core/2/interfaces/fw_bw_ifs.hh"
#include "tlm_core/2/sockets/base_socket_if.hh"
namespace tlm
{
@@ -201,4 +201,4 @@ class tlm_initiator_socket : public tlm_base_initiator_socket<
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__ */

View File

@@ -17,10 +17,10 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_SOCKETS_H__
#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_SOCKETS_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_SOCKETS_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_SOCKETS_HH__
#include "tlm_core/2/sockets/initiator_socket.h"
#include "tlm_core/2/sockets/target_socket.h"
#include "tlm_core/2/sockets/initiator_socket.hh"
#include "tlm_core/2/sockets/target_socket.hh"
#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_SOCKETS_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_SOCKETS_HH__ */

View File

@@ -17,11 +17,11 @@
*****************************************************************************/
#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_H__
#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_HH__
#include "tlm_core/2/interfaces/fw_bw_ifs.h"
#include "tlm_core/2/sockets/base_socket_if.h"
#include "tlm_core/2/interfaces/fw_bw_ifs.hh"
#include "tlm_core/2/sockets/base_socket_if.hh"
namespace tlm
{
@@ -220,4 +220,4 @@ class tlm_target_socket :
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_HH__ */

View File

@@ -52,8 +52,8 @@
inline const char* tlm_copyright (void)
--------------------------------------------------------------------------- */
#ifndef __SYSTEMC_EXT_TLM_CORE_2_VERSION_H__
#define __SYSTEMC_EXT_TLM_CORE_2_VERSION_H__
#ifndef __SYSTEMC_EXT_TLM_CORE_2_VERSION_HH__
#define __SYSTEMC_EXT_TLM_CORE_2_VERSION_HH__
namespace tlm
{
@@ -152,4 +152,4 @@ inline const char *tlm_copyright() { return tlm_copyright_string.c_str(); }
} // namespace tlm
#endif /* __SYSTEMC_EXT_TLM_CORE_2_VERSION_H__ */
#endif /* __SYSTEMC_EXT_TLM_CORE_2_VERSION_HH__ */