SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
sc_break_tool.h
Go to the documentation of this file.
1/*
2 © 2016 Intel Corporation
3
4 This software and the related documents are Intel copyrighted materials, and
5 your use of them is governed by the express license under which they were
6 provided to you ("License"). Unless the License provides otherwise, you may
7 not use, modify, copy, publish, distribute, disclose or transmit this software
8 or the related documents without Intel's prior written permission.
9
10 This software and the related documents are provided as is, with no express or
11 implied warranties, other than those that are expressly stated in the License.
12*/
13
14#ifndef SIMICS_SYSTEMC_TOOLS_SC_BREAK_TOOL_H
15#define SIMICS_SYSTEMC_TOOLS_SC_BREAK_TOOL_H
16
18#include <string>
19
20namespace simics {
21namespace systemc {
22namespace tools {
23
24class ScBreakTool : public ScTraceTool {
25 public:
26 explicit ScBreakTool(simics::ConfObjectRef o) : ScTraceTool(o) {}
27 void triggered(scla::ProxyInterface *proxy,
28 const char *event_type,
29 const char *class_type,
30 void *object,
31 sc_core::sc_time *timestamp) override;
32 void process_state_change(scla::ProxyInterface *proxy,
33 const char *event_type,
34 const char *class_type,
35 void *object,
36 sc_core::sc_time *timestamp,
37 bool internal) override;
38 void fired(scla::ProxyInterface *proxy) override;
39 void signal_port_value_update(scla::ProxyInterface *proxy,
40 sc_core::sc_object *signal) override;
41 void nb_transport_fw_pre(scla::ProxyInterface *proxy,
42 tlm::tlm_generic_payload *trans,
43 tlm::tlm_phase *phase,
44 sc_core::sc_time *delay) override;
45 void b_transport_pre(scla::ProxyInterface *proxy,
46 tlm::tlm_generic_payload *trans,
47 sc_core::sc_time *delay) override;
48 void get_direct_mem_ptr_pre(scla::ProxyInterface *proxy,
49 tlm::tlm_generic_payload *trans,
50 tlm::tlm_dmi *dmi_data) override;
51 void transport_dbg_pre(scla::ProxyInterface *proxy,
52 tlm::tlm_generic_payload *trans) override;
53
54 void nb_transport_bw_pre(scla::ProxyInterface *proxy,
55 tlm::tlm_generic_payload *trans,
56 tlm::tlm_phase *phase,
57 sc_core::sc_time *delay) override;
58 void invalidate_direct_mem_ptr_pre(scla::ProxyInterface *proxy,
59 uint64 *start_range,
60 uint64 *end_range) override;
61 static void initialize(const std::string &module_name);
62
63 protected:
64 virtual std::string event_header();
65 virtual std::string process_header();
66 virtual std::string signal_header();
67 virtual std::string signal_port_header();
68 virtual std::string tlm_header();
69};
70
71} // namespace tools
72} // namespace systemc
73} // namespace simics
74
75#endif
Definition: sc_break_tool.h:24
virtual std::string event_header()
void nb_transport_bw_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, tlm::tlm_phase *phase, sc_core::sc_time *delay) override
static void initialize(const std::string &module_name)
virtual std::string tlm_header()
void process_state_change(scla::ProxyInterface *proxy, const char *event_type, const char *class_type, void *object, sc_core::sc_time *timestamp, bool internal) override
void nb_transport_fw_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, tlm::tlm_phase *phase, sc_core::sc_time *delay) override
void transport_dbg_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans) override
void triggered(scla::ProxyInterface *proxy, const char *event_type, const char *class_type, void *object, sc_core::sc_time *timestamp) override
void invalidate_direct_mem_ptr_pre(scla::ProxyInterface *proxy, uint64 *start_range, uint64 *end_range) override
ScBreakTool(simics::ConfObjectRef o)
Definition: sc_break_tool.h:26
void signal_port_value_update(scla::ProxyInterface *proxy, sc_core::sc_object *signal) override
virtual std::string signal_port_header()
virtual std::string signal_header()
void get_direct_mem_ptr_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, tlm::tlm_dmi *dmi_data) override
virtual std::string process_header()
void fired(scla::ProxyInterface *proxy) override
void b_transport_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, sc_core::sc_time *delay) override
Definition: sc_trace_tool.h:29
Definition: adapter.h:79