Adapt more paths.
This commit is contained in:
@@ -32,10 +32,12 @@
|
||||
* Author: Lukas Steiner
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "CheckerDDR5.h"
|
||||
|
||||
#include "DRAMSys/common/DebugManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace sc_core;
|
||||
using namespace tlm;
|
||||
|
||||
|
||||
@@ -35,18 +35,13 @@
|
||||
|
||||
#include "DramDDR5.h"
|
||||
|
||||
#include <DRAMSys/configuration/Configuration.h>
|
||||
#include <DRAMSys/configuration/memspec/MemSpecDDR5.h>
|
||||
|
||||
using namespace sc_core;
|
||||
|
||||
DramDDR5::DramDDR5(const sc_module_name& name, const Configuration& config,
|
||||
TemperatureController& temperatureController)
|
||||
DramDDR5::DramDDR5(const sc_module_name& name, const Configuration& config)
|
||||
: Dram(name, config)
|
||||
{
|
||||
if (storeMode == Configuration::StoreMode::ErrorModel)
|
||||
SC_REPORT_FATAL("DramDDR5", "Error Model not supported for DDR5");
|
||||
|
||||
#ifdef DRAMPOWER
|
||||
if (powerAnalysis)
|
||||
SC_REPORT_FATAL("DramDDR5", "DRAMPower does not support DDR5");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -36,16 +36,14 @@
|
||||
#ifndef DRAMDDR5_H
|
||||
#define DRAMDDR5_H
|
||||
|
||||
#include <systemc>
|
||||
#include "DRAMSys/simulation/dram/Dram.h"
|
||||
|
||||
#include <DRAMSys/simulation/dram/Dram.h>
|
||||
#include <DRAMSys/simulation/TemperatureController.h>
|
||||
#include <systemc>
|
||||
|
||||
class DramDDR5 : public Dram
|
||||
{
|
||||
public:
|
||||
DramDDR5(const sc_core::sc_module_name& name, const Configuration& config,
|
||||
TemperatureController& temperatureController);
|
||||
DramDDR5(const sc_core::sc_module_name& name, const Configuration& config);
|
||||
SC_HAS_PROCESS(DramDDR5);
|
||||
};
|
||||
|
||||
|
||||
@@ -32,10 +32,12 @@
|
||||
* Author: Lukas Steiner
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "CheckerHBM3.h"
|
||||
|
||||
#include "DRAMSys/common/DebugManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace sc_core;
|
||||
using namespace tlm;
|
||||
|
||||
|
||||
@@ -40,13 +40,11 @@
|
||||
|
||||
using namespace sc_core;
|
||||
|
||||
DramHBM3::DramHBM3(const sc_module_name& name, const Configuration& config,
|
||||
TemperatureController& temperatureController)
|
||||
DramHBM3::DramHBM3(const sc_module_name& name, const Configuration& config)
|
||||
: Dram(name, config)
|
||||
{
|
||||
if (storeMode == Configuration::StoreMode::ErrorModel)
|
||||
SC_REPORT_FATAL("DramHBM3", "Error Model not supported for HBM3");
|
||||
|
||||
#ifdef DRAMPOWER
|
||||
if (powerAnalysis)
|
||||
SC_REPORT_FATAL("DramHBM3", "DRAMPower does not support HBM3");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -36,17 +36,14 @@
|
||||
#ifndef DRAMHBM3_H
|
||||
#define DRAMHBM3_H
|
||||
|
||||
#include "DRAMSys/simulation/dram/Dram.h"
|
||||
|
||||
#include <systemc>
|
||||
|
||||
#include <DRAMSys/simulation/dram/Dram.h>
|
||||
#include <DRAMSys/simulation/TemperatureController.h>
|
||||
|
||||
class DramHBM3 : public Dram
|
||||
{
|
||||
public:
|
||||
DramHBM3(const sc_core::sc_module_name &name, const Configuration& config,
|
||||
TemperatureController& temperatureController);
|
||||
DramHBM3(const sc_core::sc_module_name &name, const Configuration& config);
|
||||
SC_HAS_PROCESS(DramHBM3);
|
||||
};
|
||||
|
||||
|
||||
@@ -32,10 +32,12 @@
|
||||
* Author: Lukas Steiner
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "CheckerLPDDR5.h"
|
||||
|
||||
#include "DRAMSys/common/DebugManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace sc_core;
|
||||
using namespace tlm;
|
||||
|
||||
|
||||
@@ -41,13 +41,11 @@
|
||||
|
||||
using namespace sc_core;
|
||||
|
||||
DramLPDDR5::DramLPDDR5(const sc_module_name& name, const Configuration& config,
|
||||
TemperatureController& temperatureController)
|
||||
DramLPDDR5::DramLPDDR5(const sc_module_name& name, const Configuration& config)
|
||||
: Dram(name, config)
|
||||
{
|
||||
if (storeMode == Configuration::StoreMode::ErrorModel)
|
||||
SC_REPORT_FATAL("DramLPDDR5", "Error Model not supported for LPDDR5");
|
||||
|
||||
#ifdef DRAMPOWER
|
||||
if (powerAnalysis)
|
||||
SC_REPORT_FATAL("DramLPDDR5", "DRAMPower does not support LPDDR5");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -36,16 +36,14 @@
|
||||
#ifndef DRAMLPDDR5_H
|
||||
#define DRAMLPDDR5_H
|
||||
|
||||
#include <systemc>
|
||||
#include "DRAMSys/simulation/dram/Dram.h"
|
||||
|
||||
#include <DRAMSys/simulation/dram/Dram.h>
|
||||
#include <DRAMSys/simulation/TemperatureController.h>
|
||||
#include <systemc>
|
||||
|
||||
class DramLPDDR5 : public Dram
|
||||
{
|
||||
public:
|
||||
DramLPDDR5(const sc_core::sc_module_name& name, const Configuration& config,
|
||||
TemperatureController& temperatureController);
|
||||
DramLPDDR5(const sc_core::sc_module_name& name, const Configuration& config);
|
||||
SC_HAS_PROCESS(DramLPDDR5);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user