SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
signal_class.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2020 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_SIMICS2SYSTEMC_SIGNAL_CLASS_H
17#define SIMICS_SYSTEMC_SIMICS2SYSTEMC_SIGNAL_CLASS_H
18
19
26
27#include <string>
28
29namespace simics {
30namespace systemc {
31namespace simics2systemc {
32
34 : public ConfObject,
37 public Version,
39 public:
40 explicit SignalClass(ConfObjectRef o);
41 void finalize() override;
42
43 // GasketClassInterface
45 void createGasket(iface::SimulationInterface *simulation) override;
46
47 static conf_class_t *registerGasketClass(const char* class_name);
48
49 private:
50 std::string signal_name_;
51 bool initial_level_;
52 ConfObjectRef simulation_ref_;
53 Signal gasket_;
54};
55} // namespace simics2systemc
56} // namespace systemc // NOLINT
57} // namespace simics // NOLINT
58
59#endif
Definition: gasket_class_interface.h:28
Interface to the SystemC simulation.
Definition: simulation_interface_proxy.h:27
Definition: version.h:37
Definition: sc_version_interface.h:27
Interface to the SystemC simulation.
Definition: simulation_interface.h:27
void createGasket(iface::SimulationInterface *simulation) override
static conf_class_t * registerGasketClass(const char *class_name)
iface::ScVersionInterface * version() override
Adapter for Signal gasket.
Definition: signal_gasket_adapter.h:35
Definition: pci_bus_interface.h:24