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

Protocol specific transaction handler for Simics i2c_slave_v2 interface. More...

#include <i2c_slave_v2.h>

Inheritance diagram for simics::systemc::tlm2simics::I2cSlaveV2:
simics::systemc::InterfaceProvider simics::systemc::tlm2simics::TransactionHandler simics::systemc::iface::I2cSlaveV2Interface simics::systemc::tlm2simics::GasketOwner simics::systemc::Registrant< TransactionHandlerInterface >

Public Member Functions

 I2cSlaveV2 ()
 
virtual ~I2cSlaveV2 ()
 
void start (uint8_t address) override
 
void read () override
 
void write (uint8_t value) override
 
void stop () override
 
std::vector< uint8_t > addresses () override
 
iface::ReceiverInterfacereceiver () override
 
- 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::I2cSlaveV2Interface
virtual void start (uint8_t address)=0
 
virtual void read ()=0
 
virtual void write (uint8_t value)=0
 
virtual void stop ()=0
 
virtual std::vector< uint8_t > addresses ()=0
 
virtual ~I2cSlaveV2Interface ()
 

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

Protocol specific transaction handler for Simics i2c_slave_v2 interface.

Constructor & Destructor Documentation

◆ I2cSlaveV2()

simics::systemc::tlm2simics::I2cSlaveV2::I2cSlaveV2 ( )
inline

◆ ~I2cSlaveV2()

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

Member Function Documentation

◆ addresses()

std::vector< uint8_t > simics::systemc::tlm2simics::I2cSlaveV2::addresses ( )
overridevirtual

◆ read()

void simics::systemc::tlm2simics::I2cSlaveV2::read ( )
overridevirtual

◆ receiver()

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

◆ start()

void simics::systemc::tlm2simics::I2cSlaveV2::start ( uint8_t  address)
overridevirtual

◆ stop()

void simics::systemc::tlm2simics::I2cSlaveV2::stop ( )
overridevirtual

◆ write()

void simics::systemc::tlm2simics::I2cSlaveV2::write ( uint8_t  value)
overridevirtual

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