|
论文编号ZXX264 论文字数:10342,页数:29
摘 要
本文从现代EDA技术的发展方向出发,对基于CPLD的数字系统硬件设计和VHDL语言的特点及其开发环境进行了简要的阐述。结合有关标准和理论知识,用VHDL完成出租车计费系统的设计,其特性与现实中普通出租车计费器一样,里程和计费显示最大都为999.9(公里/元),并对设计方案和所编译程序及其仿真进行了详细说明,达到了课题所要求的结果。
该系统利用VHDL语言、PLD设计出租车计费系统,以MAX+PLUSⅡ软件作为开发平台,采用MAX+PLUSⅡ设计各个功能模块,使用文本输入VHDL设计各个功能模块,然后在顶层设计作为元件,设计了出租车计费器系统程序并进行了程序仿真,使其实现计费以及预置和模拟汽车启动、停止、暂停等功能,并动态扫描显示车费数目,从而实现一个完整的出租车计费系统。显示了硬件描述语言VHDL设计数字逻辑电路的优越性。突出了其作为硬件描述语言的良好的可读性、可移植性和易理解等优点。此程序通过下载到特定芯片后,可应用于实际的出租车计费系统中。
关键字:出租车计价器, 计数器, VHDL语言, MAX+PLUSⅡ, EDA
ABSTRACT
This article make a simple introduce about the number system hardware design based on the CPLD and the characteristic of VHDL language and it’s the development environment from the develop direction of EDA . Base on correlative standard and theory knowledge, completes the cost system of taxi design with VHDL , which characteristic same with practical ,the max value of distance and fee display is 999.9 (km/¥) And explain design idea and program by compiled. The keystone of task is write and compile charge program and simulate it, it had achieved the result of topic requests.
This system using the VHDL language, the PLD design rental car coststhe system, develops the platform by the MAX+PLUS II softwareachievement, uses MAX+PLUS II to design each function module, the usetext inputs VHDL to design each function module, then takes the partin the top layer design, has designed the rental car fare registersystem program and has carried on the procedure simulation, causes itsrealization to cost as well as the initialization and the simulationautomobile starts, stops, function and so on suspension, and dynamicscanning demonstration fare number, thus realizes a complete hiringfare system. Has demonstrated the hardware description language VHDLdesign numeral logic circuit superiority. Has highlighted it as thehardware description language good readability, the probability and iseasy to understand and so on the merit. This procedure throughdownloads after the specific chip, may apply to the actual rental carcosts in the system.
Key words:The rental car costs the system, the counte, the VHDL language, MAX+PLUS II, EDA
目录
摘 要 I
ABSTRACT II
第一章 绪 论 1
1.1课题背景及研究意义 1
1.2 EDA技术的主要特征 2
第二章 硬件描述语言VHDL 4
2.1 VHDL语言的特点 4
2.2 VHDL语言开发 5
2.3 VHDL的语言结构 6
第三章 设计方案 7
3.1出租车计费设计 7
3.2设计思路及流程 8
3.3设计工具分析 9
3.3系统模块设计 10
3.3.1车型调整模块(ty100m) 10
3.3.2计程模块(mile) 11
3.3.3计费模块(money) 12
3.3.4显示模块(show) 15
3.3.5主程序调用模块(top) 16
第四章 下载仿真 17
第五章 设计说明 18
5.1设计系统特点 18
5.2设计中需注意的问题 18
第六章 结论 19
致 谢 20
参考文献 21
附录:源程序 22 |
|