US RE37440 E1 Abstract The filter includes an arithmetical chain of parallel adders alternated with delay elements, and a memory constituted by lines of one-bit cells. Each line is addressable by a decoder controlled by a digital signal to be filtered; each line of memory contains side by side values which correspond to the partial products of successive impulse-response coefficients for a value equal to the line address. The memory additionally includes a number of read amplifiers. The number of read amplifiers is equal to the number of cells of one line in order to read the bits of the addressed. The outputs of the amplifiers are connected to respective parallel inputs of the adders of the arithmetical chain. Each memory line contains these values in two's-complement binary form in words which decrease in length by one bit for each increment of 2 in the characteristic of the coefficients, starting from the one of lowest characteristic. The output of each read amplifier corresponding to the most significant bit of each value is connected to the corresponding input bit line of the associated adder and to all the other most significant input bit lines.
Claims(14) 1. Programmable digital filter comprising an arithmetical chain of parallel adders alternated with delay elements, and a memory constituted by a plurality of lines of a plurality of one-bit cells, each being addressable by a decoder controlled by a digital signal to be filtered, each line of memory containing side by side values corresponding to the partial products of successive impulse response coefficients for a value equal to the line address, said memory furthermore comprising a number of read amplifiers equal to the number of cells of one line to read the bits of the addressed line, the outputs of said amplifiers being connected to respective parallel inputs of said adders of said arithmetical chain, characterized in that each memory line contains said values in two's-complement binary form in words which decrease in length by one bit for every increment of 2 in the characteristic of said coefficients starting from the one with lowest characteristic, and in that the output of each read amplifier corresponding to the most significant bit of each value is connected to the corresponding input bit of the associated adder and to all the other most significant input bits.
2. A programmable digital filter, comprising:
a memory receiving input values comprising a plurality of lines of one-bit cells, storing in adjacent one-bit cells values corresponding to partial products of successive impulse response coefficients for input values equal to line addresses, the cell values being in two's complement binary form in words which decrease in length by one bit for every increment of two in the characteristic of the coefficients starting from the one with lowest characteristic; and a plurality of read amplifiers, equal in number to a number of one-bit cells in each line of the memory, reading the value stored in each cell of the line address corresponding to an input value, to provide filtered data. 3. The programmable digital filter of claim
2, further comprising a decoder, coupled to the memory and controlled by a digital signal representing the input values to be filtered, selecting at least one of the lines of one-bit cells. 4. The programmable digital filter of claim
3, further comprising an arithmetical chain of parallel adders alternated with delay elements wherein an output of each read amplifier in the plurality of read amplifiers is respectively coupled to an input of an adder in the arithmetical chain of parallel adders.5. The programmable digital filter of claim
4, wherein an output of each read amplifier in the plurality of read amplifiers corresponding to a most significant bit of each value is coupled to a corresponding input bit of the respective adder and to all other most significant input bits.6. The programmable digital filter of claim
5, wherein the filter is of symmetrical design.7. The programmable digital filter of claim
5, wherein the filter is of asymmetrical design.8. The programmable digital filter of claim
5, wherein the filter has a central coefficient.9. The programmable digital filter of claim
5, wherein the filter does not have a central coefficient.10. A programmable digital filter memory, comprising a plurality of lines of adjacent one-
bit cells, each line being addressable by a decoder controlled by a digital signal to be filtered, each cell containing a partial product of a successive impulse coefficient, wherein a group of the one-bit cells store data in two's-complement binary form in words that decrease in length by one bit for every increment of two in a characteristic of the coefficients for a value equal to the line address, said memory furthermore comprising a number of read amplifiers equal to the number of cells of one line to read the bits of the addressed line. 11. The programmable digital filter memory of claim
10, further comprising a decoder, coupled to the plurality of lines and controlled by a digital signal to be filtered, selecting at least one of the lines of one-bit cells. 12. The programmable digital filter memory of claim
11, further comprising a plurality of read amplifiers, equal in number to a number of 1-bit cells in a line, reading the value stored in each cell. 13. The programmable digital filter memory of claim
10, wherein a number of non-zero bits is given by:N
_{b} =b
_{0} T−T
^{2} /
4 where N
_{b} =a number of bits
b
_{0} =a precision of a central coefficient
T=a number of coefficients.
14. In a programmable filter, a method comprising the steps of:
receiving a digital signal;
filtering a sample of the digital signal to provide a response; and
storing, in adjacent one-bit cells, values of partial products of successive impulse coefficients and the sample of the digital signal for a value equal to a line address in two's complement binary form in words that decrease in length by one bit for every increment of two in a characteristic of the impulse coefficients starting from an impulse coefficient with a lowest characteristic. Description The present invention relates to a memory for programmable digital filter for wide-band electronic signals, particularly video signals. More particularly the invention relates to an EPROM memory which can be used to implement a digital filter of the non-recursive type with finite impulse response (FIR) of the kind described in the antedated patent application No. 22890-A/88 U.S. Pat. No. Said antedated patent relates to a digital filter of the kind with a transposed canonical structure, wherein an array of multipliers provides partial products of the digital signal to be filtered by successive coefficients of the filter's impulse response. The antedated patent replaces said multipliers with tables of pre-calculated partial products contained in one or more re-programmable memories, and each memory cell contains the partial product of an associated stage which corresponds to the value to be processed which coincides with the address of said cell. In particular, said antedated patent uses a single memory which contains, in each line, all the partial products between the address of that line and all the coefficients from h However, though the use of a table thus defined instead of multipliers offers advantages in terms of operating speed, simplicity of implementation etc., as the precision of the coefficients of the filter rises, the dimensions of the memory also grow in a linear manner together with the number of read amplifiers, with an increase in silicon area occupation and with a consequent limitation of the performance obtainable from a filter integrated according to a given technology. The aim of the invention is to provide a programmable digital filter which has the tabular memory architecture described in said antedated patent application, which requires a smaller memory capacity than said prior filter for an equal equivalent output dynamics and with no complications in the circuits associated with the memory. In a typical application, a digital filter according to the present invention provides in output an equivalent dynamics of 20 word bits with a memory size which would allow a dynamics of only 16 bits in said antedated patent application. Together with the reduction in memory size and therefore in the occupied silicon area, the invention also provides an increase in the filter's processing speed (as required, for example, for video applications) for an equal dynamics, or an increase in dynamics with unchanged speed. The invention achieves the above mentioned aim and other objects and advantages such as will become apparent from the continuation of the description with a programmable digital filter which comprises an arithmetical chain of parallel adders alternated with delay elements, and a memory constituted by a plurality of lines of a plurality of one-bit cells, each being addressable by a decoder controlled by a digital signal to be filtered, each memory line containing side by side values corresponding to the partial products of successive impulse response coefficients for a value equal to the line address, said memory furthermore comprising a number of read amplifiers which is equal to the number of cells of one line in order to read the bits of the addressed line, the outputs of said amplifiers being connected to respective parallel inputs of the adders of said arithmetical chain, characterized in that each memory line contains said values in two's-complement binary form in words which decrease in length by one bit for each increment of 2 in the characteristic of said coefficients, starting from the one with lowest characteristic, and in that the output of each read amplifier corresponding to the most significant bit of each value is connected to the corresponding input bit line of the associated adder and to all the other most significant input bit lines. The invention is now described in greater detail with reference to a preferred embodiment thereof, illustrated in the accompanying drawings and given only by way on-limitative example, wherein: FIG. 1 is a conceptual block circuit diagram of a programmable FIR digital filter according to said antedated patent application; FIG. 2 is a plot of the amplitudes of the successive multiplication coefficients from the lowest characteristic to the highest one by which the sampled signal must be multiplied in order to generate the partial products to be added in the arithmetical unit of an FIR filter with transposed canonical structure; and FIG. 3 is a detail diagram of the connection between the read amplifier and the adder in a filter according to the invention. FIG. 1 is the block circuit diagram of a digital FIR filter with transposed structure according to the teachings of the above mentioned antedated patent application in the name of the same Applicant, No. 22890-A/88 U.S. Pat. No. Each line of cells of the memory M comprises a plurality of one-bit cells which store in succession the products of progressive coefficients h The outputs of the amplifiers are applied in a known manner to respective first parallel inputs of an array of adders In this manner, the time required to generate each individual partial product is constant and independent from the characteristics of the operands, and is shorter than the time required by the multipliers used in the circuit of FIG. 1 The products can furthermore be obtained with arbitrary precision, while any rounding or truncation is performed only on the final result. For a number T of coefficients and an input dynamics of N bits, the filter of the above described kind requires a memory of the following size.
where b is the number of bits assigned to the product of the input datum and the coefficient h of the impulse response. Since the described structure requires the transfer of all said products to the arithmetical unit in parallel, T×b read amplifier lines, divided into T buses of b lines, are required. In order to reduce the number of memory cells and therefore the silicon area, as well as the number of read amplifiers, the invention started from the observation that a typical video filter with a band 0.25-0.50 times the value of the sampling frequency a repetitive decay occurs in passing from one coefficient to the other. With reference to FIG. 2, which plots the amplitude of the successive coefficients h a) h b) h This means that the binary representation of the coefficient loses one significant bit for every 2 increment coefficients in the sequence h According to the invention, a filter is thus provided which still has the same basic architecture as FIG. 1 but has successive partial products in each line contained in variable-length words, i.e.:
Since the circuits which are external to the memory (adders, delay elements, and other registers) assume words of uniform length, it is then necessary to expand the shortened words upon their exit from memory, inserting the bits which had been eliminated therefrom. Choosing a two's-complement representation of the partial products, it is sufficient to replicate the most significant bit of the word as many times as is required to return the word to the standard length, as illustrated in the partial diagram of FIG. The number of total non-zero bits required is:
where b
This means that if the words are stored with variable lengths, eliminating the redundant bits, a saving of T In a typical application with 16 coefficients, 20-bit dynamics and with N=8, the total memory required is, according to the given equations:
with a saving of 16,384 bits with respect to a standard memorization which would require 81,920 bits, therefore with a saving of approximately 25%. The saving of 64 amplifier units (320 to 256) must also be added to this. It can thus be seen that it is possible to achieve a performance which corresponds to 20-bit arithmetics using a memory with an average length of 16 bits with a consequent reduction in area and dissipation. Though the above described calculations are based on the assumption of an even number of coefficients, the saving would be of the same order even with an odd number of coefficients. The concepts of the invention may furthermore be also applied to all the other embodiments of the filter as described in said antedated patent application, such as symmetrical ones with or without central coefficient, asymmetrical ones, etc. The invention is applicable equally well to filters using EPROM, RAM or any other kind of memory. Patent Citations
Classifications
Legal Events
Rotate |