| 研究生: |
廖培鈞 Liao, Pei-Chun |
|---|---|
| 論文名稱: |
嵌入式一對多光碟備份系統之ESL分析設計與FPGA實現 ESL analysis and FPGA implementation of an embedded duplicator system |
| 指導教授: |
陳中和
Chen, Chung-Ho |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電腦與通信工程研究所 Institute of Computer & Communication Engineering |
| 論文出版年: | 2009 |
| 畢業學年度: | 97 |
| 語文別: | 中文 |
| 論文頁數: | 94 |
| 中文關鍵詞: | 光碟備份 |
| 外文關鍵詞: | duplicator |
| 相關次數: | 點閱:42 下載:2 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
一對多光碟備份系統的挑戰在於即時系統的特性,為了保持燒錄過程穩定必須確保傳輸速度,否則將導致燒錄失敗。因此如何評估、建立一個系統,保證提供給光碟機充足的頻寬,穩定的完成備份工作是一項重要的議題。
本論文使用ESL設計方式,在CoWare Platform Architect平台上建立一對多光碟備份系統。藉由模擬真實系統運作的方式,分析系統上各個元件設計對於整體效能的影響,如匯流排架構、DMA控制器、記憶體、IDE控制器。根據分析的結果建立一個數學頻寬方程式,將不同的硬體架構套入方程式,可以估算出一個等效頻寬,藉此評估在此系統架構下是否能提供充足的頻寬。
我們設計的RTL IDE Controller採用Distributed DMA及Ping-Pong Buffer架構,支援PIO Mode 0~4、UDMA Mode 0~2。此IDEC在TSMC 0.18um的製程下總共佔30K個邏輯閘。而在Xilinx XC2V8000 FPGA共用564個Flip-Flop及1436個LUT,最高時脈達到113Mhz。為了減少IDEC使用的硬體資源,我們用BRAM代替暫存器實現IDEC緩衝區,節省了Flip-Flop 78%及LUT 46%的使用量。我們實現了一對三的光碟備份系統在ARM Versatile發展平台,透過真實燒錄機,搭配自行開發的測試軟體,成功完成一對三的光碟備份。
In a duplicator system, one of the biggest challenges is the characterization of the real-time system. If the transfer speed is not fast enough, the DVD recorder may suffer buffer-under-run which leads to system failure. Thus, how to establish and evaluate a duplicator system with an adequate bandwidth for reliable disc duplicating task is an important issue.
This thesis presents an ESL methodology to analyze the duplicator system. We have established a virtual duplicator system in CoWare Platform Architect to simulate a real duplicator system. We have analyzed various components of the system design that affects the performance and have derived a bandwidth equation from the ESL analysis result. We can use this bandwidth equation to calculate the bandwidth and estimate whether the system architecture is suitable or not.
In the IDE Controller design, we use a distributed DMA and ping-pong buffer architecture to enhance the transfer throughput. The design supports PIO mode 0 to 4 and UDMA mode 0 to 2. It has been realized by TSMC 0.18um technology and the total gate count is 30K. It can run up to 113 MHz in Xilinx XC2V8000 FPGA implementation with 564 Flip-Flops and 1436 LUTs. In order to reduce the FPGA hardware resource, we substitute BRAM for registers to implement the IDEC buffer and the total Flip-Flop reduction is 78% and LUT is 46% respectively. We have implemented the duplicator system on the ARM Versatile platform and successfully completed a one-to-three disc backup through real DVD recorders and verification software.
[1] InterNational Committee for Information Technology Standards – T13 Technical Committee, http://t13.incits.org/
[2] InterNational Committee for Information Technology Standards – T10 Technical Committee , http://www.t10.org/
[3] G. Rajesh, A. Berry, Gerard, and B. Forrest, “Advances in ESL Design,” In IEEE J. Design & Test of Computers, vol.25, no.6, pp.520-526, December 2008.
[4] H.-C. Du, “On the Performance of Synchronous Multiprocessors,” In IEEE Trans. Computers, vol.C-34, no.5, pp.462-466, May 1985.
[5] W.-T. Chen and J.-P. Sheu, “Performance analysis of multiple bus interconnection networks with hierarchical requesting model,” In IEEE Trans. Computers, vol.40, no.7, pp.834-842, July 1991.
[6] H.-G. Lee, N. Chang, and R. Marculescu “On-chip communication architecture exploration: A quantitative evaluation of point-to-point, bus, and network-on-chip approaches,” In ACM Trans. Design Automation of Electronic Systems (TODAES), Volume 12, Issue 3, August 2007.
[7] K. Lahiri, A. Raghunathan, and S. Dey, “Fast performance analysis of bus-based system-on-chip communication architectures,” In IEEE/ACM International Conf. Computer-Aided Design, vol., no., pp.566-572, 1999.
[8] ARM Corporation, “ARM Architecture Reference Manual,” 2000.
[9] B. Brian, M. Grant, and P. Andrew, “ESL Design and Verification: A Prescription for Electronic System Level Methodology,” Morgan Kaufmann, 2007, ISBN: 0123735513.
[10] CoWare Company, http://www.coware.com
[11] Open SystemC Initiative (OSCI), http://www.systemc.org
[12] Altera Corporation, “Altera DMA Controller Core,” March 2009.
[13] Xilinx Corporation, “Xilinx OPB Central DMA Controller,” December 2005.
[14] ARM Corporation, “PrimeCell DMA Controller (PL080) Technical Reference Manual,” 2005.
[15] ARM Corporation, “PrimeCell Single Master DMA Controller (PL081) Technical Reference Manual,” 2005.
[16] Texas Instruments Corporation, “TMS320VC5501/5502 DSP Direct Memory Access (DMA) Controller,” March 2005.
[17] Global Unichip Corporation, “UAPC-5100 DMA Controller,” 2004.
[18] K. Chen, L. Qi, and H. Yu, “Design of Two-Dimension DMA Controller in Media Multi-Processor SoC,” In IEEE International Symp. Intelligent Information Technology Application (IITA), vol.2, no., pp.708-711, December 2008.
[19] R.-O. Onvural, “On performance characteristics of LAN interfaces with PING/PONG buffers,” In IEEE Conf. Local Computer Networks, vol., no., pp.562-568, October 1991.
[20] H.-J. Wang, Y.-J. Huang, and H. Li, “H.264/AVC Video Encoder Implementation Based on TI TMS320DM642,” In IEEE International Conf. Intelligent Information Hiding and Multimedia Signal Processing (IIH-MSP), vol., no., pp.503-506, December 2006.
[21] InterNational Committee for Information Technology Standards, “AT Attachment with Packet Interface – 7 Volume 1~3 Specification,” Revision 4a, March 2004.
[22] ARM Corporation, “RealView Platform Baseboard for ARM926EJ-S User Guide,” http://infocenter.arm.com/help/topic/com.arm.doc.dui0224h/DUI0224H_arm926ejs_platform_baseboard_user_guide.pdf
[23] ARM Corporation, “RealView Logic Tile (Virtex-II XC2V8000) User Guide,” http://infocenter.arm.com/help/topic/com.arm.doc.dui0186e/DUI0186E_lt-xc2v4000_logic_tile_user_guide.pdf
[24] ARM Corporation, “RealView Interface Tile User Guide (IT-1),” http://infocenter.arm.com/help/topic/com.arm.doc.dui0188c/DUI0188C_versatile_it1_interface_tile_user_guide.pdf
[25] Design Compiler, http://www.synopsys.com/home.aspx
[26] Wookey, C. Rutter, J. Sutherland, and P. Webb “The GNU Toolchain for ARM targets HOWTO.”
[27] ARM Corporation, “RealView Debugger Essentials Guide,” 2009.
[28] ARM Corporation, “RealView Debugger User Guide,” 2009.
[29] ARM Corporation, “RealView Debugger Target Configuration Guide,” 2009.
[30] ARM Corporation, “RealView Debugger TraceUser Guide,” 2009.
[31] ARM Corporation, “RealView ICE and RealView Trace User Guide,” 2009.
[32] CDRkit, http://www.cdrkit.org
[33] 汪仲甫, “光碟燒錄技術徹底研究 第二版,” 旗標出版股份有限公司, 2006.
[34] MD5summer, http://www.md5summer.org
[35] Wikipedia, http://zh.wikipedia.org/zh-hk/File:Cylinder_Head_Sector.svg
[36] PCADV website, http://www.pcadv.com.tw/?p=6038
[37] BTC Company, http://www.btc.com.tw/big-5/3-6-technical.htm