gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
dramsys_wrapper.hh
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Fraunhofer IESE
3 * All rights reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution;
12 * neither the name of the copyright holders nor the names of its
13 * contributors may be used to endorse or promote products derived from
14 * this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef __MEM_DRAMSYS_WRAPPER_HH__
30#define __MEM_DRAMSYS_WRAPPER_HH__
31
32#include <iostream>
33#include <memory>
34
35#include "DRAMSys/config/DRAMSysConfiguration.h"
36#include "DRAMSys/simulation/DRAMSys.h"
37#include "mem/abstract_mem.hh"
38#include "params/DRAMSys.hh"
39#include "sim/core.hh"
42
43#include "systemc/ext/systemc"
44#include "systemc/ext/tlm"
47
48namespace gem5
49{
50
51namespace memory
52{
53
85
86} // namespace memory
87} // namespace gem5
88
89#endif // __MEM_DRAMSYS_WRAPPER_HH__
AbstractMemory declaration.
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
Definition addr_range.hh:82
tlm::tlm_sync_enum nb_transport_bw(tlm::tlm_generic_payload &payload, tlm::tlm_phase &phase, sc_core::sc_time &bwDelay)
tlm::tlm_sync_enum nb_transport_fw(tlm::tlm_generic_payload &payload, tlm::tlm_phase &phase, sc_core::sc_time &fwDelay)
std::shared_ptr<::DRAMSys::DRAMSys > dramsys
tlm_utils::simple_initiator_socket< DRAMSysWrapper > iSocket
unsigned int transport_dbg(tlm::tlm_generic_payload &trans)
void b_transport(tlm::tlm_generic_payload &payload, sc_core::sc_time &delay)
DRAMSysWrapper(sc_core::sc_module_name name, ::DRAMSys::Config::Configuration const &config, AddrRange range)
tlm_utils::simple_target_socket< DRAMSysWrapper > tSocket
SC_HAS_PROCESS(DRAMSysWrapper)
const char * name() const
Definition sc_object.cc:44
Copyright (c) 2024 Arm Limited All rights reserved.
Definition binary32.hh:36
tlm_sync_enum
Definition fw_bw_ifs.hh:31

Generated on Mon May 26 2025 09:19:11 for gem5 by doxygen 1.13.2