基于FPGA的MCU通用仿真器设计
发布时间:2018-05-13 10:52
本文选题:FPGA + MCU ; 参考:《西安电子科技大学》2013年硕士论文
【摘要】:随着科技的进步和电子信息技术的不断发展,MCU在越来越多的领域中被使用。但是MCU自身并不具备二次开发功能,需要借助相应的硬件开发平台和编译调试软件来对MCU进行二次开发。MCU仿真器就是这样一套完整的开发系统。 本文设计了一款基于FPGA的可用于多芯片的MCU仿真器,可以对课题组现有自主研发的MCU内核(如RISC-I和6502)的寄存器内容进行实时显示与更改,实现基本的二次开发。硬件平台基于Xilinx的XC3S700AN FPGA芯片及Cypress68013USB芯片。软件平台基于Xilinx ISE开发套件和由课题组自主开发的可视化仿真软件CASUEEmu。为了保证MCU仿真器与主机的兼容性,仿真器的数据通信和供电都使用了高速USB2.0接口,给出了通过68013USB芯片实现FPGA开发板USB2.0通信接口的详细设计过程。本文还利用IP核建立了寄存器模块,并设计了一个实时读写状态机,从而实现主机直接通过USB2.0接口读写寄存器内容,令用户可以通过CASUEEmu开发软件实时显示与更改MCU的寄存器。同时,为了实现对多款MCU的仿真支持,本文还设计了支持多芯片的读写数据协议,,并通过在FPGA中编写数据处理模块实现了对该协议的支持。最后,主机能够按照定制的数据读写协议通过USB2.0接口对MCU的寄存器内容进行实时显示和更改,MCU通用仿真器达到设计目标。
[Abstract]:With the development of technology and electronic information technology, MCU is used in more and more fields. However, MCU itself does not have the function of secondary development. It needs the corresponding hardware development platform and compiling and debugging software to redevelop MCU. MCU simulator is such a complete development system. A multi-chip MCU simulator based on FPGA is designed in this paper. It can display and change the register contents of the existing MCU kernel (such as RISC-I and 6502) developed by our research group in real time, and realize the basic secondary development. The hardware platform is based on XC3S700AN FPGA chip and Cypress68013USB chip of Xilinx. The software platform is based on the Xilinx ISE development suite and the visual simulation software CASUEEmu. developed by the research group. In order to ensure the compatibility between the MCU simulator and the host computer, the high-speed USB2.0 interface is used in the data communication and power supply of the simulator. The detailed design process of the USB2.0 communication interface of the FPGA development board through the 68013USB chip is given. This paper also establishes register module with IP core, and designs a real-time read and write state machine, so that the host computer can read and write register contents directly through USB2.0 interface, so that users can display and change the register of MCU in real time through CASUEEmu development software. At the same time, in order to achieve the simulation support for multiple MCU, this paper also designed a multi-chip read-write data protocol, and implemented the protocol by writing data processing module in FPGA. Finally, the host computer can display the register content of MCU through USB2.0 interface according to the customized data read and write protocol and change the universal simulator of MCU to achieve the design goal.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP337
【参考文献】
相关期刊论文 前10条
1 甘翼;李祥荣;余伟;;基于FPGA的高速电路设计与仿真[J];电讯技术;2008年07期
2 胡军强,杜平,李津生,洪佩琳;数字通信系统设计中FPGA的仿真[J];电路与系统学报;2003年04期
3 于淑萍;张幸儿;;基于FPGA/MCU多功能信号发生器的设计与实现[J];电力自动化设备;2009年12期
4 方冲;任海兰;王成丽;;基于MCU的嵌入式在线升级系统的设计与实现[J];电视技术;2012年05期
5 侯大志;李丽;何书专;吴志刚;;USB2.0 IP核功能验证的研究和应用[J];电子测量技术;2009年04期
6 封彦彪;刘兴春;;基于Xilinx FPGA的时钟管理设计与实现[J];电子测量技术;2010年10期
7 谭安菊;龚彬;;USB2.0控制器CY7C68013与FPGA接口的Verilog HDL实现[J];电子工程师;2007年07期
8 孙富明 ,李笑盈;基于多种EDA工具的FPGA设计[J];电子技术应用;2002年01期
9 关珊珊;周洁敏;;基于Xilinx FPGA的SPI Flash控制器设计与验证[J];电子器件;2012年02期
10 何苏勤;黄翠翠;;基于USB2.0的异步数据传输和控制接口的设计[J];国外电子测量技术;2010年03期
本文编号:1882850
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1882850.html