SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
sc_memory_access_interface.h
Go to the documentation of this file.
1/*
2 © 2021 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_SC_MEMORY_ACCESS_INTERFACE_H
15#define SIMICS_SYSTEMC_IFACE_SC_MEMORY_ACCESS_INTERFACE_H
16
17#include <stdint.h>
18
19#include <simics/types/buffer.h>
20#include <simics/types/bytes.h>
21#include <simics/base/memory.h> // exception_type_t
22
23namespace simics {
24namespace systemc {
25namespace iface {
26
29 public:
30 virtual exception_type_t read(uint64 address, types::buffer_t value,
31 bool debug) = 0;
32 virtual exception_type_t write(uint64 address, types::bytes_t value,
33 bool debug) = 0;
35};
36
37} // namespace iface
38} // namespace systemc
39} // namespace simics
40
41#endif
Definition: sc_memory_access_interface.h:28
virtual ~ScMemoryAccessInterface()
Definition: sc_memory_access_interface.h:34
virtual exception_type_t write(uint64 address, types::bytes_t value, bool debug)=0
virtual exception_type_t read(uint64 address, types::buffer_t value, bool debug)=0
Definition: adapter.h:79
Definition: buffer.h:27
Definition: bytes.h:26