- 0
- 0
- 约9.82千字
- 约 5页
- 2019-04-06 发布于湖北
- 举报
单片机与 FPGA/CPLD 总线接口逻辑设计
1 1 2 1
游志宇 ,董秀成 ,杜 杨 ,张 洪
(1.西华大学 电气信息学院,四川 成都 610039; 2.中国科学院光电技术研究所, 四川 成都 610209)
摘 要: 设计一种基于 MCS-51 单片机与 FPGA/CPLD 的总线接口逻辑,实现单片机与可编程逻辑器件数据
与控制信息的可靠通信,使可编程逻辑器件与单片机相结合,优势互补,组成灵活的、软硬件都可现场编程
的控制系统。在设计中采用VHDL 语言,实现 MCS-51 单片机与 FPGA/CPLD 的总线接口逻辑设计。试验表
明,该总线接口逻辑工作稳定、可靠,使MCS-51 单片机与 FPGA/CPLD 能够完美结合。
关键词: 单片机;可编程逻辑器件;FPGA/CPLD;总线;接口;VHDL
中图分类号: TP368.1 文献标识码: A 文章编号:
Logic Design for Bus Interface of MCS-51 Microprocessor and
FPGA/CPLD
1 1 2 1
You Zhiyu , Dong Xiucheng , Du Yang , Zhang Hong
(1. School of Electrical And Information Engineering, Xihua University, Chengdu 610039, China;
2. Institute Of Optics Electronics, Chinese Academy Of Sciences, Chengdu 610209, China)
Abstract: Design a type of Bus Interface logic based on MCS-51 microprocessor and FPGA/CPLD , to realize the
reliable communication between the microprocessor and the PLD ,and to combine the PLD and microprocessor, with
the purpose of forming a controlling system in which software and hardware can be both programmed with
fieldwork. In this way, they can make up each other’s advantages. VHDL language is applied in this design, to
realize the Bus Interface logic design of MCS-51 microprocessor and FPGA/CPLD. The experiments proved that
this interface works stably and reliably, and can enable the MCS-51 microprocessor and FPGA/CPLD to combine
perfectly.
Key words: Microprocessor; PLD;FPGA/CPLD;Bus;Interface;VHDL
1 引 言
长期以来,单片机以其性能价格比高、体积小、功能灵活、可靠性高,且易于人机对话和良好的数据处理
能力等方面所具有的独特优点,被广泛的应用在各领域。但受其内部资源的限制,在很多应用中,单片机需要
在片外扩展相关资源,如程序存储器,数据存储器,IO 口以及中断源等。随着可编程逻辑器件(PLD)及 EDA
技术的发展,在系统设计中经常会用到 FPGA/CPLD 来扩展单片机的相关资源,使其有机结合,缩短开发周
原创力文档

文档评论(0)