文档介绍:大学××学院××课程设计
基于FPGA的出租车计价器设计
学生姓名
学号
所在系
专业名称
班级
指导教师
成绩
××大学××学院
二○一一年六月
摘要:本文介绍了一个以Altera公司的CycloneII可编程逻辑芯片EP2C5T144C8为控制核心、运用VHDL硬件描述语言附加一定外围电路组成的出租车计费器系统。本设计论文主要介绍了出租车计费器系统的组成及工作原理,简述了在EDA平台上用单片FPGA器件构成该数字系统的设计思想和实现过程。同时,详细论述了人机交互驱动模块、驱动模块、计程模块、计费模块、译码动态扫描模块等的设计方法与技巧。利用FPGA芯片实现一些功能较复杂的电子产品设计,不仅可以增加系统设计的灵活性,利用它进行产品开发,不仅成本低、周期短、可靠性高,而且具有完全的知识产权。同时,在进行SOPC设计的时候,我们可以自由调用NIOS资源模块构建软核,从而减小了系统的功耗,实现产品的强大功能。
关键字:FPGA,VHDL,EP2C5T144C8,SOPC
Abstract:This paper introduces a pany to CycloneII programmable logic chips EP2C5T144C8 as control core, useing VHDL hardware description language add a certain peripheral circuit of the message accounting device system of a taxi. This design paper mainly introduced the message accounting device taxi position and working principle, this paper expounds on the platform in EDA using single pill ponents, the digital system design thought and the implementation process. At the same time, discusses the puter interaction driver modules, driving module, taxi module, billing module, decode dynamic scanning module design methods and skills. Use the FPGA chip realize some function is plex electronic product design, not only can increase the flexibility of the system design, use it for product development, not only the low cost, short cycle, high reliability, and with full intellectual property rights. Meanwhile, during the SOPC design, we can free calls NIOS resource module building soft nuclear, thus reduce power consumption, realizing products of the system of the powerful features.
Key words: FPGA,VHDL,EP2C5T144C8,SOPC
目录
前言
1
QuartusII软件介绍 1
FPGA芯片介绍 1
硬件描述语言介绍 2
3
系统框图 4
基于MCU的出租车计费器 4
基于FPGA的出租车计费器 5
总体设计方案 5
6
人机交互驱动模块 6
人机交互模块 6
人机交互模块仿真 7
4x4矩阵键盘驱动模块设计 7
4x4矩阵键盘模块 8
4x4矩阵键盘仿真图 7
二进制BIN转换成BDC(10进制)模块 9
FILTER驱动模块设计 9
PLS模块驱动设计 10
PLS模块设计 10
PLS模块设计仿真图 11
出租车控制驱动模块设计 11
顶层