SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
pcie_transaction.h
Go to the documentation of this file.
1/*
2 © 2024 Intel Corporation
3
4 This software and the related documents are Intel copyrighted materials, and
5 your use of them is governed by the express license under which they were
6 provided to you ("License"). Unless the License provides otherwise, you may
7 not use, modify, copy, publish, distribute, disclose or transmit this software
8 or the related documents without Intel's prior written permission.
9
10 This software and the related documents are provided as is, with no express or
11 implied warranties, other than those that are expressly stated in the License.
12*/
13
14#ifndef SIMICS_SYSTEMC_SIMICS2TLM_PCIE_TRANSACTION_H
15#define SIMICS_SYSTEMC_SIMICS2TLM_PCIE_TRANSACTION_H
16
17#include <tlm>
18
21
22namespace simics {
23namespace systemc {
24namespace simics2tlm {
25
26/*
27 * Transaction with PCIe extension
28 *
29 * The various bits of information required to complete an operation (Type,
30 * BDF number, etc.) are attached to the transaction_t as atoms.
31 *
32 * Retrieve these information from atom and convert it to TLM PcieTlmExtension
33 */
35 void update_transaction(
36 const transaction_t *simics_transaction,
37 tlm::tlm_generic_payload *tlm_transaction) override;
38
39 PcieTlmExtension pcie_ext;
40};
41} // namespace simics2tlm
42} // namespace systemc
43} // namespace simics
44
45#endif
Definition: pcie_tlm_extension.h:33
Definition: pcie_transaction.h:34
Class that implements the Simics transaction interface and translates it into a TLM transaction.
Definition: transaction.h:39
Definition: adapter.h:79