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// -*- 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_TRANSACTION_H
17#define SIMICS_SYSTEMC_SIMICS2TLM_PCIE_TRANSACTION_H
18
19#include <tlm>
20
23
24namespace simics {
25namespace systemc {
26namespace simics2tlm {
27
28/*
29 * Transaction with PCIe extension
30 *
31 * The various bits of information required to complete an operation (Type,
32 * BDF number, etc.) are attached to the transaction_t as atoms.
33 *
34 * Retrieve these information from atom and convert it to TLM PcieTlmExtension
35 */
37 void update_transaction(
38 const transaction_t *simics_transaction,
39 tlm::tlm_generic_payload *tlm_transaction) override;
40
41 PcieTlmExtension pcie_ext;
42};
43} // namespace simics2tlm
44} // namespace systemc
45} // namespace simics
46
47#endif
Definition: pcie_tlm_extension.h:33
Definition: pcie_transaction.h:36
Class that implements the Simics transaction interface and translates it into a TLM transaction.
Definition: transaction.h:40
Definition: adapter.h:80