scc
2025.09
SystemC components library
tlm_recorder.cpp
1
/*******************************************************************************
2
* Copyright 2016-2025 MINRES Technologies GmbH
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*******************************************************************************/
16
17
#include "tlm_recorder.h"
18
#include "
tlm/nw/tlm_network_sockets.h
"
19
#include <tlm/scc/scv/tlm_extension_recording_registry.h>
20
#include <tlm/scc/tlm_id.h>
21
22
namespace
tlm
{
23
namespace
nw
{
24
namespace
scv
{
25
void
record(SCVNS scv_tr_handle& handle, tlm::nw::tlm_network_payload_base& o) {
26
handle.record_attribute(
"trans.ptr"
,
reinterpret_cast<
uintptr_t
>
(&o));
27
}
28
}
// namespace scv
29
}
// namespace nw
30
}
// namespace tlm
tlm::nw::scv
SCC SCV4TLM classes and functions.
Definition
cxs_tlm.h:546
tlm::nw
SCC TLM utilities.
Definition
cxs_tlm.h:544
tlm
SystemC TLM.
Definition
dmi_mgr.h:19
tlm_network_sockets.h
The SystemC Transaction Level Model (TLM) Network TLM utilities.
src
sysc
tlm
nw
scv
tlm_recorder.cpp
Generated by
1.15.0