摘要:近年来,随着城市交通网络的扩展,人们对出租车计费器的要求也越来越高,但现 在市面上的出租车计价器种类繁多,许多易被私自改装,且易出故障。为此,本文就计价 器的核心部分,即计费系统,给出了一种用 CPLD 实现的方法。系统采用“自顶向下”的 设计方法,先确定顶层设计的需要,再对底层文件进行编写。其中顶层主要包含了分频模 块、计算模块、锁存模块和译码显示模块四个模块,能够实现频率转换、里程和费用的计 算、数据锁存和数据输出等功能。底层文件采用 VHDL 语言编写,具有良好的可读性。经 仿真结果分析,该设计能够实现计费的目的。75648

毕业论文关键词:VHDL,费用计算,模块设计

Abstract:In recent years, with the expansion of the urban traffic network, people has higher requirement for the taxi fare register, but there are a lot of taxi fare registers on the market, which are easy to be modified privately and out of order。 Therefore, in this paper, the core part of the fare register, namely the billing system, gives a method of using CPLD to realize。System adopts the design method of "top-down", making sure the need of the top-level design firstly, writing on the underlying file later。 the top main contains four modules, including the frequency pision module, calculation module, latches and decoding display module。 it can achieve the functions of frequency conversion, calculation of mileage and expenses, data latches and data output, etc。 The underlying file using VHDL language, has the good readability。 By the results of simulation analysis, the design can achieve the goal of billing。

Key words:    VHDL,Cost calculation,Module design

1 引言 4

1。1 设计背景 4

1。2 解决方案 4

1。3 本课题研究的内容 5

2 计费系统的结构及原理 5

2。1 总体设计结构 5

2。2 工作原理 6

2。3 划分模块 7

3 软件介绍 8

3。1 EDA 技术简介 8

3。2 CPLD 简介 8

3。3 VHDL 语言简介 9

4 单元模块设计 10

4。1 分频模块 10

4。2 计算模块 12

4。3 锁存模块 15

4。4 七段数码管译码模块 16

4。5 顶层模块原理图 18

5 系统仿真与数据分析 20

5。1

上一篇:AT89C52单片机大棚温湿度自动控制系统设计+程序+电路图
下一篇:基于CPLD的出租车计价器的设计+VHDL程序

FPGA的抢答器设计+代码

VHDL+FPGA的万年历设计

EDA+FPGA的电子密码锁的设计+程序+电路图

FPGA交通灯控制系统设计+程序

AT89S52单片机出租车多功能...

FPGA的超声波测距仪的设计+程序

基于FPGA的自动售货机的设计+代码

《醉青春》导演作品阐述

浅谈新形势下妇产科护理...

浅谈传统人文精神茬大學...

辩护律师的作证义务和保...

中国古代秘书擅权的发展和恶变

谷度酒庄消费者回访调查问卷表

多元化刑事简易程序构建探讨【9365字】

拉力采集上位机软件开发任务书

国内外无刷直流电动机研究现状

高校网球场馆运营管理初探【1805字】