帳號:guest(3.147.27.71)          離開系統
字體大小: 字級放大   字級縮小   預設字形  

詳目顯示

以作者查詢圖書館館藏以作者查詢臺灣博碩士論文系統以作者查詢全國書目
作者(中文):許浩
作者(外文):Hsu, Hau
論文名稱(中文):以 SystemC 實作用於設計探索的動態隨機存取記憶體模擬器
論文名稱(外文):FlexDRAM- A DRAM System Simulator in SystemC for Design Exploration
指導教授(中文):劉靖家
指導教授(外文):Liou, Jing-Jia
口試委員(中文):吳誠文
黃稚存
口試委員(外文):Cheng-Wen Wu
Chih-Tsun Huang
學位類別:碩士
校院名稱:國立清華大學
系所名稱:電機工程學系
學號:101061536
出版年(民國):104
畢業學年度:103
語文別:英文
中文關鍵詞:動態隨機存取記憶體模擬器動態隨機存取記憶體
外文關鍵詞:DRAM simulatorDRAMSystemC
相關次數:
  • 推薦推薦:0
  • 點閱點閱:329
  • 評分評分:*****
  • 下載下載:0
  • 收藏收藏:0
傳統記憶體的架構與介面是針對單核心單線程的系統做設計,但是隨著電子設備的演 進,這些記憶體並不適用於多核心的中央運算單元以及手持電子裝置等等系統。除了對讀 寫速度的要求以外,高資料吞吐量與低功耗的性能也越來越受到重視。近年來不論是業界 或學術界,都有許多新的記憶體標準和架構被提出來,希望能解決未來記憶體系統的需求。 為了要能夠評估各種不同記憶體在系統中的表現,勢必要能夠針對這些記憶體系統進行模 擬。
現在大部份的記憶體模擬器,像是 DRAMSim2 或者 USIMM,都只能針對某一種特 定架構的記憶體做模擬。如果使用者想要建立其他記憶體的模擬環境,必須去修改這些模 擬器的程式碼。但是這些模擬器的程式碼都和他們的目標記憶體架構有高度的耦合性,因 此若要改寫程式來符合另一種記憶體的架構或介面,必須付出不少的心力。
為了讓使用者能夠更方便而且快速的模擬不同的記憶體,我們用 SystemC 建立了一 個可調式記憶體系統模擬器:FlexDRAM。FlexDRAM 讓使用者可以編寫一個設定檔來建 構目標記憶體的階層架構(hierarchy),並且設定符合該記憶體操作的時間限制(timing constraints)。當模擬器接受這些設定以後,就能夠以簡單的記憶體控制器來操作記憶體 而不違反目標記憶體的操作時間限制。若使用者想要設計記憶體控制器來最佳化系統,也 可以去改寫 SystemC 的 Scheduler 模組。FlexDRAM 提供了一些 API,方便使用者設 計記憶體控制器。
為了與其他模擬器做比較,我們設計了一個跟 DRAMSim2 一樣的記憶體控制器, 跑相同的記憶體追蹤檔案(memory trace file)並且比較輸出的時間。模擬結果顯示我們 能夠有跟 DRAMSim2 一樣的行為。
In the past, several new DRAM architectures are proposed to meet requirements of bandwidth growth, latency reduction and energy consumption instead of standard DDR interfaces. To evaluate the effectiveness of new memory systems, it is necessary to run simulations.
Most existing DRAM simulators are built for a specific type of DRAM. To evaluate new mem- ory systems, one have to modify codes of those simulators. But it is not always easy because the codebases are blended with structure of original target DRAM.
Due to the lack of flexible simulation tool, we developed a cycle-accurate DRAM system sim- ulator in SystemC - FlexDRAM. It can be configured according to the different specifications of DRAM die. Users can describe the DRAM structure and timing constraints in a configuration file, and write their own memory controller with the provided APIs. It is easy to build a memory sys- tem for new DRAM types. The proposed simulator was implemented and benchmarked against a DRAMSim2 simulator. The simulator can produce the same timing results as DRAMSim2.
1 Introduction 6
1.1 Motivation....................................... 6
1.2 Organization...................................... 7
2 Background 8
2.1 RelatedWorks..................................... 8
2.2 ChallengesofModelingDRAM ........................... 9
2.3 BasicDRAMConcepts................................ 10
2.3.1 DRAMCell.................................. 10
2.3.2 BankandBankOperations.......................... 10
2.3.3 DRAMDevice ................................ 11 2.3.4 MemoryController.............................. 12
2.3.5 DRAMTimings ............................... 12
3 Proposed DRAM Simulator - FlexDRAM 15
3.1 Overview ....................................... 15
3.2 ModulesintheSimulator............................... 16
3.3 DRAMHierarchyRepresentation .......................... 17
3.4 Bank.......................................... 19
3.5 HierarchyLabel.................................... 19
3.5.1 HierarchyDifference............................. 20
3.6 TimingConstraintTable ............................... 22
3.7 ConfigurationFile................................... 24
3.7.1 BuildHierarchy................................ 24
3.7.2 AddressMapping............................... 26
3.7.3 ConfigureTiming............................... 27
3.8 CustomizeMemoryController ............................ 29
4 Experiment 31
4.1 CustomizeMemoryController ............................ 31
4.2 ConfigurationFile................................... 33
4.3 TraceFiles....................................... 35
4.4 ExperimentalResultandAnalysis .......................... 36
4.4.1 SimulationSpeed............................... 36
5 Conclusion and Future Work 38
5.1 Conclusion ...................................... 38
5.2 FutureWork...................................... 38
5.2.1 CompleteDRAMFunctions ......................... 38
5.2.2 ImproveSimulationSpeed.......................... 39
5.2.3 PowerEstimation............................... 39
5.2.4 IntegratewithDArT ............................. 39
5.2.5 FullSystemSimulation............................ 39
[1] JEDEC Standard: DDR4 SDRAM, Nov 2013.
[2] JEDEC Standard: DDR3 SDRAM, Nov 2012.
[3] JEDEC Standard: Low Power Double Data Rate 2 (LPDDR2), Feb 2010.
[4] JEDEC Standard: Low Power Double Data Rate 3 (LPDDR3), Aug 2013.
[5] JEDEC Standard: Low Power Double Data Rate 4 (LPDDR4), Aug 2014.
[6] JEDEC Standard: WIDE I/O SINGLE DATA RATE (WIDE I/O SDR), Dec 2011.
[7] JEDEC Standard: WIDE I/O 2 (WideIO2), Aug 2014.
[8] JEDEC Standard: HIGH BANDWIDTH MEMORY (HBM) DRAM, Oct 2013.
[9] Hybrid Memory Cube Consortium. HMC Specification 1.1, Feb 2014.
[10] Yoongu Kim, V. Seshadri, Donghyuk Lee, J. Liu, and O. Mutlu, “A case for exploiting subarray-level parallelism (salp) in dram”, in Computer Architecture (ISCA), 2012 39th An- nual International Symposium on, June 2012, pp. 368–379.
[11] Donghyuk Lee, Yoongu Kim, V. Seshadri, J. Liu, L. Subramanian, and O. Mutlu, “Tiered- latency dram: A low latency and low cost dram architecture”, in High Performance Computer Architecture (HPCA2013), 2013 IEEE 19th International Symposium on, Feb 2013, pp. 615– 626.
[12] AniruddhaN.Udipi,NaveenMuralimanohar,NiladrishChatterjee,RajeevBalasubramonian, Al Davis, and Norman P. Jouppi, “Rethinking dram design and organization for energy- constrained multi-cores”, in Proceedings of the 37th Annual International Symposium on Computer Architecture, New York, NY, USA, 2010, ISCA ’10, pp. 175–186, ACM.
[13] Hsiu-Chuan Shih, Pei-Wen Luo, Jen-Chieh Yeh, Shu-Yen Lin, Ding-Ming Kwai, Shih-Lien Lu, A. Schaefer, and Cheng-Wen Wu, “Dart: A component-based dram area, power, and timing modeling tool”, Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on, vol. 33, no. 9, pp. 1356–1369, Sept 2014.
[14] P. Rosenfeld, E. Cooper-Balis, and B. Jacob, “Dramsim2: A cycle accurate memory system simulator”, Computer Architecture Letters, vol. 10, no. 1, pp. 16–19, Jan 2011.
[15] Jia-Hao Huang, “An event-based dram simulation model”, Master’s thesis, NTHU, 2012.
[16] N.Chatterjee,R.Balasubramonian,M.Shevgoor,H.Pugsley,A.Udipi,A.Shafiee,K.Sudan, M. Awasthi, and Z. Chishti, “Usimm: the utah simulated memory module”, UUCS-12-002, Feb 2012.
[17] Min Kyu Jeong, Doe Hyun Yoon, and Mattan Erez, “Drsim: A platform for flexible DRAM system research”, http://lph.ece.utexas.edu/public/DrSim.
[18] M. Poremba, T. Zhang, and Y. Xie, “Nvmain 2.0: Architectural simulator to model (non- )volatile memory systems”, Computer Architecture Letters, vol. PP, no. 99, pp. 1–1, 2015.
[19] Y. Kim, W. Yang, and O. Mutlu, “Ramulator: A fast and extensible dram simulator”, Com- puter Architecture Letters, vol. PP, no. 99, pp. 1–1, 2015.
[20] Bruce Jacob, Spencer W. Ng, and David T. Wang, Memory Systems: Cache, DRAM, Disk, Morgan Kaufmann, 2007.
[21] K. Chandrasekar, B. Akesson, and K. Goossens, “Improved power modeling of ddr sdrams”, in Digital System Design (DSD), 2011 14th Euromicro Conference on, Aug 2011, pp. 99–108.
[22] Calculating Memory System Power for DDR SDRAM, 2001.
[23] Calculating Memory System Power for DDR3, 2007.
[24] A. Rico, A. Duran, F. Cabarcas, Y. Etsion, A. Ramirez, and M. Valero, “Trace-driven sim- ulation of multithreaded applications”, in Performance Analysis of Systems and Software (ISPASS), 2011 IEEE International Symposium on, April 2011, pp. 87–96.
[25] Nathan Binkert, Bradford Beckmann, Gabriel Black, Steven K. Reinhardt, Ali Saidi, Arkaprava Basu, Joel Hestness, Derek R. Hower, Tushar Krishna, Somayeh Sardashti, Rathi- jit Sen, Korey Sewell, Muhammad Shoaib, Nilay Vaish, Mark D. Hill, and David A. Wood, “The gem5 simulator”, SIGARCH Comput. Archit. News, vol. 39, no. 2, pp. 1–7, Aug. 2011.
[26] Kenneth Vollmar and Pete Sanderson, “Mars: an education-oriented mips assembly language simulator”, in PROCEEDINGS OF THE 37TH SIGCSE TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE ’06), VOLUME 38 ISSUE 1, 2006.
(此全文未開放授權)
電子全文
摘要
 
 
 
 
第一頁 上一頁 下一頁 最後一頁 top
* *