Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS7216139 B2
Publication typeGrant
Application numberUS 11/319,846
Publication dateMay 8, 2007
Filing dateDec 28, 2005
Priority dateSep 18, 2001
Fee statusPaid
Also published asEP1294094A2, EP1294094A3, EP1294094B1, EP1693961A1, EP1693961B1, US6556044, US6693455, US7142010, US20030052713, US20030128049, US20050038844, US20060103419
Publication number11319846, 319846, US 7216139 B2, US 7216139B2, US-B2-7216139, US7216139 B2, US7216139B2
InventorsMartin Langhammer, Chiao Kai Hwang, Gregory Starr
Original AssigneeAltera Corporation
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Programmable logic device including multipliers and configurations thereof to reduce resource utilization
US 7216139 B2
Abstract
In a programmable logic device having dedicated multiplier circuitry, some of the scan chain registers normally used for testing the device are located adjacent input registers of the multipliers. Those scan chain registers are ANDed with the input registers, and can be loaded with templates of ones and zeroes. This allows, e.g., subset multiplication if the least significant bits are loaded with zeroes and the remaining bits are loaded with ones. The multipliers preferably are arranged in blocks with other components, such as adders, that allow them to be configured as finite impulse response (FIR) filters. In such configurations, the scan chain registers can be used to load filter coefficients, avoiding the use of scarce logic and routing resources of the device.
Images(10)
Previous page
Next page
Claims(18)
1. A programmable logic device comprising:
a plurality of specialized logic blocks, each said specialized logic block comprising:
a plurality of multiplier circuits, each of said multiplier circuits having a first multiplicand and a second multiplicand, and
at least one adder in each said specialized logic block for accumulating outputs of said plurality of multiplier circuits; wherein:
one or more of said specialized logic blocks are adapted to be configurable to form a finite impulse response filter.
2. The programmable logic device of claim 1 wherein said specialized logic block comprises a plurality of said adders.
3. The programmable logic device of claim 2 wherein:
said specialized logic block comprises four said multiplier circuits and three said adders:
a first of said adders adds outputs of a first and second of said multiplier circuits;
a second of said adders adds outputs of a third and fourth of said multiplier circuits; and
a third of said adders adds outputs of said first and second adders.
4. The programmable logic device of claim 3 further comprising a plurality of registers for registering data in said finite impulse response filter.
5. The programmable logic device of claim 4 wherein said plurality of registers are chained on an input to said specialized logic block, each said register providing an output for input to one said multiplier circuit.
6. The programmable logic device of claim 1 wherein said specialized logic block comprises a number of said multiplier circuits and a number of said adders equal to said number of said multiplier circuits, each said adder adding an output of one said multiplier circuits to a previous sum.
7. The programmable logic device of claim 6 wherein a first said previous sum is an input to said specialized logic block.
8. The programmable logic device of claim 7 wherein said input to said specialized logic block is an output of another said specialized logic block.
9. The programmable logic device of claim 7 further comprising a plurality of registers for registering data in said finite impulse response filter.
10. The programmable logic device of claim 9 wherein each said register registers an output of one of said adders, each said registered output forming one of said previous sums.
11. The programmable logic device of claim 1 further comprising a plurality of registers for registering data in said finite impulse response filter.
12. The programmable logic device of claim 1 wherein each said first multiplicand represents a coefficient of said finite impulse response filter.
13. A digital processing system comprising:
processing circuitry;
a memory coupled to said processing circuitry; and
a programmable logic device as defined in claim 1 coupled to the processing circuitry and the memory.
14. A printed circuit board on which is mounted a programmable logic device as defined in claim 1.
15. The printed circuit board defined in claim 14 further comprising:
a memory mounted on the printed circuit board and coupled to the programmable logic device.
16. The printed circuit board defined in claim 15 further comprising:
memory circuitry mounted on the printed circuit board and coupled to the memory.
17. The printed circuit board defined in claim 16 further comprising:
processing circuitry mounted on the printed circuit board and coupled to the memory circuitry.
18. The programmable logic device of claim 11 wherein said plurality of registers are chained on an input to said specialized logic block, each said register providing an output for input to one said multiplier circuit.
Description
CROSS REFERENCE TO RELATED APPLICATION

This is a continuation of commonly-assigned U.S. patent application Ser. No. 10/742,746, filed Dec. 19, 2003, now U.S. Pat. No. 7,142,010, which is a continuation of U.S. patent application Ser. No. 10/377,962, filed Feb. 26, 2003, now U.S. Pat. No. 6,693,455, which is a continuation of U.S. patent application Ser. No. 09/955,647, filed Sep. 18, 2001, now U.S. Pat. No. 6,556,044.

BACKGROUND OF THE INVENTION

This invention relates to programmable logic devices that include dedicated multipliers, and more particularly to such programmable logic devices in which the multipliers are used in particular configurations that reduce resource utilization.

It has become more common to provide multiplier circuits on programmable logic devices, rather than requiring users of such devices to construct multipliers from the available programmable logic resources. However, a multiplier circuit consumes a relatively large area, and its inputs can consume significant routing resources.

For example, multipliers are provided to multiply m bits by n bits—e.g., 18×18 bits (frequently m=n). However, a user of the programmable logic device might have need of a p-bit by q-bit multiplier, where p and q are chosen by the user at the time of programming and may be different in every case, and p<m and q<n. This can be accomplished during programming by pre-loading or padding the unused bits with zeroes. However, the inputs to those unused bits have to be driven by a source, and the source has to be routed to the inputs. Therefore, padding the unused bits consumes resources which then are unavailable for other uses, even though the inputs remain constant throughout device operation.

Alternatively, additional registers could be provided and ANDed with the multiplier input registers, and each additional register could be set to either one (this would be the case for the most significant multiplier bits, which will be used) or zero (in the case of the least significant multiplier bits, which will not be used). Whether a particular register was set to zero or one could be controlled by configuration bits. While this consumes fewer resources than routing the zeroes directly to the less significant multiplier inputs, it still requires providing additional registers and configuration bits.

In another example, a multiplier might be used in a configuration in which one of its inputs is a constant coefficient, again consuming routing resources for the constant coefficient. Indeed, one such use is in a finite impulse response (FIR) filter, which requires several multipliers, compounding the use of routing resources. Moreover, in such a filter, the outputs of the various multipliers must be accumulated by a plurality of adders, consuming further routing resources to direct the various products to the adders and the sums to other adders.

It would be desirable to be able to provide programmable logic devices with multiplier circuits, where those multiplier circuits are configured to reduce resource utilization.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide programmable logic devices with multiplier circuits, where those multiplier circuits are configured to reduce resource utilization.

In accordance with the present invention, there is provided a programmable logic device comprising a multiplier circuit, which may be that described in commonly-assigned U.S. Pat. No. 6,628,140, which is hereby incorporated by reference in its entirety. The programmable logic device includes a plurality of scan chain registers for testing purposes, and at least a portion of the plurality of scan chain registers are located adjacent the multiplier circuit. Input circuitry is provided for using data in the scan chain registers to modify input data to the multiplier circuit.

In accordance with one aspect of the invention, the multiplier circuit, which can multiply two numbers having m and n bits, respectively (frequently, m=n), can be configured to multiply instead p×q bits, where p<m and q<n (frequently, p=q). This is known as subset multiplication, and the multiplier is known as a subset multiplier. To avoid wasting routing resources to pad the inputs with zeroes to account for the missing m-p bits and the missing n-q bits, the scan chains normally provided for testing of the programmable logic device are used.

Scan chains typically are provided throughout a programmable logic device for testing purposes. After the device is manufactured, a predetermined pattern of ones and zeroes is clocked through the scan chains and the progression of that pattern through the chain, which has registers throughout all parts of the device, is checked. If there is any deviation from the input pattern, that indicates a potential manufacturing flaw, which can be isolated by determining where in the chain the pattern becomes corrupted.

In accordance with this aspect of the invention, scan chain registers adjacent the multiplier inputs are ANDed with the multiplier inputs. The scan chain registers corresponding to the least significant m-p and n-q bits of the multiplier inputs are loaded, after device testing, with zeroes, while the p and q most significant bits are loaded with ones. Because no further data are input to the scan chain registers, they retain the values loaded into them throughout device operation. ANDing the scan chain registers, loaded with ones and zeroes as described above, with the multiplier inputs has the same effect as padding the least significant bits with zeroes, but without using routing resources. Thus, the routing resources connected to the least significant bits of the multiplier inputs can be used for other functions, because it does not matter for multiplication purposes what values appear in those bits, which will always be ANDed with zeroes. Because the remaining bits of the scan chain registers are loaded with ones, the values in the most significant bits of the multiplier inputs pass through the AND operation to the multiplier. Normally, the multiplier inputs are registered (synchronous input), and the scan chain registers are ANDed with the input registers. Sometimes, however, the multiplier inputs are asynchronous and not registered, in which case the scan chain registers are ANDed with the inputs themselves.

In accordance with another aspect of the present invention, there is provided a programmable logic device comprising a plurality of multiplier circuits arranged in a logic block. The logic block further comprises a plurality of adders for accumulating outputs of the plurality of multiplier circuits, as described in commonly-assigned U.S. Pat. No. 6,538,470, which is hereby incorporated by reference in its entirety. The multipliers and the adders in the logic block are configured for various uses, including formation of a finite impulse response filter.

In accordance with this aspect of the invention, the finite impulse response (FIR) filter may be a “Direct Form I” FIR filter or a “Direct Form II” FIR filter. Either type of FIR filter requires, in addition to the multipliers and adders, registers for registering either input data (samples) or intermediate data, with the number of registers preferably equaling the number of multipliers in the FIR filter. In the case of a Direct Form I FIR filter, the registers are at the outputs of the multipliers, while in a Direct Form II FIR filter, the registers are at the inputs of the multipliers.

In either type of FIR filter, one of the inputs to each multiplier sometimes is a coefficient fixed at the time of programming and specific to the use that will be made of the filter, although in other cases, such as in an adaptive FIR filter, the coefficients may vary over time. Because the coefficient may be fixed, it would be a waste of routing resources to consume those resources with the values for the coefficients. Therefore, as discussed above in connection with subset multipliers, in accordance with this aspect of the invention, the scan chain registers that are ANDed with the multiplier coefficient inputs are loaded with the filter coefficients after testing of the device is complete.

In a variant of this aspect of the invention, the scan chain registers are also used for the data (sample) inputs to the FIR filter. This is accomplished by ANDing other scan chain registers to the other inputs (or input registers) of each multiplier, and then clocking data through the scan chain during use to provide the filter sample inputs. If this variant is used, then a way must be provided to prevent the coefficient data in the scan chain registers, which are supposed to be fixed, from being clocked through the scan chain as the input sample data are clocked through. This is preferably accomplished using one or both of two methods.

The first method to prevent coefficient data from being clocked through the scan chain as the input sample data are clocked through is to provide in the scan chain one or more switches or links that can be opened after the coefficient data are loaded into the appropriate scan chain registers. Opening the link or switch would then isolate those registers from the remainder of the scan chain, so that the input sample data are not clocked through into the coefficient registers. This requires arranging the scan chain so that all of the scan chain registers to be used for coefficient data are downstream of any scan chain registers to be used for input sample data.

The second method to prevent coefficient data from being clocked through the scan chain as the input sample data are clocked through is to provide a first coefficient clock for those scan chain registers that are to be used for coefficient input, and a second separate data or sample clock for the other scan chain registers, including those to be used for sample data input. The two clocks would be connected, or run in synchrony, during “normal” scan chain testing operation and clocking in of the coefficient data. The coefficient clock would then be disconnected from the sample data clock or simply turned off, and preferably grounded, to prevent alteration of the coefficient data even though the coefficient registers remain connected to the scan chain and data is being clocked through any registers clocked by the data or sample clock. This still requires arranging the scan chain registers in the correct order with foreknowledge of which will be used for coefficients, so that all coefficient registers are downstream from all sample data registers, because even though the coefficient registers are not removed from the chain as in the previous embodiment, no data will be able to be clocked through the coefficient registers to downstream sample data registers. This also requires using the same foreknowledge to connect the correct clock to each scan chain register. This second method may be, and preferably is, used in conjunction with the first method.

For some applications, such as in adaptive FIR filters, it may be desirable or necessary to change coefficients on the fly, or at least occasionally, during operation of the device. The use of scan chains to load coefficients facilitates such on-the-fly changes. Thus, in an embodiment where the coefficients are loaded using a separate scan chain with its own clock, the clock can be restarted whenever it is desired to change the coefficients. In an embodiment where the samples and coefficients are loaded using the same scan chain, which is then broken after the coefficients are loaded, when it is desired to change the coefficients the break must be closed (as by a switch). In the latter embodiment, there will be a period, while the new coefficient data propagates through the sample portion of the chain, that the filter output is not meaningful.

Separate and apart from the use of scan chain registers as coefficient and/or sample data inputs to a FIR filter, the logic block described above including multipliers and adders that can be configured as a FIR filter includes the routing necessary to connect those elements as a FIR filter, relieving the load on the general routing of the programmable logic device. Thus, the logic block, which may be referred to as a multiplier-accumulator (MAC) block or, because it is frequently used in digital signal processing, a DSP block, includes multipliers, adders, registers in the two different locations required for the two different types of FIR filters, as discussed below, and multiplexers for selecting between the two configurations, again as discussed below.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects and advantages of the invention will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which like reference characters refer to like parts throughout, and in which:

FIG. 1 is a schematic view of a portion of a programmable logic device according to the invention including a multiplier;

FIG. 2 is a diagrammatic view showing the use of scan chains as inputs to the multiplier of FIG. 1;

FIG. 3 is a schematic drawing of a scan chain clock control arrangement;

FIG. 4 is a schematic drawing of a scan chain arrangement;

FIG. 5 is a simplified diagrammatic representation of multiplier-accumulator (MAC) block;

FIG. 6 is a simplified diagrammatic representation of a Direct Form II FIR filter;

FIG. 7 is a simplified diagrammatic representation of a Direct Form I FIR filter;

FIG. 8 is a simplified diagrammatic representation of several chained Direct Form I FIR filters, each a simplified version of that shown in FIG. 7;

FIG. 9 is a schematic diagram of a MAC block according to the present invention that can be configured as either a Direct Form I FIR filter or a Direct Form II FIR filter; and

FIG. 10 is a simplified block diagram of an illustrative system employing a programmable logic device in accordance with the invention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention involves the configuring of multipliers on a programmable logic device in ways that conserve routing and other device resources while performing one or more of a number of different functions. Further resource conservation is achieved by using scan chains of the device, which otherwise remain unused during device operation, to perform certain functions as described.

The invention will now be described with reference to FIGS. 1–10.

FIG. 1 shows in highly simplified form a portion of a programmable logic device 10. Device 10 includes regions of logic 11, which may be p-term- or sum-of-products-type logic or, more commonly, lookup table-type logic, interconnected by interconnection conductors 12 which are programmably connectable to each other and to logic regions 11.

Device 10 also preferably includes one or more multipliers 13. Each multiplier 13 may be capable of multiplying an m-bit number by an n-bit number, but a user when programming device 10 may have need for a p-bit by q-bit multiplier, where p and q are chosen by the user at the time of programming and may be different in every case, and where p<m and q<n. For example, multiplier 13 may be an 18×18 multiplier, but the user may need a 16×16 multiplier, or a 12×8 multiplier, etc. Normally, this can be achieved by padding the unused bits, which are the m-p and n-q least significant bits of the multiplicands, by permanently setting them to zero. Alternatively, the most significant bits could be padded. However, this is more complicated, because most significant bits must be sign-extended—i.e., padded with zeroes for positive numbers and ones for negative numbers. Therefore, padding the least significant bits is preferred.

Thus, for a 16×16 subset of an 18×18 multiplier, the two least significant bits of each multiplicand would be set to zero, while for a 12×8 subset of an 18×18 multiplier, the six least significant bits of one multiplicand and the ten least significant bits of the other multiplicand would be set to zero. (Actually, because the product of zero and any number is always zero, it is only necessary to set to zero the unused bits of the multiplicand having the greater number of unused bits; for the other multiplicand, it does not matter what values are in the unused bits. So in the 12×8 subset of an 18×18 multiplier, setting the ten least significant bits of the second multiplicand to zero is sufficient; the values in the six least significant bits of the first multiplicand do not matter.) This is traditionally accomplished using the normal configuration and routing resources of device 10 to set those bits equal to zero.

However, if an m×n multiplier is configured as a p×q multiplier at the time that device 10 is programmed, that configuration is fixed throughout device operation, and until device 10 is reprogrammed (if ever). Therefore, using regular routing resources to set the least significant bits of multiplier 13, when the values of those bits remain constant throughout the operation of device 10, unnecessarily removes those resources from the inventory of resources available for operation of device 10.

The present invention frees up those resources by using scan chains 20, shown in FIG. 2, to set the unused bits of multiplier 13. At least one scan chain 20 including scan chain registers 21 normally is provided on device 10 for testing purposes, to determine whether or not the semiconductor fabrication process that produced device 10 worked properly. One or more scan chains 20 extend through all portions of device 10. After fabrication, a known series of signals is propagated along scan chain 20, and the output at the end of scan chain 20, or along scan chain 20, is compared to the input. If the output matches the input, device 10 is considered to have been properly fabricated. If the output does not match the input, then there is assumed to have been a fabrication problem that has caused a register 21 along chain 20 to malfunction and propagate a signal incorrectly. At that point, the entire device may be scrapped, or the scanned signal may be probed at various points along scan chain 20 to determine the location and extent of the defect, in which case the device may be salvaged if the defect can be localized and the affected area taken out of use.

After a device has passed its testing, scan chain 20 and its registers 21 generally have heretofore sat unused throughout the remaining lifetime of the device. The loss of device area to scan chains 20 has become an accepted cost.

The present invention puts scan chains 20 back to work. Specifically, because scan chains 20 reach all areas of device 10, there are scan chain registers 21 adjacent input registers 22 of multiplier 13. By providing AND gates 24, the contents of certain scan chain registers 21 can be ANDed with the contents of certain input registers 22. By loading the scan chain registers 21 after testing is complete—e.g., at the time of programming—with ones in the scan chain registers 21 corresponding to the p and q most significant bits of input registers 22, and with zeroes in the scan chain registers 21 corresponding to the least significant bits of input registers 22, one achieves the same result, after the AND operation, as loading the least significant bits of registers 22 themselves with zeroes. A multiplexer 23 can be provided to allow selection of input register 22 itself (e.g., where the full multiplier 13 is to be used), or selection of the result of ANDing register 22 with scan chain registers 21 (e.g., for subset multiplication). Alternatively, multiplexer 23 can be omitted, and the selection of the full multiplier 13 can be made by loading scan chain registers 21 with all ones.

In order to prevent the contents of scan chain registers 21 from changing once loaded, the scan chain clock can be grounded. In some cases, certain scan chain registers 21 may be put to uses in which it is desired to be able to change their values (see below). Therefore, as shown in FIG. 3, a clock arrangement can be provided in which the clock is grounded only for certain scan chain registers 21. In one embodiment, seen in FIG. 3, scan chain clock 30 feeds directly into scan chain registers 31, 32, but passes first through multiplexer 33 before feeding into scan chain registers 34, 35, and through multiplexer 36 before feeding into scan chain registers 37, 38. The second input of each multiplexer 33, 36 is ground, and either multiplexer 33, 36 can be controlled to substitute ground for clock signal 30, thereby grounding the clock input for those scan chain registers 21 associated with that multiplexer, which freezes the contents of those registers.

This allows certain scan chain registers—e.g., registers 31 and 32—to be used for functions that require them to be changeable “on the fly,” while others—e.g., registers 34, 35 and 3739—can be used for functions that require them to remain fixed once set, or to be changed less frequently.

FIG. 4 shows a different arrangement 300 of scan chain registers used to provide both changeable data and relatively fixed coefficients to a plurality of multipliers. Although only two multipliers 301, 302 and four scan chain registers 303306 are shown, they are preferably part of a longer chain, the remainder of which is not shown explicitly.

Spatially, scan chain registers 303306 are arranged sequentially, but preferably they are wired so that in testing mode the scan data flow to every other register (e.g., 303, 305) in one direction, and then return in the other direction to the alternate registers (e.g., 304, 306). For testing purposes, the order in which the data reach the various registers does not matter, as long as one can determine whether or not the output pattern is identical to the input pattern. However, for testing purposes it is important that the same scan clock reaches all of the scan chain registers. Therefore, in arrangement 300 as shown in FIG. 4, the scan clock 307 preferably reaches directly to odd-numbered registers (e.g., 303, 305), and preferably reaches even-numbered registers (e.g., 304, 306) as coefficient clock 308 through multiplexer 309, which preferably, when not in testing mode, also can select ground 310 to ground coefficient clock 308, thereby freezing the coefficient values in the even-numbered registers without freezing the values in the odd-numbered registers.

Because of the alternating arrangement described above, although the even-numbered registers are interspersed spatially with the odd-numbered registers, electrically all even-numbered registers are downstream of all odd-numbered registers.

As can be seen, scan data line 311 reaches every other register (preferably the odd-numbered registers) until the data reach the spatial end of the scan chain. The data then preferably pass through switch 312 (closed during testing and coefficient loading) and return as coefficient data line 313 to the even-numbered registers. This provides an electrically continuous scan chain during testing, and during coefficient loading.

After the coefficients have been loaded in registers 304, 306 (and other even-numbered registers), switch 312 can be opened. This allows additional data to be propagated through the scan chain to provide changing data for registers 303, 305 (and other odd-numbered registers) serving as input registers to multipliers 301, 302, without changing the data in the coefficient registers 304, 306. However, in order to prevent coefficient data already in the coefficient registers from being clocked from one coefficient register to the next until the coefficient registers are all empty (or all contain identical coefficients), coefficient clock 308 preferably is still grounded using multiplexer 309.

A plurality of multipliers similar to multiplier 13 may be provided on programmable logic device 10. If a user has an application that requires that several multipliers work together, the user can rely on the general purpose interconnect resources of device 10 to achieve the desired result. However, such needs are increasingly common, particularly in digital signal processing applications. Therefore, a particular arrangement 40, shown schematically in FIG. 5, of multipliers 13 and adders 41 may be provided on device 10 to facilitate such applications. Arrangement 40 may be referred to as a multiplier-accumulator (“MAC”) block because the results of several multiplications are accumulated by adders 41, or as a “DSP” block because it is useful for digital signal processing. The provision of such blocks, which are described in more detail in above-incorporated commonly-assigned U.S. Pat. No. 6,538,470, relieves some stress on the general interconnect resources of device 10 because each block has its own internal routing resources, and also speeds up functions that otherwise would be performed by components spaced further apart on device 10.

One use in accordance with the present invention for a DSP/MAC block is to implement a finite impulse response (FIR) filter as discussed above. As also discussed above, a FIR filter can be implemented as Direct Form I FIR filter or as a Direct Form II FIR filter.

One embodiment of a DSP/MAC block 50, configured as a Direct Form II FIR filter, is shown in FIG. 6. Block 50 preferably includes four multipliers 5154, each having a data input 55 and a coefficient input 56, and three adders 5759. The outputs of multipliers 51 and 52 preferably are added or accumulated by adder 57, while the outputs of multipliers 53 and 54 preferably are added or accumulated by adder 58. The outputs of adders 57 and 58 preferably are in turn accumulated by adder 59. DSP/MAC block 50 thus preferably has four inputs 55 and one output 500. When used as a Direct Form II FIR filter, four registers 501504 preferably are provided upstream of inputs 55. Registers 501504 preferably are chained on a single input 505, and each input 55 taps the output of a respective register 501504. Additional inputs or routing resources (not shown) are required to load coefficients into coefficient registers (not shown) connected to coefficient inputs 56.

Another embodiment of a DSP/MAC block 60, configured as a Direct Form I FIR filter, is shown in FIG. 7. Block 60 preferably includes four multipliers 6164, each preferably having a data input 65 and a coefficient input 66, four adders 67, 68, 69, 600, and four registers 601604. Each adder 67, 68, 69, 600 preferably adds the output of one of multipliers 6164 to the output of a previous adder and registers it in corresponding register 601604. Specifically, each subsequent adder preferably adds the registered output of the previous adder, rather than the direct output, to the corresponding multiplier output. The last sum preferably is provided as output 605. In the case of the first adder 67, the output of multiplier 61 is added to an input 606 from elsewhere on device 10, which might be the sum output of another DSP/MAC block. In the case of the first DPS/MAC block in the chain, input 606 is preferably zeroed. This can be accomplished through the device routing, or multiplexer 607 can be provided to select between ground (zero) and input 606. Using multiplexer 607 conserves routing resources, at the expense of requiring an additional configuration bit. Note that multiplexer 607 preferably is provided in every DSP/MAC block 60 on device 10, because any such block can be configured as the “first” block. As in the case of block 50, additional inputs or routing resources (not shown) are required to load coefficients into coefficient registers (not shown) connected to coefficient inputs 66.

Each input 65 of the Direct Form I FIR filter shown in FIG. 7 taps the same data source. Therefore, block 60 could be configured so that it has only one input, instead of four inputs, with that one input routed internally of block 60 to the various multipliers 6164. With another input 71 for the previous sum, and output 605, such a reconfigured block 70 (several chained in FIG. 8) requires only three input/output connections. This is many fewer connections than otherwise would be required, and conserves routing resources, although it may still be necessary to route in the coefficients if they are not fixed and need to be changed more frequently than the scan chain arrangement can support.

FIG. 9 is a schematic circuit diagram of a preferred embodiment of a DSP/MAC block 80 which can be configured, among other things, as either a Direct Form I FIR filter or a Direct Form II FIR filter. Block 80 preferably includes four multipliers 8184. Multiplier 81 has a first input 811 and a second input 812. Similarly, each of multipliers 8284 has a respective first input 821, 831, 841 and a respective second input 822, 832, 842. Each multiplier input 811, 812, 821, 822, 831, 832, 841 and 842 can be selectively connected, using a respective one of multiplexers 809, either directly to one of data inputs 801808 (designated D1–D8) or to one of registers 810, each of which registers a respective one of inputs 801808. In addition, each of inputs 821, 831, 841 can be connected, using a respective one of additional multiplexers 819, so that it shares D1 data input 801 with multiplier 81, to implement the type of single-data-input Direct Form I FIR filter shown in FIG. 7.

DSP/MAC block 80 also includes four adders 8588. In order for DSP/MAC block 80 to function as a Direct Form II FIR filter, the outputs of multipliers 81 and 82 can be added by adder 86 and the outputs of multipliers 83 and 84 can be added by adder 87. The output of adders 86 and 87 can in turn be added together by adder 88.

It should be noted that the output of multiplier 81 is also available as an input to adder 85, to which D3 data input 803 is also an input, with the output of adder 85 registered in register 850 and available as an input to adder 86 under the control of multiplexer 820, for reasons described below. Similarly, while the output of multiplier 84 is available as an input to adder 87, that input to adder 87 may also be the output of adder 86, as registered in register 823, with the selection made by multiplexer 824, for reasons discussed below.

The outputs of adders 86, 87 may be input to adder 88 to be added together as discussed above. The output of adder 86 may be selected as an input to adder 88 by multiplexer 825, which also may select the output of multiplier 84. The output of adder 87 may be input to adder 88 directly or after registration in register 826, with the selection made by multiplexer 827. The output of adder 88 is output at 880 directly or after registration in register 828, with the selection made by multiplexer 829. The outputs of adders 86, 87 also are available as outputs at 860, 870 but not when DSP/MAC block 60 is used as a FIR filter. Other uses for DSP/MAC block 60 are described in above-incorporated U.S. Pat. No. 6,538,470.

As discussed above, each of D1–D8 data inputs 801808 can be fed directly to one of multipliers 8184 (through respective multiplexer 809) or to a respective one of registers 810 and thence to multiplier 8184 (through respective multiplexer 809). This generic structure is provided because DSP/MAC block 80 may have many uses. However, for the use described above in a FIR filter, it would be expected that a respective one of registers 810 would be used to store the filter coefficients on one input of each multiplier 8184—e.g., inputs 812, 822, 832 and 842. The coefficients could be entered from appropriate ones of D1–D8 inputs 801808, but also could be entered, as discussed above, using scan chain registers adjacent to appropriate ones of registers 810.

When DSP/MAC block 80 is configured as a Direct Form I FIR filter, single D1 data input 801 is input to multiplier 81 on input 811, and is also made available to inputs 821, 831, 841 by multiplexers 819, as discussed above. Multiplier 81 multiplies the D1 data on input 811 by the coefficient on input 812, and that product is added by adder 85 to a previous sum from another DSP/MAC block or to zero, as described above in connection with FIG. 7. The previous sum is entered on D3 data input 803, which is not needed for data input 821 to multiplier 82, because the four multipliers 8184 are sharing D1 data input 801. The output of adder 85 is registered in register 850.

Adder 86 adds the output of multiplier 82 (the product of the D1 data and the coefficient on input 822) to the registered sum in register 850, selected by multiplexer 820. That sum output of adder 86 is registered in register 823. Adder 87 adds the output of multiplier 83 (the product of the D1 data and the coefficient on input 832) to the registered sum in register 823, selected by multiplexer 824. That sum output of adder 87 is registered in register 826. Adder 88 adds the output of multiplier 84 (the product of the D1 data and the coefficient on input 842), selected by multiplexer 825, to the registered sum in register 826, selected by multiplexer 827. That sum output of adder 88 is registered in register 828, which is selected by multiplexer 829 as the output 880 of the Direct Form I FIR filter.

When DSP/MAC block 80 is configured as a Direct Form II FIR filter, the coefficients will have been registered in appropriate registers 810 associated with multiplier inputs 812, 822, 832, 842 as above. D1 data input 801 will be selected by associated multiplexer 809 for connection to multiplier 81 input 811. D3 data input 803 will be selected by associated multiplexer 809 for connection to multiplier 82 input 821. D5 data input 805 will be selected by associated multiplexer 809 for connection to multiplier 83 input 831. D7 data input 807 will be selected by associated multiplexer 809 for connection to multiplier 84 input 841.

Multiplier 81 multiplies the data on D1 input 801, selected by associated multiplexer 809 for input 811, by the coefficient on input 812. Multiplier 82 multiplies the data on D3 input 803, selected by associated multiplexer 809 for input 821, by the coefficient on input 822. Multiplier 83 multiplies the data on D5 input 805, selected by associated multiplexer 809 for input 831, by the coefficient on input 832. Multiplier 84 multiplies the data on D7 input 807, selected by associated multiplexer 809 for input 841, by the coefficient on input 842.

Adder 86 adds the output of multiplier 81, selected by multiplexer 820, to the output of multiplier 82. Adder 87 adds the output of multiplier 84, selected by multiplexer 824, to the output of multiplier 83. Adder 88 adds the output of adder 86, selected by multiplexer 825, to the output of adder 87, selected by multiplexer 827. The output of adder 88 is selected by multiplexer 829 for output directly to output 880 as the output of the Direct Form II FIR filter.

According to an optional modification (not shown) of block 80, each input register 810 can be configured to feed the next input register 810, rather than just its respective multiplier. In this way, registers 810 can function as the delay chain (cf. 501504 in FIG. 6) of the Direct Form II FIR filter, allowing the delay chain to be moved inside the block, conserving external logic and routing resources. This will require an additional multiplexer (not shown) at the input of each register 810, to select between (a) the respective D1–D8 input 801808 and (b) the previous register 810.

It should be noted that FIG. 9 does not show the scan chains discussed above. However, block 80 preferably does include those scan chains, which preferably are used as discussed above in the operation of block 80.

FIG. 10 illustrates a programmable logic device 10 of this invention in a data processing system 900. Data processing system 900 may include one or more of the following components: a processor 901; memory 902; I/O circuitry 903; and peripheral devices 904. These components are coupled together by a system bus 905 and are populated on a circuit board 906 which is contained in an end-user system 907.

System 900 can be used in a wide variety of applications, such as computer networking, data networking, instrumentation, video processing, digital signal processing, or any other application where the advantage of using programmable or reprogrammable logic is desirable. Programmable logic device 10 can be used to perform a variety of different logic functions. For example, programmable logic device 10 can be configured as a processor or controller that works in cooperation with processor 901. Programmable logic device 10 may also be used as an arbiter for arbitrating access to a shared resource in system 900. In yet another example, programmable logic device 10 can be configured as an interface between processor 901 and one of the other components in system 900. It should be noted that system 900 is only exemplary, and that the true scope and spirit of the invention should be indicated by the following claims.

Various technologies can be used to implement programmable logic devices 10 employing scan chains and/or DSP/MAC blocks according to this invention. Moreover, this invention is applicable to both one-time-only programmable and reprogrammable devices.

Thus it is seen that programmable logic devices with multiplier circuits, where those multiplier circuits are configured to reduce resource utilization, have been provided. One skilled in the art will appreciate that the present invention can be practice by other than the described embodiments, which are presented for purposes of illustration and not of limitation, and the present invention is limited only by the claims that follow.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US3473160Oct 10, 1966Oct 14, 1969Stanford Research InstElectronically controlled microelectronic cellular logic array
US4799004Jan 25, 1988Jan 17, 1989Kabushiki Kaisha ToshibaTransfer circuit for operation test of LSI systems
US4839847Apr 14, 1987Jun 13, 1989Harris Corp.N-clock, n-bit-serial multiplier
US4871930May 5, 1988Oct 3, 1989Altera CorporationProgrammable logic device with array blocks connected via programmable interconnect
US4912345Dec 29, 1988Mar 27, 1990Sgs-Thomson Microelectronics, Inc.Programmable summing functions for programmable logic devices
US4967160Jun 22, 1989Oct 30, 1990Thomson-CsfFrequency multiplier with programmable order of multiplication
US4982354May 31, 1988Jan 1, 1991Mitsubishi Denki Kabushiki KaishaDigital finite impulse response filter and method
US4994997Sep 16, 1988Feb 19, 1991U.S. Philips CorporationPipeline-type serial multiplier circuit
US5122685Mar 6, 1991Jun 16, 1992Quicklogic CorporationProgrammable application specific integrated circuit and logic cell therefor
US5128559Aug 8, 1991Jul 7, 1992Sgs-Thomson Microelectronics, Inc.Logic block for programmable logic devices
US5371422Mar 29, 1993Dec 6, 1994Altera CorporationProgrammable logic device having multiplexers and demultiplexers randomly connected to global conductors for interconnections between logic elements
US5381357May 28, 1993Jan 10, 1995Grumman CorporationComplex adaptive fir filter
US5483178Mar 4, 1994Jan 9, 1996Altera CorporationProgrammable logic device with logic block outputs coupled to adjacent logic block output multiplexers
US5563819Dec 21, 1994Oct 8, 1996Cirrus Logic, Inc.Fast high precision discrete-time analog finite impulse response filter
US5636150Apr 3, 1995Jun 3, 1997Sharp Kabushiki KaishaData driven type digital filter unit and data driven type information processor including the same
US5646545Aug 18, 1995Jul 8, 1997Xilinx, Inc.Time multiplexed programmable logic device
US5689195May 17, 1995Nov 18, 1997Altera CorporationProgrammable logic array integrated circuit devices
US5696708Mar 30, 1995Dec 9, 1997Crystal SemiconductorDigital filter with decimated frequency response
US5754459Feb 8, 1996May 19, 1998Xilinx, Inc.Multiplier circuit design for a programmable logic device
US5761483Aug 18, 1995Jun 2, 1998Xilinx, Inc.Optimizing and operating a time multiplexed programmable logic device
US5777912Mar 28, 1996Jul 7, 1998Crystal Semiconductor CorporationLinear phase finite impulse response filter with pre-addition
US5805477 *Sep 26, 1996Sep 8, 1998Hewlett-Packard CompanyArithmetic cell for field programmable devices
US5812562Nov 15, 1996Sep 22, 1998Samsung Electronics Company, Ltd.Low cost emulation scheme implemented via clock control using JTAG controller in a scan environment
US5825202Sep 26, 1996Oct 20, 1998Xilinx, Inc.Integrated circuit with field programmable and application specific logic areas
US5874834Mar 4, 1997Feb 23, 1999Xilinx, Inc.Field programmable gate array with distributed gate-array functionality
US5880981Aug 12, 1996Mar 9, 1999Hitachi America, Ltd.Method and apparatus for reducing the power consumption in a programmable digital signal processor
US5931898Feb 25, 1997Aug 3, 1999Lucent Technologies IncFinite impulse response filter
US5968196Apr 21, 1998Oct 19, 1999Atmel CorporationConfiguration control in a programmable logic device using non-volatile elements
US5982195 *Jun 11, 1997Nov 9, 1999Altera CorporationProgrammable logic device architectures
US5991898Mar 10, 1997Nov 23, 1999Mentor Graphics CorporationArithmetic built-in self test of multiple scan-based integrated circuits
US6014684 *Mar 24, 1997Jan 11, 2000Intel CorporationMethod and apparatus for performing N bit by 2*N-1 bit signed multiplication
US6064614May 13, 1999May 16, 2000Lucent TechnologiesFinite impulse response filter
US6066960May 21, 1998May 23, 2000Altera CorporationProgrammable logic device having combinational logic at inputs to logic elements within logic array blocks
US6069487Jun 9, 1998May 30, 2000Altera CorporationProgrammable logic device circuitry for improving multiplier speed and/or efficiency
US6091261Nov 12, 1998Jul 18, 2000Sun Microsystems, Inc.Apparatus and method for programmable delays using a boundary-scan chain
US6097988Feb 10, 1998Aug 1, 2000Advanced Micro Devices, Inc.Logic system and method employing multiple configurable logic blocks and capable of implementing a state machine using a minimum amount of configurable logic
US6107821Feb 8, 1999Aug 22, 2000Xilinx, Inc.On-chip logic analysis and method for using the same
US6130554Sep 17, 1997Oct 10, 2000Quicklogic CorporationProgrammable integrated circuit having a test circuit for testing the integrity of routing resource structures
US6154049 *Mar 27, 1998Nov 28, 2000Xilinx, Inc.Multiplier fabric for use in field programmable gate arrays
US6157210May 21, 1998Dec 5, 2000Altera CorporationProgrammable logic device with circuitry for observing programmable logic circuit signals and for preloading programmable logic circuits
US6163788Jun 25, 1998Dec 19, 2000Industrial Technology Research InstituteProgrammable finite impulse response processor with scalable dynamic data range
US6167415Feb 23, 1998Dec 26, 2000Lucent Technologies, Inc.Recursive digital filter with reset
US6175849Feb 10, 1998Jan 16, 2001Lucent Technologies, Inc.System for digital filtering in a fixed number of clock cycles
US6215326Mar 10, 1999Apr 10, 2001Altera CorporationProgrammable logic device architecture with super-regions having logic regions and a memory region
US6243729Dec 31, 1998Jun 5, 2001Texas Instruments IncorporatedDigital finite-impulse-response (FIR) filter with a modified architecture based on high order Radix-N numbering
US6246258Jun 21, 1999Jun 12, 2001Xilinx, Inc.Realizing analog-to-digital converter on a digital programmable integrated circuit
US6279021Jan 26, 1999Aug 21, 2001Sanyo Electric Co. Ltd.Digital filters
US6286024Sep 18, 1998Sep 4, 2001Kabushiki Kaisha ToshibaHigh-efficiency multiplier and multiplying method
US6314551Jun 22, 1998Nov 6, 2001Morgan Stanley & Co. IncorporatedSystem processing unit extended with programmable logic for plurality of functions
US6321246Sep 16, 1998Nov 20, 2001Cirrus Logic, Inc.Linear phase FIR sinc filter with multiplexing
US6323680Mar 2, 2000Nov 27, 2001Altera CorporationProgrammable logic device configured to accommodate multiplication
US6359468Mar 2, 2000Mar 19, 2002Altera CorporationProgrammable logic device with carry look-ahead
US6367003Aug 14, 2000Apr 2, 2002Micron Technology, Inc.Digital signal processor having enhanced utilization of multiply accumulate (MAC) stage and method
US6407576Mar 2, 2000Jun 18, 2002Altera CorporationInterconnection and input/output resources for programmable logic integrated circuit devices
US6407694Jun 14, 2000Jun 18, 2002Raytheon CompanyGeneral purpose filter
US6438570 *Jul 21, 1999Aug 20, 2002Xilinx, Inc.FPGA implemented bit-serial multiplier and infinite impulse response
US6480980Mar 10, 1999Nov 12, 2002Nec Electronics, Inc.Combinational test pattern generation method and apparatus
US6483343Dec 29, 2000Nov 19, 2002Quicklogic CorporationConfigurable computational unit embedded in a programmable device
US6538470Sep 18, 2001Mar 25, 2003Altera CorporationDevices and methods with programmable logic and digital signal processing regions
US6542000Jul 28, 2000Apr 1, 2003Iowa State University Research Foundation, Inc.Nonvolatile programmable logic devices
US6574762Mar 31, 2000Jun 3, 2003Lsi Logic CorporationUse of a scan chain for configuration of BIST unit operation
US6591283Aug 31, 1999Jul 8, 2003Stmicroelectronics N.V.Efficient interpolator for high speed timing recovery
US6600788Sep 10, 1999Jul 29, 2003Xilinx, Inc.Narrow-band filter including sigma-delta modulator implemented in a programmable logic device
US6628140Aug 7, 2001Sep 30, 2003Altera CorporationProgrammable logic devices with function-specific blocks
US6700581Mar 1, 2002Mar 2, 20043D Labs Inc., Ltd.In-circuit test using scan chains
US6728901Mar 25, 1999Apr 27, 2004Janusz RajskiArithmetic built-in self-test of multiple scan-based integrated circuits
US6745254Dec 8, 2000Jun 1, 2004Siemens Energy & Automation, Inc.Programmable logic controller method, system and apparatus
US6904471Dec 8, 2000Jun 7, 2005Siemens Energy & Automation, Inc.Programmable logic controller customized function call method, system and apparatus
US20020089348Oct 2, 2001Jul 11, 2002Martin LanghammerProgrammable logic integrated circuit devices including dedicated processor components
US20040064770Sep 30, 2002Apr 1, 2004Xin Weizhuang (Wayne)Programmable state machine of an integrated circuit
US20040083412Oct 25, 2002Apr 29, 2004International Business Machines CorporationTesting logic and embedded memory in parallel
US20040193981Mar 31, 2003Sep 30, 2004Iain ClarkOn-chip scan clock generator for asic testing
US20050144215 *Dec 21, 2004Jun 30, 2005Xilinx, Inc.Applications of cascading DSP slices
EP0461798A2Jun 4, 1991Dec 18, 1991Advanced Micro Devices, Inc.Configurable interconnect structure
EP0555092A1Feb 5, 1993Aug 11, 1993Questech LimitedImprovements in and relating to digital filters
EP0909028A2Sep 15, 1998Apr 14, 1999Tektronix, Inc.Fir filter for programmable decimation
EP0927393A1Aug 22, 1997Jul 7, 1999ARM LimitedDigital signal processing integrated circuit architecture
EP1220108A2Oct 25, 2001Jul 3, 2002Cypress Semiconductor CorporationProgrammable circuit
JPH07135447A Title not available
WO1997008606A1Aug 7, 1996Mar 6, 1997Motorola IncMethod and system for performing an fir filtering operation
WO2000052824A1Mar 2, 2000Sep 8, 2000Altera CorpProgrammable logic device with carry-select addition
WO2001013562A2Aug 1, 2000Feb 22, 2001Comsat CorpA high speed burst-mode digital demodulator architecture
Non-Patent Citations
Reference
1Altera Corporation, "Implementing Logic with the Embedded Array in FLEX 10K Devices", May 2001, ver. 2.1.
2Altera Corporation, "Implementing Multipliers in FLEX 10K EABs", Mar. 1996.
3Berg. B.L., et al. "Designing Power and Area Efficient Multistage FIR Decimators with Economical Low Order Filters," ChipCenter Technical Note, Dec. 2001.
4Gaffar, A.A., et al., "Floating-Point Bitwidth Analysis via Automatic Differentiation," IEEE Conference on Field Programmable Technology, Hong Kong, Dec. 2002.
5Haynes, S.D., et al., "Flexible Reconfigurable Multiplier Blocks Suitable for Enhancing the Architecture of FPGAs," IEEE 1999 Custom Integrated Circuits Conference, May 19, 1999, pp. 191-94.
6Huang, J., et al., "Simulated Performance of 1000BASE-T Receiver with Different Analog Front End Designs," Proceedings of the 35th Asilomar Conference on Signals, Systems, and Computers, Nov. 4-7, 2001.
7Lattice Semiconductor Corp, ORCA(R) FPGA Express(TM) Interface Manual: IsolEVER(R) Version 3.0, 2002, no month.
8Lucent Technologies, Microelectronics Group, "Implementing and Optimizing Multipliers in ORCA(TM) FPGAs,", Application Note AP97-008FGPA, Feb. 1997.
9QuickLogic Corporation, "QuickDSPTM Family Data Sheet", revision B, no date.
10QuickLogic Corporation, "The QuickDSP Design Guide", Revision B, Aug. 2001.
11Tralka, C., "Embedded digital signal processor (DSP) modules in programmable logic devices (PLDs)," Elektronik, vol. 49, No. 14, Jul. 11, 2000, pp. 84-96.
12Valls, J., et al., "A Study About FPGA-Based Digital Filters," Signal Processing Systems, 1998, SIPS 98, 1998 IEEE Workshop, Oct. 10, 1998, pp. 192-201.
13Walters, A.L., "A Scaleable FIR Filter Implementation Using 32-bit Floating-Point Complex Arithmetic on,a FPGA Based Custom Computing Platform," Allison L. Walters, Thesis Submitted to the Faculty of Virginia Polytechnic Institute and State University, Jan. 30, 1998.
14Xiilnx, Inc., "A 1D Systolic FIR," copyright 1994-2002, downloaded from http://www.iro.umontreal.ca/~aboulham/F6221/Xilinx%20A%201D%20systolic%20FIR.htm, no month.
15Xilinx, Inc., "The Future of FPGA's," White Paper, available Nov. 14, 2005 for download from http://www.xilinx.com/prs<SUB>-</SUB>rls.5yrwhite.htm.
16Xilinx, Inc., "Virtex-II 1.5V Field-Programmable Gate Arrays," module 1 of 4, Apr. 2, 2001.
17Xilinx, Inc., "Virtex-II 1.5V Field-Programmable Gate Arrays," module 2 of 4, Apr. 2, 2001.
18Xilinx, Inc., "Virtex-II 1.5V Field-Programmable Gate Arrays," module 2 of 4, Jan. 25, 2001.
19Xilinx, Inc., "Xilinx Announces DSP Algorithms, Tools and Features for sVirtex-II Architecture", Nov. 21, 2000.
20Xilinx, Inc., "Xilinx Unveils New FPGA Architecture to Enable High-Performance, 10 Million System Gate Designs," Jun. 22, 2000.
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US8073150 *Apr 28, 2009Dec 6, 2011Bose CorporationDynamically configurable ANR signal processing topology
US8073151Apr 28, 2009Dec 6, 2011Bose CorporationDynamically configurable ANR filter block topology
US8090114Mar 31, 2010Jan 3, 2012Bose CorporationConvertible filter
US8165313Apr 28, 2009Apr 24, 2012Bose CorporationANR settings triple-buffering
US8184822Apr 28, 2009May 22, 2012Bose CorporationANR signal processing topology
US8239442 *Aug 8, 2008Aug 7, 2012Analog Devices, Inc.Computing module for efficient FFT and FIR hardware accelerator
US8271571 *Sep 10, 2008Sep 18, 2012Renesas Electronics CorporationMicroprocessor
US8355513Dec 14, 2011Jan 15, 2013Burge Benjamin DConvertible filter
US20090077154 *Sep 10, 2008Mar 19, 2009Nec Electronics CorporationMicroprocessor
US20100036898 *Aug 8, 2008Feb 11, 2010Analog Devices, Inc.Computing module for efficient fft and fir hardware accelerator
Classifications
U.S. Classification708/501, 708/603
International ClassificationG06F7/52, H03H17/06, G06F7/00, H01L21/82, H03K19/177, G06F7/38
Cooperative ClassificationH03K19/17728, H03K19/17744, G06F2207/3816, G06F7/523, H03K19/17732
European ClassificationG06F7/523, H03K19/177F4, H03K19/177D2, H03K19/177D4
Legal Events
DateCodeEventDescription
Oct 25, 2010FPAYFee payment
Year of fee payment: 4