SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
serial_device_interface.h
Go to the documentation of this file.
1
/*
2
© 2015 Intel Corporation
3
4
This software and the related documents are Intel copyrighted materials, and
5
your use of them is governed by the express license under which they were
6
provided to you ("License"). Unless the License provides otherwise, you may
7
not use, modify, copy, publish, distribute, disclose or transmit this software
8
or the related documents without Intel's prior written permission.
9
10
This software and the related documents are provided as is, with no express or
11
implied warranties, other than those that are expressly stated in the License.
12
*/
13
14
#ifndef SIMICS_SYSTEMC_IFACE_SERIAL_DEVICE_INTERFACE_H
15
#define SIMICS_SYSTEMC_IFACE_SERIAL_DEVICE_INTERFACE_H
16
17
namespace
simics
{
18
namespace
systemc {
19
namespace
iface {
20
21
//:: pre SerialDeviceInterface {{
22
class
SerialDeviceInterface
{
23
public
:
24
virtual
int
write
(
int
value) = 0;
25
virtual
void
receive_ready
() = 0;
26
virtual
~SerialDeviceInterface
() {}
27
};
28
// }}
29
30
}
// namespace iface
31
}
// namespace systemc
32
}
// namespace simics
33
34
#endif
simics::systemc::iface::SerialDeviceInterface
Definition:
serial_device_interface.h:22
simics::systemc::iface::SerialDeviceInterface::write
virtual int write(int value)=0
simics::systemc::iface::SerialDeviceInterface::~SerialDeviceInterface
virtual ~SerialDeviceInterface()
Definition:
serial_device_interface.h:26
simics::systemc::iface::SerialDeviceInterface::receive_ready
virtual void receive_ready()=0
simics
Definition:
adapter.h:79