From bdda1aef91629fb604cfbc8718f84e2c1bb8bd09 Mon Sep 17 00:00:00 2001 From: Seonjin Na Date: Thu, 21 Sep 2023 21:41:09 -0400 Subject: [PATCH] update dramsim3.h --- src/dram_dramsim3.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/dram_dramsim3.h b/src/dram_dramsim3.h index 2bd7d58a..5f6706bb 100644 --- a/src/dram_dramsim3.h +++ b/src/dram_dramsim3.h @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. /********************************************************************************************** * File : dram_dramsim3.h - * Author : HPArch Research Group(Seonjin Na) + * Author : HPArch Research Group (Seonjin Na) * Date : 9/21/2023 * Description : DRAMSim3 interface *********************************************************************************************/ @@ -48,7 +48,7 @@ class JedecDRAMSystem; }; /////////////////////////////////////////////////////////////////////////////////////////////// -/// \brief MC - DRAMSim2 interface +/// \brief MC - DRAMSim3 interface /////////////////////////////////////////////////////////////////////////////////////////////// class dram_dramsim3_c : public dram_c { @@ -78,10 +78,6 @@ class dram_dramsim3_c : public dram_c */ void run_a_cycle(bool); - void read_callback2(uint64_t); - - void write_callback2(uint64_t); - private: dram_dramsim3_c(); // do not implement @@ -95,9 +91,9 @@ class dram_dramsim3_c : public dram_c */ void write_callback(unsigned, uint64_t, uint64_t); - // void read_callback2(uint64_t); + void read_callback2(uint64_t); - // void write_callback2(uint64_t); + void write_callback2(uint64_t); /** * Send a packet to NOC @@ -113,7 +109,7 @@ class dram_dramsim3_c : public dram_c list* m_output_buffer; /**< output buffer */ list* m_tmp_output_buffer; /**< output buffer */ list* m_pending_request; /**< pending request */ - dramsim3::Config *m_config; + // dramsim3::Config *m_config; dramsim3::JedecDRAMSystem *m_dramsim; /**< dramsim3 instance */ }; #endif