US 20020078114 A1 Abstract An FIR decimation filter includes the a shift register (
51) including M flip-flops arranged in M/R rows (52, 54, 56, 58) of R bits each, wherein M/R is an integer and R is the decimation ratio of the FIR decimation filter. The shift register has an input for receiving serial digital input information. Half of the rows are sequentially arranged in an upper section and the other half of the rows are arranged sequentially in a lower section. Each row has a left tap and a right tap. The shift register includes a bidirectional shift register in the top row of the lower section. A control circuit (70) controls shifting operations which each shift input data and data present in the shift register (51) by R bits so as to load a new group of R bits into each row. M/(2R) pre-adders (57, 59) each have first and second inputs connected to the right tap points of symmetrically opposite rows of the upper section and lower section, respectively and arithmetic circuit (60,62) is coupled to receive output information from the pre-adders and effectively multiplying the output information by the coefficient information. An accumulator circuit (74) is coupled to accumulate information from an output of the arithmetic circuit and output the accumulated information as a filtered, decimated representation of the serial digital input information. Claims(11) 1. An FIR decimation filter comprising:
(a) a shift register including M flip-flops arranged in M/R rows of R bits each, wherein M/R is an integer and R is the decimation ratio of the FIR decimation filter, the shift register having an input for receiving serial digital input information, half of the rows being sequentially arranged in an upper section, a second half of the rows being arranged sequentially in a lower section, each row having a left tap and a right tap; (b) a bidirectional shift register included in the shift register including a one of the rows located at the top of the lower section; (c) control circuitry for controlling the a shifting operations to shift input data and data present in the shift register by R bits for each shifting operations so as to load a new group of R bits into each row; (d) M/(2R) pre-adders each having first and second inputs connected to the right tap points of symmetrically opposite rows of the upper section and lower section, respectively; (e) arithmetic circuitry coupled to outputs of the pre-adders for receiving output information from the pre-adders and for receiving coefficient information and effectively multiplying the output information by the coefficient information; and (f) accumulator circuitry coupled to accumulate information from an output of the arithmetic circuitry and output the accumulated information as a filtered, decimated representation of the serial digital input information. 2. The FIR decimation filter of 3. The FIR decimation filter of 4. The FIR decimation filter of 5. The FIR decimation filter of 6. The FIR decimation filter of 7. The FIR decimation filter of 8. The FIR decimation filter of 9. The FIR decimation filter of 10. An FIR decimation filter comprising:
(a) a shift register including M flip-flops arranged in M/R row sections which can be conceptualized as rows of R bits each, wherein M/R is an integer and R is the decimation ratio of the FIR decimation filter, the shift register having an input for receiving serial digital input information, half of the row sections being sequentially arranged in a first major section which can be conceptualized as an upper section, a second half of the row sections being arranged sequentially in a second major section which can be conceptualized as a lower section, each row sections having a first end tap which can be conceptualized as a left tap and a second end tap which can be conceptualized as a right tap; (b) a bidirectional shift register in one of the M/R row sections located in the second major section at a location thereof which can be conceptualized as a top of the second major section; (c) control circuitry for controlling the a shifting operations to shift input data and data present in the shift register by R bits for each shifting operations so as to load a new group of R bits into each row section; (d) M/(2R) pre-adders each having first and second inputs connected to the right tap points of symmetrically opposite row sections of the first major section and second major section, respectively; (e) arithmetic circuitry coupled to outputs of the pre-adders for receiving output information from the pre-adders and for receiving coefficient information and effectively multiplying the output information by the coefficient information; and (f) accumulator circuitry coupled to accumulate information from an output of the arithmetic circuitry and output the accumulated information as a filtered, decimated representation of the serial digital input information. 11. A method of operating an FIR decimation filter, comprising:
(a) providing a shift register including M flip-flops arranged in M/R rows of R bits each, wherein M/R is an integer and R is the decimation ratio of the FIR decimation filter, the shift register having an input for receiving serial digital input information, half of the rows being sequentially arranged in an upper section, a second half of the rows being arranged sequentially in a lower section, each row having a left tap and a right tap; (b) performing shifting operations in which R bits of the input information are shifted into a first row at the top of the upper section during each shifting operations, such that a group of R new bits appear in each row, respectively, as a result of each shifting operation; (c) reversing a direction of shifting all of the R bits from the bottom row of the upper section through the top row of the bottom section 4 every shifting operation; (d) pre-adding information from the right taps of the rows by means of M/(2R) pre-adders each having first and second inputs connected to the right tap points of symmetrically opposite rows of the upper section and lower section, respectively; (e) operating arithmetic circuitry coupled to outputs of the pre-adders for receiving output information from the pre-adders to effectively multiply the output information by predetermined FIR coefficient information; and (f) accumulating information from an output of the arithmetic circuitry and outputting the accumulated information at a predetermined decimated rate. Description [0001] The invention relates to use of FIR filters as decimation filters, and more particularly to a FIR decimation filter which allows a reduction in the amount of integrated circuit chip area required, and which also reduces power dissipation, especially for high-performance applications. [0002] Prior art FIG. 1 shows a conventional finite impulse response filter [0003] Specifically, outputs of the corresponding delay elements are added together, and the resulting sum is multiplied by a coefficient. For example, the outputs of corresponding delay elements [0004] However, the fact that the output rate of a decimation filter is much lower than its input rate usually allows some hardware, especially adders and multipliers, to be shared in a simplified design. If the multipliers and associated accumulators are allowed to operate at multiples of the rate at which the incoming data is being clocked into the shift register, then multiple pairs of flip-flops of the shift register can share the same multiplier and accumulator circuitry. [0005] Nevertheless, each D-type flip-flop in prior art FIG. 1 still needs to be individually accessed with corresponding control circuitry to accomplish the required pre-adding, and also needs to transfer its content to the next successive D-type flip-flop. The excessive wiring, complex routing, and corresponding control logic circuitry of the FIR filter shown in FIG. 1 result in excessive use of surface area on an integrated circuit chip. [0006] Prior art FIG. 2 shows another 16 tap FIR filter [0007] The configuration illustrated in parts (a)-(d) of FIG. 2 is for a 16-bit oversampling analog-to-digital converter (ADC). With FIR filter [0008] Although the shift register configuration of FIG. 2 may require less surface area of an integrated circuit chip because it does not require routing of the output of each flip-flop of each shift register chain to the various adders as in the prior art FIR filter of FIG. 1, the FIR filter of FIG. 2 requires calculating mathematical functions by clocking the two shift register chains with a significantly higher speed than the data input rate. In this 16 tap filter, the shift register chain has to be operated at least about eight times faster than the incoming data rate. This high-speed clocking substantially increases power dissipation. Also, in some cases the clocking speed required for calculating the mathematical functions may be too high to be practical using available technology. [0009] U.S. Pat. No. 5,170,368 discloses a digital decimation filter in which shift registers are used to take incoming data. A bank of switches is deployed between the shift registers and the accumulator output to provide, in conjunction with appropriate control circuitry, selective access to the content of the various shift register flip-flops to accomplish the data processing. U.S. Pat. No. 5,838,725 discloses a floating point digital transversal filter in which shift registers are used to take incoming data. The filter output result is generated through a ROM lookup table. U.S. Pat. No. 4,817,025 discloses a digital filter in which shift registers are used to take incoming data. Every register output is used for calculation every clock cycle. The digital filter is used in an interpolation filter. U.S. Pat. No. 5,193,070 discloses a transversal filter circuit having circuits that include bidirectional shift registers for serial multiplication. It is used to shift coefficients up or down for serial multiplication. U.S. Pat. No. 5,297,069 discloses a finite impulse response filter (FIR filter) in which shift registers are replaced by recirculating addressable memory. The shifting structure has feedback, making it a recirculating structure. [0010] Accordingly, it is an object of the invention to provide an FIR decimation filter which consumes less power and requires less integrated circuit chip area than the above described prior art. [0011] It is another object of the invention to provide a generic design methodology for an FIR decimation filter. [0012] Briefly described, and in accordance with one embodiment thereof, the invention provides an FIR decimation filter including a shift register ( [0013]FIG. 1 is a block diagram of a conventional finite impulse response filter (FIR). [0014]FIG. 2 is a sequence of data flow diagrams useful in explaining the operation of a prior art “dual-loop shift register” FIR filter. [0015]FIG. 3A is a block diagram of a generalized FIR decimation filter according to the present invention. [0016]FIG. 3B is a block diagram of the bidirectional shift register [0017]FIG. 3C is a logic diagram of the combination of pre-adders [0018] FIGS. [0019]FIG. 5 is a block diagram of an alternative FIR decimation filter according to the present invention. [0020] The present invention includes the feature of accessing the data signals only at the ends of the shift register rows, as in the structure of prior art FIGS. [0021]FIG. 3A illustrates a general view of an FIR decimation filter circuit [0022] In FIG. 3A, 16 tap shift register [0023] Shift register row or section [0024] Section [0025] Section [0026] Control circuitry [0027] Add/Sub/Null circuit [0028]FIG. 3B shows an embodiment of the bidirectional shift register [0029] Referring to FIG. 3C, the circuitry [0030] Conductors [0031] The carry in input of accumulator [0032] If S [0033] It may be helpful to understand that when S [0034] In operation, FIR decimation filter [0035] Note that this basic algorithm and structure apply regardless of what the decimation ratio R is and regardless of how many bits are included in the shift register [0036] The number of taps of the shift register is divided by the decimation ratio, and the result is rounded up to the next higher integer in order to determine the number of rows or slices into which shift register [0037] In the case of 1-bit wide data, the result of the pre-adding is simply to determine whether to add a coefficient, subtract the coefficient, or do nothing. The result of this determination is equivalent to multiplying by the coefficient, so Add/Sub/Null circuits [0038] FIGS. [0039] In FIGS. [0040]FIG. 4B illustrates the location of the various bits of IN after bits b [0041]FIG. 4C illustrates the location of the various bits of IN after bits b [0042]FIG. 4D illustrates the location of the various bits of IN after bits b [0043]FIG. 5 shows an alternative structure to that of FIG. 3A. Referring to FIG. 5, FIR decimation filter [0044] In accordance with the present invention, providing the bidirectional shift register row [0045] While the invention has been described with reference to several particular embodiments thereof, those skilled in the art will be able to make the various modifications to the described embodiments of the invention without departing from the true spirit and scope of the invention. It is intended that all elements or steps which are insubstantially different or perform substantially the same function in substantially the same way to achieve the same result as what is claimed are within the scope of the invention. Referenced by
Classifications
Legal Events
Rotate |