簡易檢索 / 詳目顯示

研究生: 黃朗
Lang Huang
論文名稱: 設計與實現一個USB 3.1 Gen2的實體層架構
Design and Implementation of a USB 3.1 Gen2 Physical Layer
指導教授: 林銘波
Ming-Bo Lin
口試委員: 林昌鴻
Chang-Hong Lin
陳郁堂
Yie-Tarng Chen
林敬舜
Ching-Shun Lin
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2018
畢業學年度: 106
語文別: 中文
論文頁數: 63
中文關鍵詞: USB
外文關鍵詞: USB
相關次數: 點閱:306下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • Universal Serial Bus (USB)是一種廣泛應用於電腦系統與外部裝置連接的串列傳輸標準,它擁有著免安裝驅動、易插拔、速度快、相容性高、價格便宜等的優點,至今幾乎已成為電腦與周邊裝置溝通必備的標準介面。實體層是USB架構中最低的一層,為傳輸資料所需的真實連接來建立、維持、拆除,並且提供機械、電子、功能、規範的特性,確保原始資料可在各種實體介質上傳輸。USB 3.1 Gen2的實體層相較於前一代Gen1(舊稱USB 3.0)提供了兩倍的速度達到10 Gbps,並且將原本的8b/10b編碼改成128b/132b編碼,減少84%的冗碼率(Overhead)以增加資料的吞吐量(Throughput)。
    本篇論文中的實體層傳輸端,利用平行化的擾碼器(Scrambler)降低Core Clock時脈,來減少87.9%的功率消耗,設計的編碼器錯開讀寫的時間,大量節省所需的正反器從264個降至20個;接收端的資料對齊器使用移位暫存器(Shift Register)來儲存並判斷,並且利用半滿技術實現彈性緩衝器(Elastic Buffer)解決時鐘相位偏差的問題,最後也利用平行化的解擾碼器使接收的資料與傳輸一致。
    完成的電路符合USB 3.1 Gen2 的傳輸規範,使用Xilinx的Virtex 6的xc6vcx75t-2ff484實現。發送端共用消耗了322個查找表(Look up table, LUT)和130個正反器(Flip-Flop, FF),操作時脈可到86.6 MHz,位元時脈則可到714.3 MHz。接收端共消耗了1867個查找表和977個正反器,操作時脈可到67.3 MHz,位元時脈則可到555.6 MHz。


    Universal Serial Bus (USB) is a serial transmission standard widely used in computer systems and external devices. It has many advantages such as driverless installation, easy insertion and removal, fast speed, high compatibility, and low price. Most of computers and peripheral devices choose USB as the standard interface due to these advantages. The physical layer is the lowest layer in the USB architecture. It is built, maintained, and removed for the real connections. To ensure that raw data can be transmitted over a variety of physical media, the physical layer provides mechanical, electrical, functional, and specification features. USB 3.1 Gen2 provides twice the speed compared to the previous generation Gen1 (as known as USB 3.0), and changes the 8b/10b encoding to 128b/132b encoding, which greatly reduces the redundancy up to 84%, thereby increasing the data throughput.
    In the thesis, the transmitter uses a parallel scrambler to reduce power consumption by 87.9%. The designed encoder separates the reading and writing actions, and reduces a large number of flip-flops (FFs) from 264 to 20. At the receiver, the data aligner uses a shift register to store and monitor data. To solve the difference between the symbol clock and core clock, a half-full technique is applied to the elastic buffer. Moreover, the parallel descrambler makes the received data identical with the transmitted data.
    The completed circuit complies with the USB 3.1 Gen2 transmission specification and is implemented using Xilinx's Virtex 6 xc6vcx75t-2ff484. The transmitter consumes 322 lookup tables (LUTs) and 130 FFs. The maximum operating frequency of the core clock is 86.6 MHz and the bit clock is 714.3 MHz. The receiving end consumes 1867 LUTs and 977 FFs, the operation clock can reach 67.3 MHz, and the bit clock can reach 555.6 MHz.

    第一章 序論 1 1.1. 研究背景 1 1.2. 研究動機 1 1.3. 章節簡介 2 第二章 USB 3.1 Gen2介紹 3 2.1. USB 3.1 Gen2的實體線路 3 2.2. USB 3.1 Gen2和USB 2.0架構比較 4 2.3. USB 3.1 Gen2的架構 6 2.4. 實體層 (Physical Layer) 7 2.5. 連接層 (Link Layer) 8 2.6. 協定層 (Protocol Layer) 10 第三章 USB 3.1 Gen2 實體層編解碼 13 3.1. 實體層架構 13 3.2. USB 3.1 Gen2 傳輸 15 3.3. 128b/132b 編解碼規則 15 3.4. USB 3.1 Gen2 擾碼/解擾碼規則 16 3.5. 128b/132b 解碼錯誤修正 17 3.6. 封包架構和連結管理使用的特殊符號 18 3.7. USB 3.1 Gen2 操作 18 3.8. USB 3.1 Gen2 訓練程序的標準 19 3.9. USB 3.1 Gen2 訓練程序的值 19 3.10. USB 3.1 Gen2 區塊對齊規則 23 3.11. USB 3.1 Gen2的線極性反轉 24 3.12. 彈性緩衝器和SKP Ordered Set 24 第四章 設計 27 4.1. 設計總架構 27 4.2. 發送端-擾碼器 29 4.3. 發送端-128b/132b編碼器+並列轉串列器 31 4.4. 接收端-串列轉並列器+128b/132b區塊對齊器 32 4.5. 接收端-彈性緩衝器 35 4.6. 接收端-解擾碼器 38 第五章 實現及驗證 39 5.1. FPGA實現結果 39 5.2. 發送端-擾碼器 40 5.3. 發送端-128b/132b編碼器+並列轉串列器 43 5.4. 發送端-Top Module 43 5.5. 接收端-串列轉並列器+128b/132b區塊對齊器 43 5.6. 接收端-彈性緩衝器 44 5.7. 接收端-解擾碼器 45 5.8. 接收端-Top Module 48 5.9. 無平行化和平行化擾碼器比較 48 第六章 結論 50

    [1]. “Universal Serial Bus 3.1 Specification,” Revision 1.0, Jul. 2013.
    [2]. Hardik Trivedi, Rohit Kumar, and Ronak Tank, “Implementation of USB 3.0 SuperSpeed Physical Layer using Verilog HDL,” International Journal of Computer Applications, Vol.95, No.24, pp.1-5, Jun. 2014.
    [3]. Rakeshroshan Mandal, and Philemon Daniel, “A Study to Implement Super Speed Plus USB 3.1 Physical Layer,” International Journal of Electrical, Electronics and Data Communication, Vol.4, No.2, pp.13-19, Feb. 2016.
    [4]. Zheng Qian, Yan Min, Zhao Jian-zhong, Li You, and ZHANG Feng, “Design of Elastic Buffer at Physical Layer Based on PCIE2.0,” Computer Engineering, Vol.40, No.10, pp.71-75, May 2014.
    [5]. M.Sukhanya, T.Chandra Kumar, and K.Gavaskar, “Design and Verification of LTSSM in USB 3.0 Link Layer using System Verilog,” International Conference on Signal Processing, Communications and Networking, Vol.5, No.4, pp.4916-4921, Mar. 2017.
    [6]. Hong Chang, Te Peng, Daoming Ke, Tailong Xu, and Jian Meng, “Design and implementation of elastic buffer for Universal Serial Bus 3.0,” IEICE Electronics Express, Vol.13, No.5, pp.1-10, 2012.
    [7]. Joe Winkles, “Elastic Buffer Implementations in PCI Express Devices,” MindShare Inc., Nov. 2003.
    [8]. “Universal Serial Bus 3.1 Link Layer Test Specification,” Revision 0.92, Nov. 2015.
    [9]. Clifford E. Cummings, “Simulation and Synthesis Techniques for Asynchronous FIFO Design,” Sunburst Design Inc., Rev 1.2, 2002.
    [10]. Allen Wang “USB 3.1 and USB Type-C Functional & Test Solution Update,” Keysight Technologies Inc., 2015.
    [11]. Vinod Mukati “High-speed Parallel Architecture and Pipelining for LFSR,” International Journal of Scientific Research Engineering &Technology (IJSRET) , pp.39-43, Nov. 2016.
    [12]. Manohar Ayinala, “High-Speed Parallel Architectures for Linear Feedback Shift Registers,” IEEE Transaction on Signal Processing, Vol. 59, No. 9, pp.4459-4460, SEP. 2011.
    [13]. Shiv Dutta Mishra, “Design and Analysis of FPGA based cryptographic N-bit parallel LFSR,” International Journal of Latest Trends in Engineering and Technology (IJLTET), Vol.3, No.2, pp.194-199, Nov. 2013.

    無法下載圖示 全文公開日期 2023/08/01 (校內網路)
    全文公開日期 2033/08/01 (校外網路)
    全文公開日期 2033/08/01 (國家圖書館:臺灣博碩士論文系統)
    QR CODE