- 23
- 0
- 约1.16万字
- 约 24页
- 2016-12-22 发布于浙江
- 举报
课程设计任务书 学生姓名: 王耀辉 专业班级: 通信1304 指导教师: 陈适 工作单位: 信息工程学院 题 目: 采用测频原理的数字频率计 初始条件:VHDL硬件描述语言,ISE Design Suite开发环境,Modelsim SE仿真环境 要求完成的主要任务:采用测频法,设计一个4位十进制数字显示的数字频率计其测量的范围为1~9999KHz 课程设计进度安排序号阶段内容所需时间1方案设计1天2软件设计2天3系统调试1天4撰写报告1天合 计5天指导教师签名: 年 月 日 系主任(或责任教师)签名: 年 月 日目录摘 要1Abstract21. FPGA、VHDL及ISE概述31.1 FPGA简介31.2 VHDL 概述31.3 ISE52频率测量原理及方案62.1设计要求62.2 频率测量方法6 2.2.1 时间门限测量法6 2.2.2 标准频率比较测量法6 2.2.3 等精度测量法7 2.3方案提出及确定72.4系统设计82.5 系统组成92.6小结103数字频率计VHDL程序与仿真113.1模块图11 3.1.1顶层模块图11 3.1.2顶层模块图123.2程序设计124 仿真测试174.1调试和器件编程17 4.2频率计仿真结果185 心得体会21 6 参考文献22 摘 要数字频率计是数字电路中的一个典型应用,实际的硬件设计用到的器件较多,连线比较复杂,而且会产生比较大的延时,造成测量误差、可靠性差。随着现场可编程门阵列FPGA的广泛应用,运用VHDL等硬件描述语言,将使整个系统大大简化,提高了系统的整体性能和可靠性。采用FPGA现场可编程门阵列为控制核心,通过硬件描述语言VHDL编程,在QuartusII仿真平台上编译、仿真、调试 ,并下载到FPGA芯片上,通过严格的测试后,能够较准确地测量方波、正弦波、三角波、矩齿波等各种常用的信号的频率,而且还能对其他多种物理量进行测量本文介绍了如何采用测频法,利用FPGA现场可编程门阵列为控制核心,通过VHDL语言编程,在ISE仿真平台上仿真平台上编译、仿真、调试,设计一个4位十进制数字显示的数字频率计以此来巩固课堂理论学习,并能用所学理论知识正确分析硬件设计基本问题和解释数字电路的基本现象。关键字: FPGA, 数字电路,测频法,数字频率计AbstractDigital frequency meter is a digital circuit in a typical application, the actual hardware design of devices used in more complicated connection, but will have relatively large delay, caused by measurement error, poor reliability. With the FPGA field programmable gate array a wide range of applications to the development as a means of using the VHDL hardware description language such as language, will greatly simplify the whole system to improve overall system performance and reliability. Digital frequency meter is made by using a digital circuit system can achieve the cyclical changes in signal frequency measuring instruments. Frequency meter is mainly used for measuring frequency sine wave, square wave, triangle wave and spikes and other periodic signal. Its extended functionality can measure cycle and pulse width of the signal. This article describes how to use the frequency measurement method, using of field programmable gate array FPGA for the control of the core and VHDL language programming, si
原创力文档

文档评论(0)