自动售货机的设计_毕业论文(设计).doc
约30页DOC格式手机打开展开
自动售货机的设计_毕业论文(设计),摘要 本文是在vhdl的基础上对自动售货机进行设计来实现其基本功能的,采用了altera的开发软件quarts ii。通过在该软件平台上进行数字电路设计和仿真的方法,阐述了vhdl(very high speed integrated circuit hardware description language)超高...
内容介绍
此文档由会员 莎士比亚 发布
摘 要
本文是在VHDL的基础上对自动售货机进行设计来实现其基本功能的,采用了Altera的开发软件Quarts II。通过在该软件平台上进行数字电路设计和仿真的方法,阐述了VHDL(Very High Speed Integrated Circuit Hardware Description Language)超高速集成电路硬件描述语言的一些特点及语法结构,介绍了自动售货机的基本原理、系统组成和主要功能,并分析讨论了用VHDL语言开发自动售货机系统的设计流程。本设计采用VHDL硬件描述语言编程的设计方法设计系统核心电路的硬件程序,在Quartus II软件平台上进行编译和仿真,最后生成的目标文件下载到实验台内的FPGA芯片以模拟实现该系统,并在实验台上对设计进行验证。
文章首先简述了自动售货机系统的意义和发展现状以及VHDL语言的特点,然后介绍了自动售货机的设计要求、设计思路,并给出了总体设计框图,通过分析设计写出VHDL程序源代码,将代码在Quartus II软件平台上进行编译仿真,波形基本符合设计要求。最终完成的自动售货机系统具有商品选择,投币处理、出货找零、异常退币等主要功能,整个系统的开发体现了在Quartus II软件平台上用VHDL设计数字控制系统的实用性。
关键词:自动售货机,硬件描述语言VHDL, Quarts II,FPGA
ABSTRACT
This article is to achieve its basic functions,the automat system on the basis of the VHDL design using Altera's development software Quarts II. Digital circuit design and simulation in the software platform on some of the features of the VHDL (Very High Speed Integrated Circuit the Hardware Description Language) language and grammatical structures, the basic principles of the automat system, system composition and main functions and analyzed and discussed the development of the automat system process using VHDL language. This design methods core circuit hardware design using the VHDL hardware description language programming program, compile and circuit simulation in the Quartus II software platform, the last generated target file downloaded to the bench inside the FPGA chip to simulate the system, validate the design in the experimental stage.
The article first outlines the meaning of the automat system and development as well as the characteristics of the VHDL language, then the vending machine design, design ideas, and gives the block diagram of the overall design, analysis and design to write the VHDL source codethe code in the Quartus II software platform compilation simulation waveforms in line with the design requirements. The vending machine system has the final selection of merchandise, coin processing, purchase withdrawn, the main function of the abnormal coin, the entire system development reflects the usefulness of VHDL design digital control systems used in the Quartus II software platform.
Keywords: the automat system, the hardware description languageVHDL, Quarts II, the FPGA
目 录
摘 要 1
ABSTRACT 2
一、前言 3
(一)课题简介 3
(二)文献综述 3
(三)方案比较 7
二、开发工具简介 8
(一)VHDL介绍 8
(二)QuartusII软件简介 8
三、自动售货机系统的总体设计 9
(一)设计思路 9
(二)自动售货机的工作流程 9
(三)状态装换图 10
四、自动售货机系统的VHDL设计 12
(一)商品选择模块 12
(二)投币模块 12
(三)送出商品模块 14
(四)计时模块 14
五、自动售货机的仿真结果及分析 16
结束语 19
致谢 20
参考文献 21
附录A:程序源代码 22
本文是在VHDL的基础上对自动售货机进行设计来实现其基本功能的,采用了Altera的开发软件Quarts II。通过在该软件平台上进行数字电路设计和仿真的方法,阐述了VHDL(Very High Speed Integrated Circuit Hardware Description Language)超高速集成电路硬件描述语言的一些特点及语法结构,介绍了自动售货机的基本原理、系统组成和主要功能,并分析讨论了用VHDL语言开发自动售货机系统的设计流程。本设计采用VHDL硬件描述语言编程的设计方法设计系统核心电路的硬件程序,在Quartus II软件平台上进行编译和仿真,最后生成的目标文件下载到实验台内的FPGA芯片以模拟实现该系统,并在实验台上对设计进行验证。
文章首先简述了自动售货机系统的意义和发展现状以及VHDL语言的特点,然后介绍了自动售货机的设计要求、设计思路,并给出了总体设计框图,通过分析设计写出VHDL程序源代码,将代码在Quartus II软件平台上进行编译仿真,波形基本符合设计要求。最终完成的自动售货机系统具有商品选择,投币处理、出货找零、异常退币等主要功能,整个系统的开发体现了在Quartus II软件平台上用VHDL设计数字控制系统的实用性。
关键词:自动售货机,硬件描述语言VHDL, Quarts II,FPGA
ABSTRACT
This article is to achieve its basic functions,the automat system on the basis of the VHDL design using Altera's development software Quarts II. Digital circuit design and simulation in the software platform on some of the features of the VHDL (Very High Speed Integrated Circuit the Hardware Description Language) language and grammatical structures, the basic principles of the automat system, system composition and main functions and analyzed and discussed the development of the automat system process using VHDL language. This design methods core circuit hardware design using the VHDL hardware description language programming program, compile and circuit simulation in the Quartus II software platform, the last generated target file downloaded to the bench inside the FPGA chip to simulate the system, validate the design in the experimental stage.
The article first outlines the meaning of the automat system and development as well as the characteristics of the VHDL language, then the vending machine design, design ideas, and gives the block diagram of the overall design, analysis and design to write the VHDL source codethe code in the Quartus II software platform compilation simulation waveforms in line with the design requirements. The vending machine system has the final selection of merchandise, coin processing, purchase withdrawn, the main function of the abnormal coin, the entire system development reflects the usefulness of VHDL design digital control systems used in the Quartus II software platform.
Keywords: the automat system, the hardware description languageVHDL, Quarts II, the FPGA
目 录
摘 要 1
ABSTRACT 2
一、前言 3
(一)课题简介 3
(二)文献综述 3
(三)方案比较 7
二、开发工具简介 8
(一)VHDL介绍 8
(二)QuartusII软件简介 8
三、自动售货机系统的总体设计 9
(一)设计思路 9
(二)自动售货机的工作流程 9
(三)状态装换图 10
四、自动售货机系统的VHDL设计 12
(一)商品选择模块 12
(二)投币模块 12
(三)送出商品模块 14
(四)计时模块 14
五、自动售货机的仿真结果及分析 16
结束语 19
致谢 20
参考文献 21
附录A:程序源代码 22