Forward declare DRAMPower
Forward declare DRAMPower so that it is no longer part of the public API and programs that use DRAMSys do not need to depend on it.
This commit is contained in:
@@ -240,7 +240,7 @@ endif()
|
||||
|
||||
# Build:
|
||||
target_include_directories(DRAMSysLibrary
|
||||
PUBLIC src/common/third_party/DRAMPower/src/
|
||||
PRIVATE src/common/third_party/DRAMPower/src/
|
||||
PUBLIC $ENV{SYSTEMC_HOME}/include/
|
||||
)
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
#include "../../common/dramExtensions.h"
|
||||
#include "../../common/utils.h"
|
||||
#include "../../common/third_party/DRAMPower/src/MemCommand.h"
|
||||
#include "../../common/third_party/DRAMPower/src/libdrampower/LibDRAMPower.h"
|
||||
#include "../../controller/Command.h"
|
||||
|
||||
using namespace sc_core;
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
#include <tlm_utils/simple_target_socket.h>
|
||||
#include "../../configuration/Configuration.h"
|
||||
#include "../../configuration/memspec/MemSpec.h"
|
||||
#include "../../common/third_party/DRAMPower/src/libdrampower/LibDRAMPower.h"
|
||||
|
||||
class libDRAMPower;
|
||||
|
||||
class Dram : public sc_core::sc_module
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user