1. 程式人生 > >【 FPGA 】FIR 濾波器之Single-rate FIR濾波器的係數資料(Filter Coefficient Data)

【 FPGA 】FIR 濾波器之Single-rate FIR濾波器的係數資料(Filter Coefficient Data)

首先要明確什麼是單速率 FIR 濾波器?

The basic FIR filter core is a single-rate (input sample rate = output sample rate) finite impulse response filter. This is the simplest of filter types and is the default at the start of parametrization in the Vivado IDE.

基本FIR濾波器IP核是單速率(輸入取樣率=輸出取樣率)有限脈衝響應濾波器。 這是最簡單的濾波器型別,是Vivado IDE中引數化開始時的預設值。

這就是手冊上對於Single-rate FIR的介紹,篇幅極少,但貌似已經夠了,因為它是IP核設計時的一種預設情況。

下面來看看它的係數檔案:

單速率FIR濾波器的係數檔案很簡單,由一行頭加上濾波器係數資料組成。

For example, the filter coefficient file for an 8-tap filter using a base-10 representation for the coefficient values is shown in Figure 3-38:

例如,使用係數值的基數10表示的8抽頭濾波器的濾波器係數檔案如圖3-38所示:

無論濾波器具有正對稱或負對稱,係數檔案都應包含完整的係數值集。圖3-39所示的非對稱脈衝響應的濾波係數檔案如圖3-40所示。

以脈衝響應為特徵的負對稱濾波器係數檔案如圖3-41所示。