簡易檢索 / 詳目顯示

研究生: 黃佳豪
Huang, Jia-Hao
論文名稱: 事件驅動模擬動態隨機存取記憶體模型
An Event-based DRAM Simulation Model
指導教授: 劉靖家
Liou, Jing-Jia
口試委員: 黃稚存
Huang, Chih-Tsun
陳添福
Chen, Tien-Fu
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2012
畢業學年度: 101
語文別: 英文
論文頁數: 45
中文關鍵詞: 動態隨機存取記憶體事件驅動模擬模型
外文關鍵詞: DRAM, Event-based, Simulation Model
相關次數: 點閱:3下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在現今高效能導向的電腦架構下,部記憶體扮演越來越重要的角色,甚至會
    影響到整體的運算速度,在目前的系統單晶片(SoC)架構設計時 常會配合使用電
    子系統層級(ESL)層級來營造軟硬體共同設計的環境,因此一個準確並且快速的
    外部記憶體系統模型成為架構設計者不可或缺的角色。我們利用電子系統層級做
    為模型設計,並且利用一個外部記憶體模擬器(DRAMSim2)為基礎,建立出一個
    SystemC/OCP 環境的模型。由於 DRAMSim2 提供複雜的記憶體控制器(Memory Controller)機制,再加上DRAMSim2 對於模擬的時間精細度到達時脈精準(Cycle-Accurate),過多不影響模擬結果的時脈以及機制被模擬出來,因此整體的模擬速度會偏慢。本篇論文中,我們提出一個基於 DRAMSim2 的外部記憶模型,利用 SystemC所提供的程序(Process)以及事件(Event)建立出一個事件驅動的模型,程序彼此間利用事件做為溝通,如此時間精細度不是時脈精準,但是由於只模擬有意義的時間點,因此對於模擬正確性而言不會受到影響,但可進而加快模擬速度。對於驗證方面,記錄下每一個外部記憶體活動的時間點與動作,必較DRAMSim2 所建立的 SystemC 模型與我們所提出基於事件模型,我們利用 Spec CPU 2006 為我們的驗證追蹤檔案(Trace File),在所有的 Trace File 中驗證過我們所提出的事件驅動模型是正確的。實驗結果顯示,本論文所提出的方法可以增快模擬速度從 1.8 倍到 14 倍,增快的速度取決於 Trace File 中記憶體指令的密度。


    For computer system design, accurate modeling and fast simulation of external memories (DRAMs) are key to achieve high performance and efficiency. To adapt the simulation of DRAMs in Electronic System Level design, we study and wrap an existing simulator (DRAMSim2) in the SystemC/OCP environments. Though DRAMSim2 support sophisticated mechanism of DRAM controllers, the simulation works to handle all activities in a cycle-based behavior. Therefore, the idle cycles and activities with long cycles may not be handled efficiently. In this thesis, we proposed an event-based DRAM simulation scheme to address this issue (or more precisely based on SystemC process and events). To verify the proposed ESL model, we constructed test benches based on memory traces (extracted from SPEC CPU2006). For all test benches, the simulated cycles are identical for both simulators and the event-based model is about 1.8x to 14x faster than DRAMSim2-based model.

    1 Introduction 1.1 Motivation 1.2 Thesis Organization 2 Background 2.1 Basic DRAM concept 2.2 Overview of DRAMSim2 2.3 Memory Controller Architecture 2.4 Architecture of High Performance Controller II 3 Proposed Event-based DRAM System Model 3.1 Proposed event-based DRAM ESL Model 4 Verification and Experimental Results 4.1 Trace File 4.2 Experimental Setup 4.3 Verification of Proposed Event-Based DRAM Model 4.4 Experimental Results 4.5 Estimated Upper Bound of Speed Up 5 Conclusions and Future Work 5.1 Conclusions 5.2 Future Work

    [1] Win. A. Wulf and Sally A. McKee, “Hitting the memory wall: implications of the obvious”,1995.
    [2] “ITRS 2010. The International Technology Roadmap for Semiconductors”.
    [3] Brian Rogers, Anil Krishna, Gordon Bell, Ken Vu, Xiaowei Jiang, and Yan Solihin, “Scaling
    the Bandwidth Wall:Challenges in and Avenues for CMP Scaling”, 2009.
    [4] Ting-Shuo Hsu, “A DVFS Many-core ESL Simulation Platform with Software Communica-
    tion API”, Master’s thesis, National Tsing-Hua University, Electrical Engineering Department,
    2011.
    [5] Altera, External Memory Interface Handbook Volume 3: Reference Material, 2012.
    [6] P. Rosenfeld, E. Cooper-Balis, and B. Jacob, “DRAMSim2:A cycle accurate memory system
    simulator”.
    [7] D. C. Black, J. Donovan, B. Bunton, and A. Keist, SystemC: From the ground up, Springer
    Verlag, 2009.
    [8] Bruce Jacob, Spencer W. Ng, and David T. Wang, Memory systems: cache, DRAM, disk,
    Morgan Kaufmann, 2008.

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE