文档介绍:大连海事大学毕业论文二〇一四年六月┊┊┊┊┊┊装┊┊┊┊┊┊┊订┊┊┊┊┊┊┊线┊┊┊┊┊┊┊基于 FPGA 的出租车计费器的设计专业班级: 电子信息工程 3班姓名:李宁指导老师:严飞信息科学技术学院 I 摘要随着 EDA 技术的日益成熟的发展趋势,与电子设计相关的设计技术与开发平台等也都有了迅猛的发展。可编程逻辑器件 CPLD/FPGA 的快速发展与深入应用也为设计人员提供了很大的便利。本文主要介绍一种基于 FPGA 芯片的出租车计费器的设计方法,对该设计方法的研究意义和应用价值进行了阐述,描述了 FPGA 芯片的发展历史和主要应用,介绍了 VHDL (硬件描述语言)的主要功能和算法设计思想及设计流程。本次设计高效利用 FPGA 设计方法的多变性和可编程性等优势,有效的缩短研发周期,设计出体积小、功能强的出租车计费系统。能够根据需求简便、快捷地调整出租车计费价格,并且防止***现象等问题的产生。该出租车计费器主要包含五大模块:分频模块向各模块提供驱动信号;计量模块完成等待时间和所行驶路程数据的统计;计费方式选择模块是对汽车行驶过程不同计价状态进行判断输出;计费模块完成总费用统计计算;动态扫描模块最后将累计等待计费时间、行驶路程以及计费总数等实时显示出来。本次设计采用 VHDL 硬件描述语言编写计费器的系统程序, Quarters Ⅱ软件作为开发平台,对程序进行了仿真,最后将生成的目标文件下载到教学实验仪器 ZY11EDA13B 的 FPGA 芯片中,完成了相应的硬件测试和验证,证明了出租车计费系统的可行性。关键词: EDA ; FPGA; 出租车计费器; VHDL;Quarters Ⅱ II ABSTRACT With the growing maturity of the development trend of EDA technology, and the technologies and the design of the platform which related to the electronic design , also have a very rapid development. The fast development of Programmable logic device and in deepth application also offers a great convenience to designers. This Paper introduces a method for FPGA chip to design a taxi billing system and describes the significance and value of the design methods , describes the history and development of FPGA chip main application , introduces VHDL ( hardware description language ) main function and algorithm design and design processes. Efficient use of FPGA design method variability and programmability advantages could effectively shorten the development cycle, and design a small but powerful taxi billing system. According to effectively address the needs of simple , it can quick adjust taxi meter rates to prevent cheating and other issues. The taxi meter mainly includes five modules: the d ivide module module provides drive signal to other module ; the metering module works to statistical date about the wait1ing time and the distance traveled; the control module is used to judge output of the cars with different pricing status; the billing module caculate statistica