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