1、 本科生毕业论文(设计)本科生毕业论文(设计) 题题 目:目: 基于的频率计设计基于的频率计设计 专业代码:专业代码: 作者姓名:作者姓名: 学学 号:号: 单单 位:位: 物理科学与信息工程学院物理科学与信息工程学院 指导教师:指导教师: 目录目录 引引 言言 1 1 1 1 EDA 技术发展概况技术发展概况 . . 1 1 1.1 VHDL 软件设计简介 .1 1.2 VHDL 的开发流程 .3 1.3 MAX+PLUS 开发工具概述 4 2 2 设计实现设计实现 5 5 2.1 数字频率计概述 5 2.2 数字频率计的基本设计原理 7 2.3 测频专用模块功能描述及 VHDL 程序 10
2、 2.3.1 基准脉冲信号产生模块 .10 2.3.2 测频时序控制电路模块 .13 2.3.3 计数模块 .15 2.3.4 锁存器模块 .18 2.3.5 七段显示译码器 .20 2.3.6 动态扫描显示模块 .22 2.3.7 顶层文件设计 .25 3 3 总结总结 2727 4 4 致谢致谢 2828 5 5 参考文献参考文献 2929 6 6 附录附录 3030 1 摘摘 要要 随着计算机技术超大规模集成电路 EDA(Electronics Design Automation)技术 的发展和可编程逻辑器件的广泛应用,传统的自下而上的数字电路设计方法、工 具器件已远远落后于当今信息技术
3、的发展。 基于 EDA 技术和硬件描述语言的自上 而下的设计技术正在承担起越来越多的数字系统设计任务。在电子技术中,频率 是最基本的参数之一,并且与许多电参量的测量方案、测量结果都有十分密切的 关系,因此频率的测量就显得更为重要。测量频率的方法有多种,其中电子计数 器测量频率具有精度高、使用方便、测量迅速,以及便于实现测量过程自动化等 优点,是频率测量的重要手段之一。电子计数器测频有两种方式:一是直接测频 法,即在一定闸门时间内测量被测信号的脉冲个数;二是间接测频法,如周期测 频法。直接测频法适用于高频信号的频率测量,间接测频法适用于低频信号的频 率测量。本论文采用自上向下的设计方法,基于 V
4、HDL 硬件描述语言设计了一种 数字频率计,并在 Max+plus平台上进行了仿真。 关键词:关键词:EDA;VHDL;数字频率计;CPLD 2 Abstract With the development of computer,VHDL and EDA and the application of programmable logic devices,the traditional bottom-up design method, tools and devices have been far behind the development of information technology.
5、 The top-down design method based on the EDA technology and VHDL is used to design the digital system. Be one of the most fundamental parameter in electron technology medium frequency, parameter measurement scheme, measurement result all have very close something to do with a lot of electricity and,
6、 the frequency measurement looks like being more important therefore right away. The method measuring frequency has various, among them the electronic counter measures frequency having accuracy height, usage is convenient, measurement is prompt, easy to realize measurement process automation waits for merit and, counter measures frequency having two kinds way: sure frequency law