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

Class that translates a TLM transaction with protocol specific SerialDeviceExtension to the Simics C++ SerialDeviceInterface. More...

#include <serial_device.h>

Inheritance diagram for simics::systemc::tlm2simics::SerialDevice:
simics::systemc::InterfaceProvider simics::systemc::tlm2simics::TransactionHandler simics::systemc::iface::SerialDeviceInterface simics::systemc::tlm2simics::GasketOwner simics::systemc::Registrant< TransactionHandlerInterface >

Public Member Functions

 SerialDevice ()
 
int write (int value) override
 
void receive_ready () override
 
iface::ReceiverInterfacereceiver () override
 
virtual ~SerialDevice ()
 
- Public Member Functions inherited from simics::systemc::InterfaceProvider
 InterfaceProvider (const char *interface_name)
 
 InterfaceProvider (const InterfaceProvider &)=delete
 
InterfaceProvideroperator= (const InterfaceProvider &)=delete
 
virtual ~InterfaceProvider ()
 
virtual void set_target (const ConfObjectRef &obj)
 
virtual void add_target_update_listener (TargetUpdateListener *l)
 
virtual void remove_target_update_listener (TargetUpdateListener *l)
 
virtual const simics::ConfObjectRef & target () const
 
virtual bool has_interface ()
 
virtual const char * get_interface_name () const
 
template<typename TInterface >
SimicsTargetLock< TInterface > get_interface ()
 
virtual void set_optional (bool optional)
 
virtual bool optional () const
 
- Public Member Functions inherited from simics::systemc::tlm2simics::TransactionHandler
 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 ()
 
- Public Member Functions inherited from simics::systemc::iface::SerialDeviceInterface
virtual int write (int value)=0
 
virtual void receive_ready ()=0
 
virtual ~SerialDeviceInterface ()
 

Additional Inherited Members

- Protected Member Functions inherited from simics::systemc::InterfaceProvider
virtual const interface_t * get_interface ()
 
- Protected Attributes inherited from simics::systemc::InterfaceProvider
simics::ConfObjectRef target_obj_
 
const interface_t * interface_
 
const char * interface_name_
 
bool optional_
 
std::set< TargetUpdateListener * > * target_update_listeners_
 
- Protected Attributes inherited from simics::systemc::tlm2simics::TransactionHandler
InterfaceProviderinterface_provider_
 
ErrorTransactionHandler error_transaction_handler_
 
- Protected Attributes inherited from simics::systemc::tlm2simics::GasketOwner
GasketInterface::Ptr gasket_
 

Detailed Description

Class that translates a TLM transaction with protocol specific SerialDeviceExtension to the Simics C++ SerialDeviceInterface.

Constructor & Destructor Documentation

◆ SerialDevice()

simics::systemc::tlm2simics::SerialDevice::SerialDevice ( )
inline

◆ ~SerialDevice()

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

Member Function Documentation

◆ receive_ready()

void simics::systemc::tlm2simics::SerialDevice::receive_ready ( )
overridevirtual

◆ receiver()

iface::ReceiverInterface * simics::systemc::tlm2simics::SerialDevice::receiver ( )
override

◆ write()

int simics::systemc::tlm2simics::SerialDevice::write ( int  value)
overridevirtual

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