用户名: 密码: 验证码:
MPEG-2解码芯片中AMBA总线、DMA控制器和UART接口的设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
目前,数字电视日益成为人们关注的焦点,而限制其发展的一个主要因素是没有一种适合数字电视广播系统的视频压缩编码算法和传输标准。随着研究的一步步深入,“活动图像专家组”(MPEG, Moving Picture Experts Group)于1993年提出了MPEG-2压缩编码标准,该标准对数字电视的发展起到了决定性推动作用。
     本文采用Top-Down方法,首先分析了MPEG-2解码芯片的设计要求和整体结构,并在这个背景下,采用Verilog硬件描述语言完成了AMBA总线,DMA控制器和UART接口三个模块的RTL代码,使之符合这个SOC架构。然后,利用Modelsim软件,对上述三个模块进行功能验证和设计优化,同时在测试激励程序(testbench)中加入systemverilog的断言语法,方便在模拟时能够及时捕捉错误,并且迅速准确的定位错误所在,大大简化了纠错工作。最后,使用QuartusⅡ的Mega Wizard插件管理器定制单端口的ROM和SRAM IP核,编写带有AHB接口的ROM控制器和带有APB接口的SRAM控制器,并且将其和上述三个模块集成整合,搭建相应的FPGA平台,同时嵌入Minimips使之成为一个最小系统,借助软件组提供的Firmware,对AMBA总线、DMA控制器和UART接口进行软硬件协同验证。
     在经过充分的功能仿真,FPGA验证和软硬件协同验证后,MPEG-2解码芯片采用SMIC 0.13um工艺库进行流片测试,目前这三个模块工作性能良好。本文的实验结果表明AMBA总线,DMA控制器,UART接口在27MHz、108MHz、150MHz频率下都可以正常工作,能够满足数字电视标清和高清两种标准。
At present, digital TV is increasingly becoming the focus of attention. However, for a long time, a major factor to restrict digital TV development is that there is not a video compression coding and transmission standard suitable for television broadcasting system. With the step-by-step in-depth understanding "Moving Picture Experts Group" (MPEG) proposed MPEG-2 compressing standard in 1993, which has played a decisive role in promoting the development of digital television.
     In this paper, Top-Down design methodology is used. First of all, analysis the design requirement and overall structure of MPEG-2 Decoder chip, and against this background, complete the RTL code of the AMBA bus, DMA controller and UART interface modules by using Verilog Hardware Description Language, and make them compatible with the SOC framework. Then, complete the function verification of the above-mentioned three modules by Modelsim software. At the same time, add assert syntax in the testbench, which can catch errors in time conveniently when imitating, and prompt accurate positioning error that facilitated the error correction job greatly. Finally, custom single-port ROM and SRAM core by Mega Wizard plug-in manager tool, and integrate them with the above-mentioned three modules and MINIMIPS to build FPGA for co-verification.
     After the full function simulation, FPGA verification, hardware and software co-verification, MPEG-2 decoder chip taped out using SMIC 0.13um process tape library, and the current performance of the three modules work well. In this paper, the results show that the design of AMBA bus, DMA controller and UART interface can operate at 27MHz,108MHz, 150MHz, which meets the SDTV and HDTV standard.
引文
[1]梁龙飞.数字电视广播系统的条件接收及传输流复用技术的研究[D].上海:上海交通大学,2003:1-4
    [2]卢官明,宗昉.数字电视原理[M].北京:机械工业出版社,2007:1-11
    [3]Netravali A, Lippman A. Digital Television:a perspective [J]. Proceedings of IEEE,1995,83(6): 834-842
    [4]中国电视业面临的挑战与应对策略http://www.people.com.cn/GB/paper79/6062/604280.html
    [5]Hopkins R. Digital HDTV broadcasting [J]. IEEE Transactions on Broadcasting,1991,37(4): 123-127
    [6]Ninomiya Y. HDTV Broadcasting Systems [J]. IEEE Communications Magazine,1991,29(8): 15-22
    [7]Ninomiya Y, Ohtsuka Y, Izumi Y et al. A HDTV Broadcasting System Utilizing a Bandwidth Compression Technique-MUSE[J]. IEEE Trans on Broadcasting,1987,33(4):130-160
    [8]Hopkins R. Digital Terrestrial HDTV for North America:the Grand Alliance HDTV system [J]. IEEE Transactions on Consumer Electronics,1994,40(3):185-198
    [9]Hopkins R. Choosing an American Digital HDTV Terrestrial Broadcasting System [J]. Proceedings of the IEEE,1994,82(4):554-563
    [10]王振.高清晰度数字电视机顶盒的设计与实现[D].武汉:华中科技大学,2006:1-4
    [11]余兆明,余智.数字电视原理[M].北京:人民邮电出版社,2004:1-3,154-162
    [12]易湖.数字视频处理的FPGA实现[D].武汉:华中科技大学,2006:1-2
    [13]邓泽学.有线高清晰度数字电视单元的设计与实现[D].北京:北京航空航天大学,2004:1-5
    [14]刘飞.有线数字电视传输相关技术的研究[D].北京:北京邮电大学,2005:1-10
    [15]洪波.数字电视广播系统中复用/解复用的实现[D].浙江:浙江大学,2004:5-8
    [16]陈赟.数字电视解调芯片若干关键技术及其应用研究[D].上海:复旦大学,2007:1-4
    [17]易志强.有线数字电视SoC芯片软硬件协同设计及其片上总线研究[D].浙江:浙江大学,2006:1-3
    [18]周岩.MPEG-2解码器运动补偿ASIC设计[D].上海:同济大学,2005:1-4
    [19]张立超.数字电视信源解码系统架构设计与总线分析[D].北京:北京工业大学,2008:1-4
    [20]吴智华,罗嵘,杨华中.一种用于MPEG-2解码芯片的高效内存存储结构[J].微电子学,2007,37(6):878-886
    [21]何铁军.数字视频技术在智能运输系统中的应用研究[D].南京:东南大学,2004:4,9-10
    [22]徐洄.高速公路MPEG2/4网络视频编解码器研究与设计[D].吉林:吉林大学,2007:15-20
    [23]Cordan, B. An Efficient Bus Architecture for System-on-Chip Design [J]. Proceedings of the IEEE 1999, Custom Integrated Circuits,1999,28(2):623-626
    [24]Aldworth, P. J. System-on-a-Chip Bus Architecture for embedded applications [J]. (ICCD'99) International Conference on Computer Design,1999:297-298
    [25]吴旭凡.系统芯片中片上总线结构的性能评价研究[D].南京:东南大学,2006:20-27
    [26]朱嘉.基于AMBA总线结构的高性能存储接口的研究与设计[D].上海:同济大学,2007:6-9
    [27]刘俊江.基于ARM核的AHB_USB2.0接口ASIC设计[D].成都:电子科技大学,2007:11-18
    [28]吕涛,许彤,贾宇然AMBA接口逻辑的设计验证[C].中国计算机学会容错计算专业委员会,第三届中国测试学术会议论文集.天津:天津大学出版社,2004:260-264
    [29]姚力,郭炜.基于AMBA的SOC总线功耗分析及优化[J].微计算机信息,2007,23(11-2):150-154
    [30]吴树伟.基于AMBA架构的SOC芯片验证的方法[J],中国集成电路,2006(07):47-49
    [31]AMBA Specification Rev 2.0. http://www.arm.com/
    [32]AHB Example AMBA System Technical Reference Manual. http://www.arm.com/
    [33]夏晶,权进国,林孝康.AHB-to-APB总线桥的设计与应用[J].计算机工程,2006,32(10):246-248
    [34]王彬,张继勇,廖乙洁.AHB-to-APB总线桥的硬件设计[J].火力与指挥控制,2008,33:94-96
    [35]李杨.基于AMBA总线协议的APB Bridge设计[D].成都:成都理工大学,2008:13-18
    [36]William Stallings张昆藏,施一萍,经致远译.计算机组成与结构-性能设计[M].北京:清华大学出版社,2001:135-149
    [37]王爱英.计算机组成与结构[M].北京:清华大学出版社,2001:368-397
    [38]吕林清.微型计算机原理与接口技术[M].北京:科学出版社,2005:137-150,198-200
    [39]王克义,鲁守智,蔡建新,王文保.微机原理与接口技术教程[M].北京:北京大学出版社,2004:354-385
    [40]陈玉梅.面向SOC的UART及DMA控制器IP软核的设计[D].山东:山东大学,2007:5-9,17-18
    [41]谢琅,杨艳.基于AMBA总线的DMA控制器IP核设计与分析[J].计算机应用研究,2006,23(12):213-214
    [42]O'Nils M, Jantsch A. Synthesis of DMA controllers from architecture independent descriptions of HW/SW communication protocols[C]. Proceedings.Twelfth International Conference On VLSI Design,1999:138-145
    [43]Shi Xinlei, Yang Jun, Lu Shengli. The Design and Optimization of DMA Controller in Embedded System-on-a-Chip [J]. Electronic Engineer,2004,30(1):5
    [44]Chia-Hao Yu, Chung-Kai Liu, Chih-Heng Kang, Tsun-Hsien Wang, Chih-Chien Shen, Shau-Yin Tseng. An Efficient DMA Controller for Multimedia Application in MPU Based SOC[C]. IEEE International Conference on Multimedia and Expo,2007:80-83
    [45]Olugbon A, Khawam S, Arslan T, Nousias.I, Lindsay.I. An AMBA AHB-based Reconfigurable SoC Architecture Using Multiplicity of Dedicated Flyby DMA Blocks [C]. Proceedings of the ASP-DAC 2005 Asia and South Pacific Design Automation Conference,2005,2:1256-1259
    [46]史听蕾,杨军,陆生礼.嵌入式SOC中的DMA控制器的设计与优化[J].电子工程师,2004,30(1):5-7
    [47]李涛,高德远,樊晓桠.可编程DMA控制器IP设计[J].计算机工程与应用,2000,36(8):39-40
    [48]周刚,杨大为,蒋晶鑫.基于IP核复用技术的DMA控制器IP核的设计[J].微处理机,2005,26(1):11-16
    [49]赵鹏,朱正学,李金才.SOC系统开发从实践到提高[M].北京:中国电力出版社,2007:155-161
    [50]Frank Durda. Serial and UART Tutorial. http://www.freebsd.org/doc/en/articles/serial-uart/
    [51]Christopher E. Strangio. The RS232 Standard. http://www.camiresearch.com/Data_Com_Basics/RS232_standard.html
    [52]RS-232、RS-422与RS-485标准及应用http://www.pjtime.com/2006/1/978481.shtml
    [53]时辰,张伟功.基于AMBA总线UART IP核的设计与实现[J].计算机应用,2003,26:36-38
    [54]胡茂文.支持IRDA1.0协议UART的IP软核的设计[D].陕西:西安理工大学,2004:8-14
    [55]UART 16650 IP Datasheet. SIDSA. http://www.sidsa.com
    [56]UART AN8062. LATTICE. http://www.latticesemi.com
    [57]冉冉.采用AMBA总线的SOC中UART的设计与实现[J].计算机工程与应用,2007,43(7):98-100
    [58]. Norhuzaimin J, Maimun H.H. The design of high speed UART [C]. APACE 2005 Asia-Pacific Conference on Applied Electromagnetics,2005:5
    [59]Yang Jinhong, Hong Yongqiang. Design of UART Based on ARM+DSP Distributed Data
    Acquisition System[C]. ICEMI'07.8th International Conference on Electronic Measurement and Instruments,2007:4-813,4-814
    [60]Elmenreich.W, Delvai.M. Time-Triggered Communication with UARTS[C].4th IEEE International Workshop on Factory Communication Systems,2002:97-104
    [61]杨大柱.基于FPGA的UART电路设计与仿真[J].微计算机信息,2007,23(5-2):212-213
    [62]武付香.基于AMBA总线的UART IP核开发及研究[J].现代电子技术,2007,30(16): 155-156
    [63]汪东,陈宝民,陈书明.一种可编程嵌入式异步SRAM存储控制器[J].微电子学,2005,35(6):668-672
    [64]Smith D J. HDL chip design-a practical guide for designing, synthesizing and simulating ASICs and FPGAs[M]. Doone Publication,1996:210-225
    [65]John F. Wakerly. Digital Design Principles and Practices. http://www.ddpp.com/
    [66]www.fpga.com.cn Quartus User Guide Version 4.2 [Z].2005.
    [67]任爱峰,初秀琴常存孙肖子.基于FPGA的嵌入式系统设计[M].西安:西安电子科技大学出版社,2005:60-178

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700