This invention relates to a programmable integrated circuit device, and particularly to using specialized processing blocks and memory as processing elements in a programmable integrated circuit device.
Considering a programmable logic device (PLD) as one example of a programmable integrated circuit device, as applications for which PLDs are used increase in complexity, it has become more common to design PLDs to include specialized processing blocks in addition to blocks of generic programmable logic resources. Such specialized processing blocks may include a concentration of circuitry on a PLD that has been partly or fully hardwired to perform one or more specific tasks, such as a logical or a mathematical operation. A specialized processing block may also contain one or more specialized structures, such as an array of configurable memory elements. Examples of structures that are commonly implemented in such specialized processing blocks include: multipliers, arithmetic logic units (ALUs), barrel-shifters, various memory elements (such as FIFO/LIFO/SIPO/RAM/ROM/CAM blocks and register files), AND/NAND/OR/NOR arrays, etc., or combinations thereof.
One particularly useful type of specialized processing block that has been provided on PLDs is a digital signal processing (DSP) block, which may be used to process, e.g., audio signals (such as by Finite Impulse Response (FIR) filtering). Such blocks are also frequently referred to as multiply-accumulate (“MAC”) blocks, because they include structures to perform multiplication operations, and sums and/or accumulations of multiplication results.
For example, PLDs sold by Altera Corporation, of San Jose, Calif., as part of the STRATIX®, ARRIA®, CYCLONE® and HARDCOPY® families include DSP blocks, each of which includes one or more multipliers. Each of those DSP blocks also includes one or more adders and registers, as well as programmable connectors (e.g., multiplexers) that allow the various components of the block to be configured in different ways. In addition, those DSP blocks can be configured for operation at different precisions.
Another type of specialized function that could be performed on a programmable integrated circuit device is that of a processor (e.g., a microprocessor).
One known possibility is to configure a processor from general-purpose programmable logic of a programmable integrated circuit device. The configuration of general-purpose programmable logic into a processor may be aided by the availability, from the programmable integrated circuit device manufacturer, or from others, of a “soft processor”—i.e., prerecorded configuration instructions for an efficient configuration of a processor on the programmable integrated circuit device. For example, the aforementioned Altera Corporation provides its customers with a soft processor “core” under the trademark NIOS® II.
Another known possibility is to provide dedicated processor circuitry on a portion of a programmable integrated circuit device. For example, the aforementioned Altera Corporation provides devices that may include dedicated ARM® processors from ARM Ltd., of Cambridge, England.
Both of these approaches may have drawbacks. For example, the soft processor approach consumes a substantial amount of the general-purpose logic resources of a device to instantiate the processor, leaving fewer resources for other user functions without moving to a larger device. On the other hand, while the dedicated processor approach consumes less device area than the soft processor approach, thereby leaving more general-purpose logic resources available on a device of a given size, the dedicated processor still consumes device area that a user, who does not need a processor, might prefer to see used for general-purpose logic resources.
In accordance with embodiments of the present invention, a small amount of additional circuitry may be added to a programmable integrated circuit device to allow specialized processing blocks such as the aforementioned DSP blocks to be combined with other specialized processing blocks such as the aforementioned memory blocks to form small processing elements. This approach consumes a minimum of device area while, for some user designs, avoiding the need to use a large amount of general-purpose logic resources for processor functions, and also avoiding the provision on the device of a dedicated processor that may not be used.
In embodiments of the invention, a programmable integrated circuit device, such as an FPGA, may include memory blocks (e.g., RAM blocks) and DSP blocks. In accordance with embodiments of the invention, programmable direct connections may be provided between the RAM blocks and the DSP blocks, which allows the RAM blocks and DSP blocks to function together as processing elements. If a user design does not call for processing elements, the direct connections would not be turned on, and the RAM blocks and DSP blocks could be used for their “traditional” uses as independent memories and arithmetic operators.
These embodiments offer several benefits. DSP blocks offer a highly area-efficient way of providing certain mathematical functions, and are commonly used in digital signal processing applications and other mathematics-intensive applications. However, for other applications, DSP blocks may be less useful. Embodiments of the present invention allow use of the DSP blocks for more general-purpose computational needs. Indeed, with some additional hardware such as a register file, a combination of memory blocks and DSP blocks might be used as a simple processor to execute a small program. Moreover, the dedicated links between the memory blocks and the DSP blocks may allow both to operate at speeds higher than would be otherwise possible if general purpose routing were used. Finally, embodiments of the present invention may allow certain types of components to be instantiated on a programmable integrated circuit device using a higher-level programming language rather than a hardware description language.
Therefore, in accordance with embodiments of the present invention there is provided a programmable integrated circuit device having a plurality of clusters of programmable logic resources, and programmable device interconnect resources allowing user-defined interconnection between the clusters of programmable logic resources. There also are a plurality of specialized processing blocks having dedicated arithmetic operators and programmable internal interconnect resources, and having inputs and outputs programmably connectable to the programmable device interconnect resources. A plurality of dedicated memory modules have inputs and outputs programmably connectable to the programmable device interconnect resources. There is a programmably connectable direct interconnect between at least one respective individual one of the specialized processing blocks and at least one respective individual one of the dedicated memory modules.
A method of configuring a processor element from a specialized processing block and a memory module of such a device also is provided. A specialized processing block designed to support the configuring of a processor element is provided as well.
Further features of the invention, its nature and various advantages 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:
The logic fabric of known programmable integrated circuit devices, such as FPGAs, may include look-up tables (LUTs) and flip-flops (FFs) organized into clusters, arithmetic operators organized into DSP blocks, and embedded memories (e.g., RAMs). This known architecture offers a high degree of programmability. However, this architecture may suffer from a speed penalty, in that it is difficult to implement logic designs on such devices that are able to achieve speeds above 300 MHz. However, the embedded memories and DSP blocks can operate at much higher speeds—even in excess of 600 MHz. The pairing of memory blocks and DSP blocks into processing elements in accordance with this invention allows those processing elements to operate to perform computations at the higher rates that can be achieved by memory blocks and DSP blocks, even though the remainder of the device may operate at a slower rate.
In accordance with embodiments of the invention, memory blocks and DSP blocks may be interconnected by dedicated connections, along with some additional processing circuitry. The dedicated—although programmably connectable (because they will not always be used)—connections also may operate at higher speeds than the general-purpose routing of the programmable device, and therefore may further enhance the speed of the resulting processing element by helping to realize the potential presented by the higher operating speeds of the memory blocks and DSP blocks. Moreover, in the resulting processing element, memory is “local” to the computational elements that need it.
In addition, while programmable integrated circuit devices such as FPGAs traditionally have been programmed using hardware description languages (e.g., VHDL or Verilog), devices in accordance with embodiments of the invention may be more amenable to alternative programming styles, such as high-level-language programming. For example, SystemC, MATLAB and OpenCL, among others, view the hardware as being memories, registers, operators, and datapaths, and so could work well configuring processing elements according to the present invention, after the remainder of the device has been configured using a hardware description language.
As is common in many known programmable integrated circuit devices, such as FPGAs, each memory block 102 may be a dual-ported RAM structure. Similarly, each DSP block 103 may take a number of inputs and produce a number of outputs. The memory blocks 102 and DSP blocks 103 may be configurable in a variety of ways to suit differing design needs. For example, a memory blocks 102 may offer a number of different width and depth options, and a DSP block 103 may offer a number of differing widths and internal functionality.
In accordance with embodiments of the present invention, programmable integrated circuit device architecture 100 is modified by adding the additional capability of pairing memory blocks 102 and DSP blocks 103 into processing elements.
Although DSP block 203 may be a conventional DSP block, in accordance with embodiments of the present invention, DSP block 203 may be organized as a datapath 213 connected to N operators 223 (OP0 . . . OPN). This arrangement allows DSP block 203 to support traditional DSP functions, as well as processor-type functions where the DSP operators 223 act in a sequence of operation. In addition, a set of M registers 233 (REG0 . . . REGM, where M may or may not be equal to N) may be added to DSP block 203, and also may be connected to datapath 213.
A decoder 204 may be provided to decode program instructions for execution by processing element 200, connected to DSP block 203 via links 211, 221. Those instructions may be stored in memory unit 232. Alternatively, optional microcode storage 205 may be provided, connected to datapath 213 by dedicated link 231. Even where microcode storage 205 is provided, its capacity would be limited compared to that of memory unit 232, and therefore microcode storage 205 typically would be used in cases where the number of instructions is limited (e.g., cases where there are only tens of instructions or fewer). However, when microcode storage 205 can be used, its tighter integration with decoder 204 could speed up execution.
Although decoder 204 and microcode storage 205 are shown as being part of memory block 202, that is not necessary. Decoder 204 and microcode storage 205 could just as easily be included in DSP block 203, or outside, but near, both memory block 202 and DSP block 203, although the connections to other components would be substantially the same as shown in
Similarly, although memory block 202 and DSP block 203 are shown in a horizontal relationship, it is not necessary that they be located on the same row in their respective columns on the programmable integrated circuit device. However, in order to avoid timing/latency issues, they should be close to one another—e.g., no more than two rows apart. Indeed, because links 201, 211, 221, 231 are programmable even though dedicated, a particular memory block 202 could have programmable dedicated links 201, 211, 221, 231 to more than one nearby DSP block 203, and vice-versa, subject to the foregoing restriction.
The arrangement shown in
Thus it is seen that a programmable device structure that is particularly well-suited for the instantiation of processing elements has been provided.
A PLD 140 incorporating specialized processing blocks according to embodiments of the present invention may be used in many kinds of electronic devices. One possible use is in an exemplary data processing system 1400 shown in
System 1400 can be used in a wide variety of applications, such as computer networking, data networking, instrumentation, video processing, digital signal processing, Remote Radio Head (RRH), or any other application where the advantage of using programmable or reprogrammable logic is desirable. PLD 140 can be used to perform a variety of different logic functions. For example, PLD 140 can be configured as a processor or controller that works in cooperation with processor 1401. PLD 140 may also be used as an arbiter for arbitrating access to a shared resources in system 1400. In yet another example, PLD 140 can be configured as an interface between processor 1401 and one of the other components in system 1400. It should be noted that system 1400 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 PLDs 140 as described above and incorporating this invention.
It will be understood that the foregoing is only illustrative of the principles of the invention, and that various modifications can be made by those skilled in the art without departing from the scope and spirit of the invention. For example, the various elements of this invention can be provided on a PLD in any desired number and/or arrangement. One skilled in the art will appreciate that the present invention can be practiced 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.
Number | Name | Date | Kind |
---|---|---|---|
3473160 | Wahlstrom | Oct 1969 | A |
4871930 | Wong et al. | Oct 1989 | A |
5122685 | Chan et al. | Jun 1992 | A |
5128559 | Steele | Jul 1992 | A |
5371422 | Patel et al. | Dec 1994 | A |
5483178 | Costello et al. | Jan 1996 | A |
5581696 | Kolawa et al. | Dec 1996 | A |
5689195 | Cliff et al. | Nov 1997 | A |
5724583 | Carmon et al. | Mar 1998 | A |
5754459 | Telikepalli | May 1998 | A |
5825202 | Tavana et al. | Oct 1998 | A |
5874834 | New | Feb 1999 | A |
5970254 | Cooke et al. | Oct 1999 | A |
6052773 | DeHon et al. | Apr 2000 | A |
6069487 | Lane et al. | May 2000 | A |
6075935 | Ussery et al. | Jun 2000 | A |
6091262 | New | Jul 2000 | A |
6094065 | Tavana et al. | Jul 2000 | A |
6211697 | Lien et al. | Apr 2001 | B1 |
6215326 | Jefferson et al. | Apr 2001 | B1 |
6346824 | New | Feb 2002 | B1 |
6407576 | Ngai et al. | Jun 2002 | B1 |
6457116 | Mirsky et al. | Sep 2002 | B1 |
6467009 | Winegarden et al. | Oct 2002 | B1 |
6519753 | Ang et al. | Feb 2003 | B1 |
6538470 | Langhammer et al. | Mar 2003 | B1 |
6556044 | Langhammer et al. | Apr 2003 | B2 |
6573749 | New et al. | Jun 2003 | B2 |
6578133 | Hyduke | Jun 2003 | B1 |
6588008 | Heddes et al. | Jul 2003 | B1 |
6628140 | Langhammer et al. | Sep 2003 | B2 |
6745369 | May et al. | Jun 2004 | B1 |
6803785 | May et al. | Oct 2004 | B1 |
7315918 | Yin | Jan 2008 | B1 |
7859302 | Balasubramanian | Dec 2010 | B2 |
8539011 | Taylor | Sep 2013 | B1 |
8930787 | Jones | Jan 2015 | B1 |
9218156 | Bates | Dec 2015 | B2 |
20050040850 | Schultz et al. | Feb 2005 | A1 |
20050257030 | Langhammer | Nov 2005 | A1 |
20110006805 | Vorbach | Jan 2011 | A1 |
20110145547 | Vorbach | Jun 2011 | A1 |
Number | Date | Country |
---|---|---|
0 419 105 | Mar 1991 | EP |
0 461 798 | Dec 1991 | EP |
0 801 351 | Oct 1997 | EP |
2523095 | Nov 2012 | EP |
2 283 602 | May 1995 | GB |
02-115957 | Apr 1990 | JP |
2-157957 | Jun 1990 | JP |
7-175784 | Jul 1995 | JP |
8-250685 | Sep 1996 | JP |
10-049510 | Feb 1998 | JP |
11-040522 | Feb 1999 | JP |
WO 9634346 | Oct 1996 | WO |
WO 9838741 | Sep 1998 | WO |
WO 9940552 | Aug 1999 | WO |
WO 0031652 | Jun 2000 | WO |
WO 0233504 | Apr 2002 | WO |
Entry |
---|
Case et al., “Design Methodologies for Core-Based FPGA Designs”, Apr. 9, 1997, pp. 1-12. |
“Computer Architecture—A Quantative Approach”, Hennessy and Patterson, 1966, pp. 75 and 82. |
“Excalibur Backgrounder”, Altera, Jun. 2000, ver. 1, pp. 1-10. |
“Implementing Logic with the Embedded Array in FLEX 10K Devices”, Altera, May 2001, ver. 2.1, pp. 1-20. |
“Implementing Multipliers in FLEX 10K EABs”, Technical Briefs, Altera, Mar. 1996, pp. 1-2. |
“Microsoft Computer Dictionary”, Microsoft 1999, pp. 139 and 290. |
Niedermeier, B., “Embedded-Processor Solutions for PLDs, Convergence of Programmable Technologies”, Elektronick, Sep. 19, 2000, pp. 1-6. |
“Processors drive (or dive) into programmable-logic devices”, EDN-Electrical Design News, Cahners Publishing Co., Jul. 20, 2000, vol. 45, No. 15, pp. 107-108, 110, 112 and 114. |
“QuickDSPTM Family Data Sheet”, Quicklogic, Aug. 7, 2001, revision B, pp. 1-19. |
Razdan et al., “A High-Performance Microarchitecture with Hardware-Programmable Functional Units”, 1994, pp. 172-180. |
“The QuickDSP Design Guide”, Quicklogic, Aug. 2001, revision B, pp. 1-38. |
“Virtex-II 1.5V Field-Programmable Gate Arrays”, Xilinx, Apr. 2, 2001, module 1 of 4, pp. 1-7. |
“Virtex-II 1.5V Field-Programmable Gate Arrays”, Xilinx, Apr. 2, 2001, module 2 of 4, pp. 1-36. |
“Virtex-II 1.5V Field-Programmable Gate Arrays”, Xilinx, Jan. 25, 2001, module 2 of 4, pp. 1-50. |
Wittig et al., “OneChip: An FPGA Processor with Reconfigurable Logic”, IEEE, 1996, pp. 126-135. |
“Xilinx Announces DSP Algorithms, Tools and Features for Virtex-II Architecture”, Xilinx, Jun. 27, 2001, pp. 1-7. |
“Xilinx Unveils New FPGA Architecture to Enable High-Performance, 10 Million System Gate Designs”, Xilinx, Jun. 22, 2000, 11 pages. |
Xilinx, “The Programmable Logic Data Book”, Apr. 1998, pp. 4:5 and 4:18-21. |