基于FPGA的数字频率计的设计
基于FPGA的数字频率计的设计
学生专业:
学生姓名: 指导教师:
摘要
数字频率计是近代电子技术领域的重要测量工具之一,同时也是其它许多领域广泛应用的测量仪器。它在规定的基准时间内把测量的脉冲数记录下来,换算成频率并以数字形式显示出来。在许多测量方案以及测量结果中都会涉及到频率测量的相关问题,频率精确测量的重要性显而易见。
本设计在了解频率计的基本原理的基础上,基于直接测频法的测试手段,即在一定闸门时间内测量被测信号的脉冲个数;设计频率计的测量范围为1Hz-99.99MHz。将设计分为六个模块,即顶层模块,分频模块,计数模块,单位选择模块,数码管位选模块,转换模块。
采用硬件描述语言Verilog HDL编写了各个模块的代码,并且利用Quartus II软件平台进行了功能的仿真,从而完成输入被测频率,通过选择不同档位,精确输出测量值,达到了预期目标。
关键词 数字频率计;直接测频法;Verilog HDL;Quartus II
I
Abstract
Digital frequency meter modern electronic technology is one of the important measurement tools and other areas widely used measuring instrument. It stipulated in the benchmark time to measure the number of pulses recording, the conversion into frequency and displayed in digital form. In many survey scheme and measurement results involve frequency measurements of related problems, the importance of accurate measurement of frequency is obvious.
This design in understanding the basic principle of the frequency meter, on the basis of direct frequency measurement method based on the means testing, that is, in a certain gate time measurement of the measured signal pulse number; Design the frequency meter measuring range of 1 Hz-99.99 MHz. Will design is divided into six parts, a top-level module, points frequency modules, count module, the unit choose module, digital tube a chosen module, conversion module
The hardware description language Verilog HDL write each module of the code, and make use of Quartus II software platform functions of the simulation. Then measured input frequency, by choosing different rank, precise output measured values, and reach the expected goal.
Keywords Digital frequency plan;Direct frequency measurement method ;Verilog HDL;Quartus II
II
目录
摘要 ............................................................. I Abstract ........................................................ II
第1章 绪论 ...................................................... 1 1.1 课题背景和意义 .............................................. 1 1.2 国内外发展情况 .............................................. 1 第2章 频率计测量原理及Verilog HDL概述 .......................... 3 2.1 数字频率计测量原理 .......................................... 3 2.1.1 直接计数测频法 .......................................... 3 2.1.2 等精度测频法 ............................................ 5 2.1.3 全同步测频法 ............................................ 6 2.2 Verilog HDL概述 ............................................. 7 2.2.1 Verilog HDL介绍 .......................................... 7 2.2.2 Verilog HDL程序开发流程 .................................. 8 2.3 本章小结 .................................................... 8 第3章 数字频率计模块设计 ........................................ 9 3.1 数字频率计设计指标 .......................................... 9 3.2 数字频率计各个模块 ......................................... 10 3.2.1 顶层模块fre_counter ..................................... 10 3.2.2 分频模块clk_gen ........................................ 12 3.2.3 计数模块count .......................................... 14 3.2.4 单位控制模块count_4units ................................ 15 3.2.5 数码管位选模块led_sel ................................... 15 3.2.6 转换模块transform ....................................... 17 3.3 本章小结 ................................................... 18 第4章 数字频率计仿真 ........................................... 19 4.1 分频模块仿真波形 .......................................... 19 4.2 计数模块仿真波形 .......................................... 19
III
4.3 单位控制模块仿真波形 ....................................... 20 4.4 数码管位选模块 ............................................. 20 4.5 转换模块 ................................................... 21 4.6 本章小结 ................................................... 21 第5章 芯片介绍和管脚分配 ....................................... 22 5.1 FPGA芯片介绍 ............................................. 22 5.2 代码管脚分配图 ............................................. 22 5.3 顶层原理图效果图 ........................................... 23 5.4 本章小结 .................................................. 23 结论 ............................................................ 24 致谢 ............................................................ 25 参考文献 ........................................................ 26 附录1 程序源代码 ................................................ 28
IV
…… 此处隐藏:2312字,全部文档内容请下载后查看。喜欢就下载吧 ……相关推荐:
- [实用模板]第八章:法国“新浪潮”与“左岸派”
- [实用模板]2021年北京上半年临床医学检验技师生物
- [实用模板]SAP GUI 7.10客户端安装配置文档
- [实用模板]2001年临床执业医师资格考试综合笔试试
- [实用模板]36机场工作实用英语词汇总结
- [实用模板](一)社会保险稽核通知书
- [实用模板]安全教育主题班会材料
- [实用模板]濉溪县春季呼吸道传染病防控应急演练方
- [实用模板]长沙房地产市场周报(1.30-2.3)
- [实用模板]六年级数学上册典中点 - 图文
- [实用模板]C程序设计(红皮书)习题官方参考答案
- [实用模板]中国证监会第一届创业板发行审核委员会
- [实用模板]桥梁工程复习题
- [实用模板]2011学而思数学及答案
- [实用模板]初中病句修改专项练习
- [实用模板]监理学习知识1 - 图文
- [实用模板]小机灵杯四年级试题
- [实用模板]国贸专业毕业论文模板
- [实用模板]教育学概论考试练习题-判断题4
- [实用模板]2015届高考英语一轮复习精品资料(译林
- 00Nkmhe_市场营销学工商管理_电子商务_
- 事业单位考试法律常识
- 诚信教育实施方案
- 吉大小天鹅食品安全检测箱方案(高中低
- 房地产销售培训资料
- 高一地理必修1复习提纲
- 新概念英语第二册lesson_1_练习题
- 证券公司内部培训资料
- 小学英语时间介词专项练习
- 新世纪英语专业综合教程(第二版)第1册U
- 【新课标】浙教版最新2018年八年级数学
- 工程建设管理纲要
- 外研版 必修一Module 4 A Social Surve
- Adobe认证考试 AE复习资料
- 基于H.264AVC与AVS标准的帧内预测技术
- 《食品检验机构资质认定管理办法》(质
- ABB变频器培训课件
- (完整版)小学说明文阅读练习题及答案
- 深思洛克(SenseLock) 深思IV,深思4,深
- 弟子规全文带拼音




