SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::simics2tlm::Transaction Class Reference

Class that implements the Simics transaction interface and translates it into a TLM transaction. More...

#include <transaction.h>

Inheritance diagram for simics::systemc::simics2tlm::Transaction:
simics::systemc::iface::TransactionInterface simics::systemc::simics2tlm::GasketOwner simics::systemc::ClassType

Public Member Functions

exception_type_t issue (transaction_t *transaction, uint64 addr)
 
- Public Member Functions inherited from simics::systemc::iface::TransactionInterface
virtual exception_type_t issue (transaction_t *t, uint64 addr)=0
 
virtual ~TransactionInterface ()
 
- Public Member Functions inherited from simics::systemc::simics2tlm::GasketOwner
 GasketOwner ()
 
 GasketOwner (const GasketOwner &)=delete
 
GasketOwneroperator= (const GasketOwner &)=delete
 
virtual ~GasketOwner ()=default
 
void set_gasket (GasketInterface::Ptr gasketInterface)
 
virtual void gasketUpdated ()
 
GasketInterface::Ptr gasket () const
 
- Public Member Functions inherited from simics::systemc::ClassType
 ClassType ()
 
std::string type () const
 
bool operator== (const ClassType &type) const
 
bool operator!= (const ClassType &type) const
 
bool operator< (const ClassType &type) const
 
template<class T >
T * get_interface ()
 
virtual ~ClassType ()
 

Additional Inherited Members

- Static Public Member Functions inherited from simics::systemc::ClassType
template<class T >
static ClassType typeForClass ()
 
- Protected Member Functions inherited from simics::systemc::ClassType
void set_type ()
 
- Protected Attributes inherited from simics::systemc::simics2tlm::GasketOwner
GasketInterface::Ptr gasket_
 
- Protected Attributes inherited from simics::systemc::ClassType
std::string type_
 
ClassTypeimplementor_
 

Detailed Description

Class that implements the Simics transaction interface and translates it into a TLM transaction.

The TLM2 return codes are translated to Simics like this: TLM_OK_RESPONSE => Sim_PE_No_Exception, TLM_ADDRESS_ERROR_RESPONSE => Sim_PE_IO_Not_Taken or Sim_PE_Inquiry_Outside_Memory on inquiry access, remaining TLM2 errors => Sim_PE_IO_Error or Sim_PE_Inquiry_Unhandled on inquiry access

Member Function Documentation

◆ issue()

exception_type_t simics::systemc::simics2tlm::Transaction::issue ( transaction_t *  transaction,
uint64  addr 
)
virtual

The documentation for this class was generated from the following file: