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_SYSTEMC2SIMICS_SIGNAL_CLASS_H
17#define SIMICS_SYSTEMC_SYSTEMC2SIMICS_SIGNAL_CLASS_H
18
23
24#include <string>
25
26namespace simics {
27namespace systemc {
28namespace systemc2simics {
29
30class SignalClass : public ConfObject,
32 public Version {
33 public:
34 explicit SignalClass(ConfObjectRef o);
35 void finalize() override;
37 void createGasket(iface::SimulationInterface *simulation) override;
38 static conf_class_t *registerGasketClass(const char* class_name);
39
40 private:
41 std::string sc_object_;
42 ConfObjectRef simulation_ref_;
43 Connector<Signal> signal_;
44};
45} // namespace systemc2simics
46} // namespace systemc
47} // namespace simics
48
49#endif
Provides get/set functionality for a connector attribute, typically registered by using the Connector...
Definition: connector.h:41
Definition: gasket_class_interface.h:28
Definition: version.h:37
Definition: sc_version_interface.h:27
Interface to the SystemC simulation.
Definition: simulation_interface.h:27
static conf_class_t * registerGasketClass(const char *class_name)
void createGasket(iface::SimulationInterface *simulation) override
iface::ScVersionInterface * version() override
Definition: pci_bus_interface.h:24