当前位置:首页 > (最新版)基于FPGA的等精度频率计的毕业设计论文
摘 要
伴随着集成电路(IC)技术的发展,电子设计自动化(EDA)逐渐成为重要的设计手段,已经广泛应用于模拟与数字电路系统等许多领域。电子设计自动化是一种实现电系统或电子产品自动化设计的技术,它与电子技术、微电子技术的发展密切相关,它吸收了计算机科学领域的大多数最新研究成果,以高性能的计算机作为工作平台,促进了工程发展。
数字频率计是一种基本的测量仪器。它被广泛应用与航天、电子、测控等领域。采用等精度频率测量方法具有测量精度保持恒定,不随所测信号的变化而变化的特点。本文首先综述了EDA技术的发展概况,FPGACPLD开发的涵义、优缺点,VHDL语言的历史及其优点,概述了EDA软件平台QUARTUSⅡ;然后介绍了频率测量的一般原理,利用等精度测量原理,通过FPGA运用VHDL编程,利用FPGA(现场可编程门阵列)芯片设计了一个8位数字式等精度频率计,该频率计的测量范围为0-100MHZ,利用QUARTUS Ⅱ集成开发环境进行编辑、综合、波形仿真,并下载到CPLD器件中,经实际电路测试,仿真和实验结果表明,该频率计有较高的实用性和可靠性。
关键词:电子设计自动化;VHDL语言;频率测量;数字频率计
I Abstract
The Electronic Design Automation (EDA) technology important design method of analog and digital circuit system as the integrated circuit's growing. The EDA technology, which is closely connected with the electronic technology, microelectronics technology and computer science, can be used in designing electronic product automatically.
Digital frequency meter is a basic measuring instruments. It is widely used in aerospace, electronics, monitoring and other fields. With equal precision frequency measurement accuracy to maintain a constant, and not with the measured signal varies.We firstly present some background information of EDA, FPGACPLD,VHDL and the EDA software platform QUARTUS Ⅱin this thesis;then introduced the general principle of frequency measurement, utilization of precision measuring principle, using VHDL programming, use of FPGA (Field Programmable Gate Array) chip design such as the precision of a digital frequency meter, this frequency meter's measuring range is 0-100MHZ,use QUARTUS Ⅱintegrated development environment for editing, synthesis, wave simulation, and download to the CPLD device, by the actual circuit testing, simulation and experimental results show that the frequency meter Automation,VHDL, Frequency measurement,digital frequency meter
II 目 录
摘 要 ........................................................................................................................................ I ABSTRACT ............................................................................................................................. II 目 录 ....................................................................................................................................... III 1. 绪 论 ................................................................................................................................... 1 1.1 电子设计自动化(EDA)发展概述 ................................................................................. 2 1.1.1什么是电子设计自动化(EDA ) ................................................................................ 2 1.1.2EDA的发展历史 ........................................................................................................ 2 1.2 基于EDA的FPGA CPLD开发 .................................................................................. 4 1.2.1FPGACPLD简介 ...................................................................................................... 4 1.2.2用FPGACPLD进行开发的优缺点 ........................................................................ 5 1.3 硬件描述语言(HDL) ..................................................................................................... 7 1.3.1VHDL语言简介......................................................................................................... 7 1.3.2利用VHDL语言开发的优点 .................................................................................. 8 1.4 QUARTUSII概述 ............................................................................................................ 9 2. 频率测量 ........................................................................................................................... 11 2.1 数字频率计工作原理概述 .......................................................................................... 11 2.2 测频原理及误差分析 .................................................................................................. 12 2.3.1常用测频方案 .......................................................................................................... 12 2.3.2等精度测频原理 ...................................................................................................... 12 2.3.3误差分析 .................................................................................................................. 13 本章小结 ............................................................................................................................... 14 3. 数字频率计的系统设计与功能仿真 ............................................................................... 15 3.1 系统的总体设计 .......................................................................................................... 15 3.2 信号源模块 .................................................................................................................. 16 3.3 分频器 .......................................................................................................................... 17 3.4 测频控制信号产生器 .................................................................................................. 18 3.5 锁存器 .......................................................................................................................... 19 3.6 十进制计数器 .............................................................................................................. 19
III 3.7 显示模块 .................................................................................................................... 20
3.7.1显示模块设计 .......................................................................................................... 20 3.7.2显示电路 .................................................................................................................. 21 3.7.3译码器 ...................................................................................................................... 22 本章小结 ............................................................................................................................... 22 结 论 ...................................................................................................................................... 23 致 谢 ...................................................................................................................................... 24 参考文献 .................................................................................................................................. 25 附录一 频率计顶层文件 ...................................................................................................... 26 附录二 信号源模块源程序 .................................................................................................. 27 附录三 分频器源程序 .......................................................................................................... 28 附录四 测频控制信号发生器源程序 .................................................................................. 30 附录五 32位锁存器源程序 ................................................................................................. 32 附录六 有时钟使能的十进制计数器的源程序 .................................................................. 33 附录七 显示模块源程序 ...................................................................................................... 35
IV
共分享92篇相关文档