Mathematical Problems in Engineering

Volume 2013 (2013), Article ID 495207, 6 pages

http://dx.doi.org/10.1155/2013/495207

## Low-Cost Design of an FIR Filter by Using a Coefficient Mapping Method

Department of Electronic Engineering, National Kaohsiung First University of Science and Technology, Kaohsiung City 811, Taiwan

Received 14 September 2013; Accepted 9 October 2013

Academic Editor: Teen-Hang Meen

Copyright © 2013 Ming-Chih Chen and Hong-Yi Wu. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This work presents a novel coefficient mapping method to reduce the
area cost of the finite impulse response (FIR) filter design, especially for optimizing
its coefficients. Being capable of reducing the area cost and improving the filter performance,
the proposed mapping method consists of four steps: quantization of coefficients,
import of parameters, constitution of prime coefficients with parameters, and constitution
of residual coefficients with prime coefficients. Effectiveness of the proposed coefficient
mapping method is verified by selecting the 48-tap filter of IS-95 code division multiple
access (CDMA) standard as the benchmark. Experimental results indicate that the proposed
design with canonical signed digit (CSD) coefficients can operate at 86 MHz with an area of
241,813 um^{2}, leading to a throughput rate of 1,382 Mbps. Its ratio of throughput/area is 5,715 Kbps/um^{2},
yielding a higher performance than that of previous designs. In summary, the proposed design reduces 5.7%
of the total filter area, shortens 25.7% of the critical path delay, and improves 14.8% of the throughput/area
by a value over that of the best design reported before.

#### 1. Introduction

Digital signal processing applications are common in home entertainment systems, television sets, high-fidelity audio equipment, and information systems. The digital filter is an important component in mathematical operations on a sampled, discrete-time signal to enhance the certainty of a signal. The digital filter is characterized by its transfer function. Two digital filters are infinite impulse response (IIR) and finite impulse response (FIR) filters. The IIR filter consists of a transfer function with feedback mode, and the FIR filter consists of the function with nonfeedback mode. Commonly found in image processing, audio processing, and wireless communications, FIR filter applications are characterized by a linear phase, arbitrary magnitude, and relatively easy implementation. The filter hardware consists of adders, subtractors, shifters, and registers. Many related works [1–9] attempt to reduce the number of these required components in filter implementation, especially for the optimization of coefficients’ realization. Experimental results demonstrate that the proposed coefficient mapping method performs better than previous designs in terms of area ratio.

The rest of this paper is organized as follows. Section 2 briefly describes previous researches for filter optimization. Section 3 then describes the coefficient mapping method. Next, Section 4 summarizes the experimental results and compares them with those of other previous designs. Conclusions are finally drawn in Section 5, along with recommendations for future research.

#### 2. Background

##### 2.1. Digital FIR Filter

Digital filters generally vary in coefficients, based on their specifications. The design of coefficients in a filter can be divided into four portions: coefficient selection, coefficient identification, searching algorithm, and coefficient quantization.

*(1) Coefficient Selection.* Typically determined by a set of filter specifications, coefficient selection must consider the number of taps, bit width, and filter complexity. According to the different complexities of coefficients, different algorithms are used to find the common subexpressions (CSs) and eliminate them for obtaining the best area reduction.

*(2) Coefficient Identification*. Coefficients must be encoded to determine the area cost of a filter and the frequency of extracting common subexpressions. In coefficient encoding, the common expression is binary encoding. However, this encoding method causes more 1’s signals in data expression and more calculations in hardware implementation. Hence, optimizing more coefficients [10, 11] involves using the canonic signed digit (CSD) expression to eliminate many 1’s signals and using less common subexpressions.

*(3) Searching Algorithm*. The searching algorithm can find more common subexpressions to reduce the area cost of filter. Although many works [1–9, 12, 13] have attempted to find as many common subexpressions as possible, a more complex algorithm may not yield a higher performance, especially in coefficients with a low complexity.

*(4) Coefficient Quantization*. Coefficient quantization is an effective means of reducing the number of logic gates while implementing a filter. When the coefficients are quantized for implementation, the commonly used rounding method causes a deviation in the time and frequency responses of the implemented filter from the ideal response. Sensitivity of the filter response is of priority concern when quantizing the coefficients.

##### 2.2. Optimization of the FIR Filter

The equation of FIR filter can be expressed as (1), and its transferred function can also be expressed as (2):

Parameter in (1) and (2) is expressed as the number of taps. This parameter is related to the output of a filter system and its frequency responses. Two implementation methods used for a filter are direct and cascade architectures. Here, the direct architecture is of priority concern, especially for enhancing the frequency responses of a filter with all zeros. The direct architecture can also be divided into direct and transposed forms. The direct form consists mainly of multipliers, adders, and registers. Figure 1 shows the architecture of the direct form. An -tap filter with a direct form requires copies of a multiplier, copies of an adder, and copies of a register.

Coefficients can be expressed as binary numbers. The binary expressions for the coefficients can be found with the common subexpressions (CSs) between them. In previous researches [1–9], there are three common subexpression elimination (CSE) methods including horizontal, vertical, and mixed searching methods. The method in [1] uses CSD expressions [2] for the coefficients and uses horizontal searching algorithm to find the CSs including , , , and . This method first optimizes the CS with the highest appearance until no CS can be extracted. In [3, 7], this method also uses CSD expressions, yet uses vertical search to find the CSs, including and . By modifying the vertical searching method in [8], the method in [4] first uses horizontal search to extract the CSs including , , and , which is expressed in CSD format. Thereafter, this method performs a vertical search to extract the CSs, including and .

In addition to using two horizontal methods and one vertical searching method to extract the CSs, the method in [5] also uses a multiplier-adder block (MAB) and structure adder (SA) to construct the CSs and their residues. Besides finding two CSs with the same appearances, the method in [6] extracts the CS with a smaller bit width. A previous work [8] developed two methods for extracting the CSs in CSD format. The first method analyzes the CSs with 3-, 4-, and 5-bit by performing the statistics of their appearances. The second method searches the coefficients up to down and extracts the CSs between them by using vertical search. The method in [9] proposes a rule in which the depth of logic gates cannot be increased by performing the horizontal search in the same way as in [4] and the vertical search in the same way as in [8].

Following implementation of the above searching methods, the CSs can be extracted and the same CSs can be used for calculation only once. Calculation times of the filter are reduced due to the extractions. These searching methods can also reduce the required number of adders and subtractors. To verify the different searching methods, the 48-tap filter of IS-95 CDMA is selected as the benchmark.

#### 3. Proposed Coefficient Mapping Method

The mapping method divides the coefficients into two parts: primary coefficients and remaining coefficients. The parameters that are set up in the algorithm are and . The constitution of coefficients has two steps: constitution of primary coefficients and calculation of multiple relations between the primary and remaining coefficients. The operation steps of the mapping method are described as follows.

*Step 1. *Normalize the -tap coefficients by multiplying . The normalized results are , for .

*Step 2. *Separate normalized coefficients into two parts, and :

*Step 3. *Quantize and based on . Equations (4) and (5) show the relations between , , and
Parameters and are the variances after performing the quantization. Let and let . Equations (4) and (5) thus become the following equations separately:

*Step 4. *Find a multiple value that is between and , and find a multiple value that is between and . The relations are shown as

*Step 5. *Quantize based on . Equation (10) shows the relation between and . Parameter denotes the variance after performing the quantization:

Let , and (11) shows the relation between and :

*Step 6. *Constitute and substitute (11) with (9). The relation between , , and becomes

*Step 7. *Revert the parameters and by substituting (9) and (12) with (7). Equations (13) and (14) show the relations as follows:

Let , and (14) is then modified to According to the variance, the calculation error and correct rates can be expressed as Substitute the variances of and into (16). The error rate can be obtained, for .

For example, this work selects 18 coefficients from 48-tap IS-95 CDMA to perform the mapping method. The coefficients are

Before performing the mapping method, this work first sets up two parameters in which equals 32 and equals 0.25 to reduce the hardware design complexity. After Steps 1, 2, 3, 4, 5, 6, and 7 of the proposed method are performed, Table 1 lists the generated values. Figure 2(a) shows the frequency responses, poles, and zeros distributions of the original filter. Figure 2(b) shows the behaviors of the filter with modified coefficients after applying the proposed mapping method. The behaviors in Figures 2(a) and 2(b) are approximately the same with each other.

#### 4. Experimental Results

For comparison, Table 2 lists various 48-tap filter designs for IS-95 CDMA. These filters can generate 16-bit output data at one clock cycle. The table shows the architecture- and gate-level information of the filters. The area cost of the architecture-level includes how many adders, subtractors, and registers are used for implementation. Gate-level information includes the area cost, critical path delay, throughput, and throughput per area. In the architecture-level, analysis results indicate that the original filter with binary coefficients has the largest area cost among other designs. The design in [7] has the smallest summation for calculating the number of adders and subtractors. More than having the smallest area cost, the proposed design also achieves the highest throughput and ratio of throughput per area in the gate-level synthesis among other designs.

Table 2 lists two filter designs: the coefficients expressed with binary and CSD formats. In the architecture-level, the proposed filter with CSD coefficients has the smallest summation for calculating the number of adders and subtractors. The proposed filter only requires a total of 56 adders and subtractors which are the smallest amounts among the previous designs. The best design is the method in [7], which has an area of 255,450 um^{2} and achieves a throughput/area of 4,979 Kbps/um^{2}. The proposed design with CSD coefficients can operate at 86 MHz with an area of 241,813 um^{2}, leading to a throughput rate of 1,382 Mbps. Its ratio of throughput/area is 5,715 Kbps/um^{2}, which is the highest performance among the previous designs. In summary, the proposed design reduces 5.7% of the total filter area, shortens 25.7% of the critical path delay, and improves 14.8% of the throughput/area compared with the best design in [7].

#### 5. Conclusions

This work has developed a novel filter design with coefficient mapping method. The proposed method can reduce the area cost by finding the primary coefficients and using them to construct the remaining coefficients. The proposed method can also use several coefficients and construct all of the filter coefficients. Experimental results demonstrate that the proposed design with binary or CSD coefficients can more significantly reduce the area cost and improve the ratio of throughput/area compared with previous designs. Implementation results further demonstrate that the proposed design has the highest throughput with the lowest area cost.

#### Acknowledgment

This work is supported in part by the National Science Council of Taiwan under Grants NSC 99-2221-E-327-046.

#### References

- R. Paško, P. Schaumont, V. Derudder, S. Vernalde, and D. Ďuračková, “A new algorithm for elimination of common subexpressions,”
*IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems*, vol. 18, no. 1, pp. 58–68, 1999. View at Publisher · View at Google Scholar · View at Scopus - R. M. Hewlitt and E. S. Swartzlander Jr., “Canonical signed digit representation for FIR digital filters,” in
*Proceedings of the IEEE Workshop on Signal Processing Systems (SIPS '00)*, pp. 416–426, October 2000. View at Scopus - Y. Jang and S. Yang, “Low-power CSD linear phase FIR filter structure using vertical common sub-expression,”
*Electronics Letters*, vol. 38, no. 15, pp. 777–779, 2002. View at Publisher · View at Google Scholar · View at Scopus - A. P. Vinod, E. M.-K. Lai, A. B. Premkumar, and C. T. Lau, “FIR filter implementation by efficient sharing of horizontal and vertical common subexpressions,”
*Electronics Letters*, vol. 39, no. 2, pp. 251–253, 2003. View at Publisher · View at Google Scholar · View at Scopus - H. Choo, K. Muhammad, and K. Roy, “Complexity reduction of digital filters using shift inclusive differential coefficients,”
*IEEE Transactions on Signal Processing*, vol. 52, no. 6, pp. 1760–1772, 2004. View at Publisher · View at Google Scholar · View at Scopus - Y. Takahashi and M. Yokoyama, “New cost-effective VLSI implementation of multiplierless FIR filter using common subexpression elimination,” in
*Proceedings of the IEEE International Symposium on Circuits and Systems (ISCAS '05)*, pp. 1445–1448, May 2005. View at Publisher · View at Google Scholar · View at Scopus - R. Mahesh and A. P. Vinod, “A new common subexpression elimination algorithm for realizing low-complexity higher order digital filters,”
*IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems*, vol. 27, no. 2, pp. 217–229, 2008. View at Publisher · View at Google Scholar · View at Scopus - K. Kato, Y. Takahashi, and T. Sekine, “A new horizontal and vertical common subexpression elimination method for multiple constant multiplication,” in
*Proceedings of the 16th IEEE International Conference on Electronics, Circuits and Systems (ICECS '09)*, pp. 124–127, December 2009. View at Publisher · View at Google Scholar · View at Scopus - A. P. Vinod, E. Lai, D. L. Maskell, and P. K. Meher, “An improved common subexpression elimination method for reducing logic operators in FIR filter implementations without increasing logic depth,”
*Integration, the VLSI Journal*, vol. 43, no. 1, pp. 124–135, 2010. View at Publisher · View at Google Scholar · View at Scopus - C.-H. Chang and M. Faust, “On ‘a new common subexpression elimination algorithm for realizing low-complexity higher order digital filters’,”
*IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems*, vol. 29, no. 5, pp. 844–848, 2010. View at Publisher · View at Google Scholar · View at Scopus - D. Shi and Y. J. Yu, “Design of linear phase FIR filters with high probability of achieving minimum number of adders,”
*IEEE Transactions on Circuits and Systems I*, vol. 58, no. 1, pp. 126–136, 2011. View at Publisher · View at Google Scholar · View at Scopus - A. Shahein, Q. Zhang, N. Lotze, and Y. Manoli, “A novel hybrid monotonic local search algorithm for FIR filter coefficients optimization,”
*IEEE Transactions on Circuits and Systems*, vol. 59, no. 3, pp. 616–627, 2011. View at Publisher · View at Google Scholar · View at Scopus - B. Y. Kong and I. C. Park, “FIR filter synthesis based on interleaved processing of coefficient generation and multiplier-block synthesis,”
*IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems*, vol. 31, no. 8, pp. 1169–1179, 2012. View at Google Scholar