DSP Builder: Half-Band Filter Using Distributed Arithmetic (DA)
The design example describes an interpolation by two half-band filters with 79 taps (40 none-zero coefficients). Taking advantage of the symmetrical filter coefficients, the design requires only 20 multipliers. The multipliers are implemented using distributed arithmetic (DA) where the partial products are stored in TriMatrix memory blocks.
Download the files used in this example:
The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.
Files in the zip download include:
- HBF_DA.mdl—DSP Builder design file implementing the interpolating half-band filter
- init.m—MATLAB script to initialize the sampling time, and simulation time and coefficients. The script also generates the stimuli: chirp and impulse.
Figure 1 shows the top-level diagram of the half-band filter design example in DSP Builder.
Figure 1. Half-Band Filter Top-Level Diagram

View Full Size
Table 1 lists the ports and gives a description for each.
| Table 1. Half-Band Filter Port Listing |
| Port Name |
Type |
Description |
input_data[17:0] |
Input |
18-bit data inputs to complex multiplier unit |
clken |
Input |
Clock enable |
FirResult[18:0] |
Output |
19-bit data output of filter |
Related Links
For more information on related features used in this design example in your project, go to:
Design Examples Disclaimer
These design examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.
|