簡易檢索 / 詳目顯示

研究生: 洪銘冠
Hong Ming-Kong
論文名稱: 設計與實現一個AXI4介面相容的DDR4-SDRAM 控制器
The Design and Implementation of an AXI4-Compatible DDR4-SDRAM Controller
指導教授: 林銘波
Ming-Bo Lin
口試委員: 陳郁堂
Yie-Tarng Chen
林昌鴻
Chang Hong Lin
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2019
畢業學年度: 107
語文別: 中文
論文頁數: 52
中文關鍵詞: AXI4DDR4-SDRAM 控制器
外文關鍵詞: AXI4, DDR4-SDRAM Controller
相關次數: 點閱:381下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 摘要
    隨著速度的上升與功能的彈性,記憶體的時脈也越來越高,而且與(System-on-Chip,SoC)結合成為一種趨勢,因此SDRAM控制器也納入SoC內作為一個重要的模組,以有效率的驅動記憶體,達到更高的速率。
    由於SoC晶片大部分皆使用ARM Cortex系列的微控制器,所以本論文選擇使用AMBA系列中的AXI4介面與SDRAM DDR4連接,並設計與實現需要的SDRAM控制器。
    本論文中的SDRAM控制器分為四個區塊,分別為非同步接收AXI指令區塊、指令排程區塊、記憶體物理層、記憶體資料回傳區塊,利用AXI的隨意傳輸與burst type傳輸型態,並結合DDR4的bank group與讀寫排程,縮減WTR_time、RTW_time的執行次數,以達到加快整體效能的目的。
    完成的記憶體控制器符合DDR4 SDRAM與AMBA系列AXI4規範,可以依照輸入的讀寫指令做出良好的排程,並在Xilinx ISE Spartan6 XC6SLX150上進行模擬,使用了421個邏輯閘、729個暫存器、265 LUT做為記憶體使用,操作頻率最高可達229.28MHz。


    Abstract

    The increasing demand for speed and flexibility of functions, the clock frequency of memory is getting higher and higher. In addition, due to the trend of integrating various modules into an SoC (System-on-Chip), embedding an SDRAM controller is of importance an efficient way to drive the memory so as to achieve high performance. Since most SoC chips use the ARM Cortex microcontrollers, in this thesis we design and implement an SDRAM controller, which connects AMBA AXI4 and DDR4 SDRAM.
    The SDRAM controller is divided into four modules, including asynchronous FIFO receiving AXI instruction blocks module, the instruction scheduling module, the memory physical layer module, and memory data return block module. We use out-of-order transmission and burst type transfer of AXI4. By combining DDR4 bank groups with the read and write scheduling, WTR_time and RTW_time execution times are reduced and overall performance is promoted.
    The completed memory controller conforms to the standards of DDR4 and AMBA AXI4. The input read and write instructions are well scheduled. On the Xilinx ISE Spartan6 XC6SLX150 device, it uses 421 logic gates, 729 registers, and 265 LUTs as memory. The final operating frequency is up to 229.28 MHz.

    目錄 第一章緒論 1 1.1研究動機 1 1.2章節簡介 1 第二章背景介紹 2 2.1 AMBA-AXI4介紹 2 2.1.1AXI基本架構 3 2.1.2 AXI4的交易架構 5 2.1.3 burst傳輸架構 7 2.1.4回應訊號 9 2.1.5握手原則(Hand Shaking) 10 2.2 DDR4記憶體介紹 11 2.2.1 DDR4記憶體參數介紹 11 2.2.2 DDR4記憶體指令介紹 16 2.2.3 DDR4記憶體時序介紹 17 2.2.4 DDR4記憶體的初始化 18 第三章記憶體控制器架構 19 3.1 SDRAM控制器架構 19 3.2 非同步FIFO 20 3.3 schedule 24 3.4 Time shift 30 3.5 responese 34 第四章記憶體控制器的模擬與測試 36 第五章 結論 40

    參考文獻
    [1] ARM, ARM® AXI and ACE Protocol Specification-AXI3, AXI4, AXI5, ACE andACE5, 2017.

    [2] Micron, DDR4 SDRAM MT40A1G4 MT40A512M8 MT40A256M16, 2014.

    [3] ARM, ARM® Cortex®-A72 MPCore Processor Technical Reference Manual, 2016.

    [4] ARM, ARM® Cortex®-A9 Technical Reference Manual, 2016.

    [5] ARM, AXI Interconnect v2.1 LogiCORE IP Product Guide Vivado Design Suite, 2016.

    [6] ARM, ARM® Cortex®-A Series Technical Reference Manual, 2015.

    [7] Amit Bakshi, and Sudhanshu Shekhar Pandey, "ASIC Implementation of DDR SDRAM Memory Controller,"IEEE International Conference on Emerging Trends in Computing, Communication and Nanotechnology, pp.74-78, Mar. 25 2013.

    [8] Haytham Ashour, "Design, Simulation and Realization of a Parametrizable, Configurable and Modular Asynchronous FIFO,"Science and Information Conference, pp.1391-1395, Jul. 28 2015.

    [9] Md. Ashraful Islam, Md. Yeasin Arafath, and Md. Jahid Hasan, "Design of DDR4 SDRAM Controller,”The 8th International Conference on Electrical and Computer Engineering, pp. 148-151, Dec. 20 2014.

    [10] Pooran Singh, Bhupendra Reniwal, Vikas Vijayvargiya, and Santosh Kumar Vishvakarma, "Design of high speed DDR SDRAM controller with
    less logic utilization,"The 2nd International Conference on Devices, Circuits and Systems, pp. 1-6, Mar. 6 2014.

    [11] 黃文詮, AMBA 相容之動態記憶體控制器智財設計與驗證, 國立台灣科技大學電子工程系碩士學位論文, 11/17,2009

    [12] 張耿華, 設計與實現一個基於AXI4介面的DDR4-SDRAM控制器, 國立台灣科技大學電子工程系碩士學位論文, 05/10,2018

    [12] 鄭宇良, 設計與實現一個符合AHB5介面的DDR4-SDRAM控制器, 國立台灣科技大學電子工程系碩士學位論文, 06/06,2018

    QR CODE