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 virtual void triggered(scla::ProxyInterface *proxy,
30 const char *event_type,
31 const char *class_type,
32 void *object,
33 sc_core::sc_time *timestamp);
34 virtual 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);
40 virtual void fired(scla::ProxyInterface *proxy);
41 virtual void signal_port_value_update(scla::ProxyInterface *proxy,
42 sc_core::sc_object *signal);
43 virtual 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);
47 virtual void b_transport_pre(scla::ProxyInterface *proxy,
48 tlm::tlm_generic_payload *trans,
49 sc_core::sc_time *delay);
50 virtual void get_direct_mem_ptr_pre(scla::ProxyInterface *proxy,
51 tlm::tlm_generic_payload *trans,
52 tlm::tlm_dmi *dmi_data);
53 virtual void transport_dbg_pre(scla::ProxyInterface *proxy,
54 tlm::tlm_generic_payload *trans);
55
56 virtual 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);
60 virtual void invalidate_direct_mem_ptr_pre(scla::ProxyInterface *proxy,
61 uint64 *start_range,
62 uint64 *end_range);
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 void get_direct_mem_ptr_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, tlm::tlm_dmi *dmi_data)
virtual std::string event_header()
virtual void process_state_change(scla::ProxyInterface *proxy, const char *event_type, const char *class_type, void *object, sc_core::sc_time *timestamp, bool internal)
virtual void fired(scla::ProxyInterface *proxy)
virtual void b_transport_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, sc_core::sc_time *delay)
virtual void signal_port_value_update(scla::ProxyInterface *proxy, sc_core::sc_object *signal)
static void initialize(const std::string &module_name)
virtual std::string tlm_header()
virtual void transport_dbg_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans)
virtual void nb_transport_bw_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, tlm::tlm_phase *phase, sc_core::sc_time *delay)
virtual void nb_transport_fw_pre(scla::ProxyInterface *proxy, tlm::tlm_generic_payload *trans, tlm::tlm_phase *phase, sc_core::sc_time *delay)
ScBreakTool(simics::ConfObjectRef o)
Definition: sc_break_tool.h:28
virtual void invalidate_direct_mem_ptr_pre(scla::ProxyInterface *proxy, uint64 *start_range, uint64 *end_range)
virtual std::string signal_port_header()
virtual std::string signal_header()
virtual std::string process_header()
virtual void triggered(scla::ProxyInterface *proxy, const char *event_type, const char *class_type, void *object, sc_core::sc_time *timestamp)
Definition: sc_trace_tool.h:31
Definition: pci_bus_interface.h:24