eda基于vhdl语言的出租车计价器大学课程设计—-毕业论文设计

哈尔滨远东理工学院

EDA课程设计

题 目: 基于VHDL语言出租车计费器

哈尔滨远东理工学院 摘 要

本文介绍了一种采用单片FPGA芯片进行出租车计费器的设计方法,主要阐述如何使用新兴的EDA器件取代传统的电子设计方法,利用FPGA的可编程性,简洁而又多变的设计方法,缩短了研发周期,同时使出租车计费器体积更小功能更强大。本设计实现了出租车计费器所需的一些基本功能,计费包括起步价、行车里程计费、等待时间计费,同时考虑到出租车行业的一些特殊性,更注重了把一些新的思路加入到设计中。主要包括采用了FPGA芯片,使用VHDL语言进行编程,使其具有了更强的移植性,更加利于产品升级。

关键词:VHDL 计费器 FPGA

Abstract

This paper describes the use of a single chip FPGA for the design of accounting-fee machine, mainly on how to use the emerging EDA electronic devices designed to replace traditional methods, using the programmable FPGA, concise and changing the design Ways to shorten the development cycle, so that taxi accounting-fee machine in a smaller more powerful. The design and implementation of the taxi accounting-fee machine for some basic functions, including billing starting price, driving metered, the waiting time billing, taking into account the special nature of some of the taxi industry, to pay more attention to a number of new Ideas into the design. Mainly including the use of the FPGA chip, the use of VHDL programming, so as to make it a stronger transplanted, and more conducive to product upgrades.

Key words: VHDL,accounting-fee machine,FPGA

-II-

哈尔滨远东理工学院 目 录

前 言 ...................................................................... 1 第一部分 设计要求 ........................................................... 2

一、设计目的 ............................................................ 2 二、系统要求 ............................................................ 2 三、功能描述 ............................................................ 2 四、补充说明 ............................................................ 2 第二部分 系统设计方案 ....................................................... 3 第三部分 主要模块设计 ....................................................... 5

一、 计程计费模块 ....................................................... 5 二、显示模块 ............................................................ 5 三、控制模块 ............................................................ 6 第四部分 仿真结果与分析 ..................................................... 7

一、计程计费模块仿真 .................................................... 7 二、总体仿真 ............................................................ 7 第五部分 硬件调试 .......................................................... 8

一、引脚锁定 ............................................................ 8 二、硬件验证情况 ........................................................ 8 总结 ....................................................................... 10 致谢 ....................................................................... 11 参考文献 ................................................................... 12 附录A 电路图 .............................................................. 13

一、电路图 ............................................................. 13 二、PCB图 ............................................................. 14 三、3D仿真图 .......................................................... 14 附录B 程序代码 ............................................................ 17

一、top顶层文件 ....................................................... 17 二、taxi控制模块 ...................................................... 18 二、display显示模块 ................................................... 20

-III-

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4