基于VHDL毕业设计

(此文档为word格式,下载后您可任意编辑修改!)

本科毕业设计

基于VHDL的FIR滤波器设计

学院名称 工程学院

称 电子信息工程

论文提交日期 2012年5月 14 日 论文答辩日期 2012年5月 19 日

摘 要

常用的实时数字信号处理的器件有可编程的数字信号处理(DSP)芯片(如AD系列、TI系列)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)等。

有限长冲击响应(FIR)滤波器,由于FIR系统只有零点、系统稳定,便于实现FFT(快速傅里叶变换)算法、运算速度快、线性相位的特性和设计更为灵活等突出优点而在工程实际中获得广泛应用,属于数字信号处理的基本模块之一。本论文对基于FPGA的FIR数字滤波器实现进行了研究,所做的主要工作如下:

1.介绍了FIR数字滤波器的基本理论和FPGA的基本概况,以及FPGA设计流程、设计指导原则和常用的设计指导思想与技巧。

2.以FIR数字滤波器的基本理论为依据,使用分布式算法为滤波器的硬件实现算法,并对其进行了详细的讨论。

3.设计出一个16阶低通线性相位FIR滤波器实例。设计使用VHDL语言通过Quartus II软件进行仿真。

关键词: FIR滤波器 FPGA Quartus II Matlab VHDL

The Design of FIR Filter base on VHDL

Abstract: Common real-time digital signal processing devices -specific integrated circuit (ASIC), field programmable gates array (FPGA), etc.

Limited long shock response (FIR filter, because FIR system only zero, the system is stable, easy to realize FFT (fast Fourier transform) algorithm, quick speed, linear phase characteristic and design more flexible such prominent advantages and in engineering practice being widely applied digital signal processing, belong to one of the basic modules. This paper based on FPGA realizing the FIR digital filters is studied, the main work done as follows:

1. Introduced the basic theory of FIR digital filters with FPGA, and the basic situation of FPGA design process, the design guiding principle and common design guiding ideology and skill.

2. With the basic theory of FIR digital filters, by using distributed algorithm based on the algorithm for filter, and its are discussed in detail.

3. Design a 17 order low-pass linear phase FIR filter examples. Design uses VHDL language through simulation Quartus II software, and the simulation results and Matlab simulation results are compared and analyzed.

Key words:FIR filter FPGA Quartus II Distributed Arithmetic Matlab VHDL

目 录

1 前言 ........................................................................................................................................ 1 1.1 课题背景及意义 ................................................................................................................. 1 1.2 课题主要研究内容 ............................................................................................................. 2 1.3 FPGA介绍 .......................................................................................................................... 2 1.4 工作平台介绍 ..................................................................................................................... 3 1.4.1 MATLAB ......................................................................................................................... 3

1.4.2 Quartus II.......................................................................................................................... 3 2 FIR滤波器原理 ..................................................................................................................... 4 2.1 FIR滤波器概念 .................................................................................................................. 4 2.2 FIR滤波器特点 .................................................................................................................. 4 2.3 FIR滤波器工作原理 .......................................................................................................... 4 3 方案分析及计算 .................................................................................................................... 6 3.1 FIR滤波器方案设计 .......................................................................................................... 6 3.1.1 分布式 .............................................................................................................................. 7 3.1.2 直接型 .............................................................................................................................. 7 3.2 FIR滤波器结构 .................................................................................................................. 7 3.3 基于Matlab的FIR滤波器系数计算 ............................................................................... 8 4 基于VHDL的FIR滤波器的设计及仿真实现................................................................. 12 4.1 寄存器模块 ....................................................................................................................... 12 4.2 加法器模块 ....................................................................................................................... 13 4.3 减法器模块 ....................................................................................................................... 15 4.4 乘法器模块 ....................................................................................................................... 18 5 仿真 ...................................................................................................................................... 19 6 结论 ...................................................................................................................................... 20 参 考 文 献 .............................................................................................................................. 22 附 录 ............................................................................................................................ 23 附录A FIR原理图 ................................................................................................................. 23 附录B 代码 ............................................................................................................................ 24 致 谢 ............................................................................................................................ 31 本科生毕业设计成绩评定表

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4