diff --git a/DRAMSys/simulator/src/simulation/Dram.h b/DRAMSys/simulator/src/simulation/Dram.h index a30843e6..de805f0a 100644 --- a/DRAMSys/simulator/src/simulation/Dram.h +++ b/DRAMSys/simulator/src/simulation/Dram.h @@ -40,7 +40,6 @@ #define DRAM_H_ #include - #include #include #include @@ -65,8 +64,6 @@ using namespace Data; struct Dram : sc_module { - std::vector ZEROES; - unsigned int burstLength = Configuration::getInstance().memSpec.BurstLength; unsigned int busWidth = Configuration::getInstance().memSpec.BusWidth * Configuration::getInstance().NumberOfDevicesOnDIMM; unsigned int bytesPerBurst = burstLength * (busWidth / 8); @@ -97,8 +94,6 @@ struct Dram : sc_module SC_CTOR(Dram) : tSocket("socket") { - ZEROES.assign(bytesPerBurst, 0); - // FIXME: memory size unsigned int size = 1024 * 1024 * 1024; memory = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, -1, 0);