SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
i3c_slave.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2021 Intel Corporation
5
6 This software and the related documents are Intel copyrighted materials, and
7 your use of them is governed by the express license under which they were
8 provided to you ("License"). Unless the License provides otherwise, you may
9 not use, modify, copy, publish, distribute, disclose or transmit this software
10 or the related documents without Intel's prior written permission.
11
12 This software and the related documents are provided as is, with no express or
13 implied warranties, other than those that are expressly stated in the License.
14*/
15
16#ifndef SIMICS_SYSTEMC_SIMICS2TLM_I3C_SLAVE_H
17#define SIMICS_SYSTEMC_SIMICS2TLM_I3C_SLAVE_H
18
23
24namespace simics {
25namespace systemc {
26namespace simics2tlm {
27
33 public GasketOwner {
34 public:
35 virtual void gasketUpdated();
36
37 // I3cSlaveInterface
38 void start(uint8_t address) override;
39 void write(uint8_t value) override;
40 void sdr_write(types::bytes_t data) override;
41 void read() override;
42 void daa_read() override;
43 void stop() override;
44 void ibi_start() override;
46
47 private:
48 ExtensionSender sender_;
49 iface::I3cSlaveExtension extension_;
50};
51
52} // namespace simics2tlm
53} // namespace systemc
54} // namespace simics
55
56#endif
Definition: i3c_slave_extension.h:27
Definition: i3c_slave_interface.h:27
Specialized extension sender for simics2tlm gaskets.
Definition: extension_sender.h:31
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:32
Class that implements the Simics i3c_slave interface and translates it into a TLM transaction.
Definition: i3c_slave.h:33
void write(uint8_t value) override
void sdr_write(types::bytes_t data) override
void start(uint8_t address) override
void ibi_acknowledge(types::i3c_ack_t ack) override
i3c_ack_t
Definition: i3c_ack.h:22
Definition: pci_bus_interface.h:24
Definition: bytes.h:28