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

Base class for transaction handlers without support for DMI. More...

#include <transaction_handler.h>

Inheritance diagram for simics::systemc::tlm2simics::TransactionHandler:
simics::systemc::tlm2simics::GasketOwner simics::systemc::Registrant< TransactionHandlerInterface > simics::systemc::tlm2simics::DmiTransactionHandler simics::systemc::tlm2simics::EthernetCommon simics::systemc::tlm2simics::I2cMasterV2 simics::systemc::tlm2simics::I2cSlaveV2 simics::systemc::tlm2simics::I3cMaster simics::systemc::tlm2simics::I3cSlave simics::systemc::tlm2simics::Packet simics::systemc::tlm2simics::SerialDevice simics::systemc::tlm2simics::SpiSlave

Public Member Functions

 TransactionHandler (InterfaceProvider *interface_provider, iface::ReceiverInterface *ignore_receiver=NULL, InterfaceProvider *error_interface_provider=NULL)
 
virtual ~TransactionHandler ()
 
void set_gasket (GasketInterface::Ptr gasketInterface) override
 
bool get_direct_mem_ptr (ConfObjectRef &simics_obj, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
 
unsigned int debug_transaction (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
void update_dmi_allowed (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
bool byte_enable_supported (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
const GasketOwnergasket_owner () const override
 
const InterfaceProviderinterface_provider () const override
 
- Public Member Functions inherited from simics::systemc::tlm2simics::GasketOwner
 GasketOwner ()
 
 GasketOwner (const GasketOwner &)=delete
 
GasketOwneroperator= (const GasketOwner &)=delete
 
virtual ~GasketOwner ()=default
 
virtual void set_gasket (GasketInterface::Ptr gasketInterface)
 
GasketInterface::Ptr gasket () const
 
- Public Member Functions inherited from simics::systemc::Registrant< TransactionHandlerInterface >
 Registrant ()
 
 Registrant (const Registrant &rhs)
 
virtual ~Registrant ()
 
void detach ()
 

Protected Attributes

InterfaceProviderinterface_provider_
 
ErrorTransactionHandler error_transaction_handler_
 
- Protected Attributes inherited from simics::systemc::tlm2simics::GasketOwner
GasketInterface::Ptr gasket_
 

Detailed Description

Base class for transaction handlers without support for DMI.

Most protocol specific transaction handlers are derived from this class.

Constructor & Destructor Documentation

◆ TransactionHandler()

simics::systemc::tlm2simics::TransactionHandler::TransactionHandler ( InterfaceProvider interface_provider,
iface::ReceiverInterface ignore_receiver = NULL,
InterfaceProvider error_interface_provider = NULL 
)

◆ ~TransactionHandler()

virtual simics::systemc::tlm2simics::TransactionHandler::~TransactionHandler ( )
virtual

Member Function Documentation

◆ byte_enable_supported()

bool simics::systemc::tlm2simics::TransactionHandler::byte_enable_supported ( ConfObjectRef &  simics_obj,
tlm::tlm_generic_payload *  trans 
)
override

◆ debug_transaction()

unsigned int simics::systemc::tlm2simics::TransactionHandler::debug_transaction ( ConfObjectRef &  simics_obj,
tlm::tlm_generic_payload *  trans 
)
override

◆ gasket_owner()

const GasketOwner * simics::systemc::tlm2simics::TransactionHandler::gasket_owner ( ) const
override

◆ get_direct_mem_ptr()

bool simics::systemc::tlm2simics::TransactionHandler::get_direct_mem_ptr ( ConfObjectRef &  simics_obj,
tlm::tlm_generic_payload &  trans,
tlm::tlm_dmi &  dmi_data 
)
override

◆ interface_provider()

const InterfaceProvider * simics::systemc::tlm2simics::TransactionHandler::interface_provider ( ) const
override

◆ set_gasket()

void simics::systemc::tlm2simics::TransactionHandler::set_gasket ( GasketInterface::Ptr  gasketInterface)
overridevirtual

◆ update_dmi_allowed()

void simics::systemc::tlm2simics::TransactionHandler::update_dmi_allowed ( ConfObjectRef &  simics_obj,
tlm::tlm_generic_payload *  trans 
)
override

Member Data Documentation

◆ error_transaction_handler_

ErrorTransactionHandler simics::systemc::tlm2simics::TransactionHandler::error_transaction_handler_
protected

◆ interface_provider_

InterfaceProvider* simics::systemc::tlm2simics::TransactionHandler::interface_provider_
protected

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