SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
pcie_device.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2024 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_SIMICS2TLM_PCIE_DEVICE_H
17#define SIMICS_SYSTEMC_SIMICS2TLM_PCIE_DEVICE_H
18
23
24namespace simics {
25namespace systemc {
26namespace simics2tlm {
27
33 public GasketOwner {
34 public:
35 virtual void gasketUpdated();
36 // Methods translate Simics calls
37 void connected(conf_object_t *port_obj, uint16_t device_id) override;
38 void disconnected(conf_object_t *port_obj, uint16_t device_id) override;
39 void hot_reset() override;
40 private:
41 ExtensionSender sender_;
43};
44
45} // namespace simics2tlm
46} // namespace systemc
47} // namespace simics
48
49#endif
Extension for Simics pcie_device interface.
Definition: pcie_device_extension.h:29
Simics pcie_device interface.
Definition: pcie_device_interface.h:27
Specialized extension sender for simics2tlm gaskets.
Definition: extension_sender.h:31
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:32
Class that implements the Simics pcie_device interface and translates it into a TLM transaction.
Definition: pcie_device.h:33
void disconnected(conf_object_t *port_obj, uint16_t device_id) override
void connected(conf_object_t *port_obj, uint16_t device_id) override
Definition: adapter.h:80