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

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

#include <i2c_slave_v2.h>

Inheritance diagram for simics::systemc::simics2tlm::I2cSlaveV2:
simics::systemc::iface::I2cSlaveV2Interface simics::systemc::simics2tlm::GasketOwner simics::systemc::ClassType

Public Member Functions

virtual void gasketUpdated ()
 
void start (uint8_t address)
 
void read ()
 
void write (uint8_t data)
 
void stop ()
 
std::vector< uint8_t > addresses ()
 
- 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 ()
 
- 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 i2c_slave_v2 interface and translates it into a TLM transaction.

Member Function Documentation

◆ addresses()

std::vector< uint8_t > simics::systemc::simics2tlm::I2cSlaveV2::addresses ( )
virtual

◆ gasketUpdated()

virtual void simics::systemc::simics2tlm::I2cSlaveV2::gasketUpdated ( )
virtual

◆ read()

void simics::systemc::simics2tlm::I2cSlaveV2::read ( )
virtual

◆ start()

void simics::systemc::simics2tlm::I2cSlaveV2::start ( uint8_t  address)
virtual

◆ stop()

void simics::systemc::simics2tlm::I2cSlaveV2::stop ( )
virtual

◆ write()

void simics::systemc::simics2tlm::I2cSlaveV2::write ( uint8_t  data)
virtual

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