SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
Loading...
Searching...
No Matches
transaction.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2019 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_TRANSACTION_H
17#define SIMICS_SYSTEMC_SIMICS2TLM_TRANSACTION_H
18
22
23namespace simics {
24namespace systemc {
25namespace simics2tlm {
26
27//:: pre simics2tlm_Transaction {{
40 public GasketOwner {
41 public:
42 exception_type_t issue(transaction_t *transaction, uint64 addr);
43
44 private:
45 /*
46 * Update the TLM transaction before sending it over to the SystemC side
47 * By default this function does nothing since the TLM transaction has
48 * been filled with the basic required information. It can used to modify
49 * the filled information or add more information including customized
50 * extensions.
51 *
52 * @param simics_transaction the transaction received from Simics side
53 * @param tlm_transaction the TLM transaction to be sent over to the SystemC
54 * side
55 */
56 virtual void update_transaction(const transaction_t *simics_transaction,
57 tlm::tlm_generic_payload *tlm_transaction) {
58 }
59
61};
62// }}
63
64} // namespace simics2tlm
65} // namespace systemc
66} // namespace simics
67
68#endif
Simics transaction interface.
Definition: transaction_interface.h:26
A memory manager that implements the tlm::tlm_mm_interface providing a pool of transaction objects.
Definition: transaction_pool.h:34
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:32
Class that implements the Simics transaction interface and translates it into a TLM transaction.
Definition: transaction.h:40
exception_type_t issue(transaction_t *transaction, uint64 addr)
Definition: pci_bus_interface.h:24