16#ifndef SIMICS_SYSTEMC_SIMICS2TLM_I3C_MASTER_GASKET_ADAPTER_H
17#define SIMICS_SYSTEMC_SIMICS2TLM_I3C_MASTER_GASKET_ADAPTER_H
38 : i3cmaster_(i3cmaster), simulation_(simulation) {
42 i3cmaster_->acknowledge(ack);
46 i3cmaster_->read_response(value, more);
48 void daa_response(uint64_t
id, uint8_t bcr, uint8_t dcr)
override {
50 i3cmaster_->daa_response(
id, bcr, dcr);
54 i3cmaster_->ibi_request();
58 i3cmaster_->ibi_address(address);
65 I3cMasterInterface *i3cmaster_;
Utility class that handles the context switching, using RAII methodology.
Definition: context.h:31
Simics i3c_master interface.
Definition: i3c_master_interface.h:27
Interface to the SystemC simulation.
Definition: simulation_interface.h:27
Definition: gasket_adapter.h:45
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:32
Adapter for I3cMaster gasket.
Definition: i3c_master_gasket_adapter.h:34
void ibi_request() override
Definition: i3c_master_gasket_adapter.h:52
I3cMasterGasketAdapter(I3cMasterInterface *i3cmaster, iface::SimulationInterface *simulation)
Definition: i3c_master_gasket_adapter.h:36
void daa_response(uint64_t id, uint8_t bcr, uint8_t dcr) override
Definition: i3c_master_gasket_adapter.h:48
void ibi_address(uint8_t address) override
Definition: i3c_master_gasket_adapter.h:56
simics2tlm::GasketOwner * gasket_owner() const override
Definition: i3c_master_gasket_adapter.h:60
void read_response(uint8_t value, bool more) override
Definition: i3c_master_gasket_adapter.h:44
void acknowledge(types::i3c_ack_t ack) override
Definition: i3c_master_gasket_adapter.h:40
i3c_ack_t
Definition: i3c_ack.h:22
Definition: pci_bus_interface.h:24