Field Programmable Gate Arrays (FPGAs) include programmable circuits. These programmable circuits are constructed with programmable look up tables (LUTs) and Registers (or Flip-Flops) to implement logic as shown in
A plurality of logic elements are combined by FPGA tools to generate larger logic functions. When larger logic functions are implemented, unused logic within BLEs add to inefficiency of Silicon utilization and extra cost to end users. When larger logic functions are implemented, wires are used to connect the logical components. Wire congestion leads to sparse utilization of available logic, further adding to inefficiency in Silicon utilization. A logic function frequently required by the users is shift-registers within the FPGA fabric.
In a shift register, shown in
For example, in the four bit shift register in
In prior-art FPGAs, shift registers are implemented by connecting a plurality of FFs provided in the logic elements as shown in
A shift register is disclosed having a latch within a basic logic element (BLE); and a programmable interconnect coupled to the latch and adapted to transmit the latch output to another logic element in the BLE.
Implementations of the shift register may include one or more of the following. The BLE comprises one or more programmable logic elements. The BLE comprises one or more nonprogrammable logic elements. Some logic elements and interconnects may be configured by a configuration circuit. The logic elements include a LUT logic element, a MUX logic element or a second latch. The interconnect can include a buffer and/or a multiplexer. The interconnect connects a plurality of latches without going outside of the BLE. The interconnect connects a plurality of latches in the BLE without using any BLE output pins. The interconnect can couple a plurality of BLE's in a carry chain. One or more BLE's can form a configurable logic block (CLB). The interconnect can couple a plurality of CLB's in a carry chain. BLE's and CLB's are used to form an n-bit shift register. The latches can be positioned adjacent each other. The latches can also be vertically adjacent each other. Software tools may construct shift register utilizing latches within BLE's during automated design.
Such adjacency of the latches enable higher performance as the interconnect length is minimized. Hence, a high performance shift register can be implemented. Local programmable interconnect use minimize global congestion related to logic placement in CAD.
A latch is disclosed comprising cross coupled logic elements within programmable logic. A first and second logic elements receive a data input and a clock input; the output of first LE is coupled to the second LE and the output of second LE is coupled to first LE to form the cross-coupling. The first and second LE's are configured to generate a latch function.
Implementations of the latch may include one or more of the following. The BLE comprises one or more programmable logic elements. The logic elements include transistors, capacitors, resistors, diodes and other electronic elements. Logic elements and interconnects may be configured by a configuration circuit. Configuration circuits include random-access memory or read-only memory elements. The logic elements include LUT logic, MUX logic, ALU, P-term logic, NAND/NOR logic or other latches. Coupling uses interconnect. The interconnect can include a buffer and/or a multiplexer. Interconnect is used to form a latch. The interconnect connects a plurality of latches to form a shift register. One or more interconnects is local to BLE's without going outside of the BLE. A portion of the interconnect connects a plurality of latches in the BLE without using any BLE output pins. The interconnect can couple a plurality of BLE's in a carry chain. One or more BLE's can form a configurable logic block (CLB). The interconnect can couple a plurality of CLB's in a carry chain. BLE's and CLB's are used to form an n-bit shift register. A LUT based latch is termed a LUT latch. The LUT latches can be positioned adjacent each other. The LUT latches can also be vertically adjacent each other. LUT latches are adjacent to regular latches. LUT latches are combined to form shift registers. LUT latches are combined with regular latches to form shift registers. LUT latches are combined with flip-flops to form shift registers. Software tools may construct shift register utilizing latches within BLE's during automated design. Software tools may position LUT latches and regular latches to achieve a high silicon utilization of logic blocks.
Embodiments of the current invention enhance the density of shift-registers in a programmable logic fabric. A first aspect is to conFIGure a LUT logic element (or any other logic element) as a latch, or a register, by providing feed-back capability within LUT logic to minimize external/global interconnect usage. A second aspect is the ability to use LUT logic independently as latches, and further access Flip-Flops for additional usage. Another aspect of it is to support the distributed nature of logic such that the user may position latches and shift-registers at any location within the programmable fabric. A third aspect is to combine a plurality of LUT latches to construct pipe-line stages or shift-register stages, without affecting the use of available Flip-Flops in the fabric. A fourth aspect is to combine LUT latches with Flip-Flops to double available register density over prior-art. Thus LUTs and Flip-Flops can be wired as shift registers or pipe-lined stages. A fifth aspect is to provide taps (probe nodes) at any output stage within the shift-register for observe-ability. A sixth aspect is providing recognition for a soft-ware tool to efficiently implement shift registers in an FPGA fabric as LUT latches, or combined LUT latches and Flip-Flops. A seventh aspect is to provide a BLE wherein a latch output can couple back to a LUT to enter a carry-logic path of the BLE. An eighth aspect is to construct a BLE such that a latch output can use the LUT as a feed-thru to couple to the next latch to avoid use of global wires. One or more of these advantages allows the user to use software tools to implement denser logic in a programmable logic fabric to achieve significant utilization efficiency, realizing lower cost per function for cost, power, reliability and performance benefits.
Reference will now be made in detail to the preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the preferred embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be obvious to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
When C=0, any change to D is transparent to the two LUT logic functions. When C=1, the state of D is set at the output of 1st LUT 311, and state of /D (or the logical invert of D) is set at the output of second LUT 322. The data state is now set in the LUT latch. When C=0, the feed-backs maintain the stored data states allowing input D to take in the next data state. Clearly, the data state D must be valid within a set-up and hold time durations relative to the clock transition from high to low. Other forms of logic states can be created with opposite clock polarity if needed (i.e. /C). In a preferred embodiment of the latch shown in
In the programmable latch of
In
In
The system of
First, when C=0, the following is seen:
In the two stage SR of
Turning now to the control signals for the latch 730, a MUX 736 receives a global enable signal E and a local enable signal e and the output of the MUX 736 is provided to the enable control of the latch 730. Similarly, a MUX 732 receives a global clock signal C and a local clock signal c and the output of the MUX 732 drives the clock input of the latch 730. Additionally, a MUX 734 receives a global reset signal R and a local reset signal r and the output of the MUX 734 is provided to the reset control of the latch 730. The output of the latch 730 is a logic function which in this embodiment is an AND of the local signals e, c and r and the inputs B0-B7. The local signals may be generated by other logic blocks such as LUT 724.
An exemplary Verilog code for an 8-bit shift register using dedicated interconnects is shown below:
The latch may be an SRAM cell, or include one or more SRAM cells. One or more transistors of the latch may comprise thin film transistors constructed in a semiconductor thin film layer located substantially above logic transistors. The TFT transistors are buried above the logic gates of an Integrated Circuit to consume no extra Silicon real estate, as discussed in commonly owned U.S. patent applications 20040207100 and 20060146596, the contents of which are incorporated by reference. One or more transistors of the latch may be constructed in Silicon substrate layer adjacent to logic gates of an Integrated Circuit. One or more programmable inputs or outputs of the latch may be configured by TFT transistors and TFT memory devices located substantially above or below latch transistors.
In certain embodiments, the latch implementing logic functions can work with antifuses. The antifuse is suitable for virtually any integrated circuit where a fuse or antifuse is desirable to store permanent data. For example, the antifuse can be used as part of a generic integrated memory address circuit to select redundant rows or columns within a ROM, EEROM, PROM, flash RAM, or DRAM. In many embodiments, the integrated circuit is part of a larger system, such as computer system or more generally a computerized system including a microprocessor or digital signal processor coupled to the memory circuit. In addition to the antifuses, memory address circuit includes a set of address transistors, a set of redundant address transistors, and conventional laser fuses. Address transistors are conventionally used to address rows or columns in the memory array. Each row or column includes one or more memory cells. One or more of the above antifuses and one or more of laser fuses can be selectively programmed to replace one or more of memory rows or columns with redundant memory row or column. In some embodiments, one or more of the antifuses are programmed and one or more others remain unprogrammed, and in some embodiments all the antifuses are either programmed or unprogrammed.
The LUT can be circuits as disclosed in commonly owned U.S. patent applications 20070171105 and 20070035329, the contents of which are incorporated by reference. The LUT makes use of additional programmable elements inside the large LUT structure, enabling sub-division of LUTs. A complex design can be fitted as a single larger logic LUT or as many smaller logic LUT pieces: both maximizing the Silicon utilization. In the reference, a 2LUT divisible 4LUT macro-cell (shown in
The latch can be used in a generic field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). In both cases the logic content mapped to LUTs is further enhanced by creating larger logic functions including extra inputs and the latch. Thus less Si (hence cheaper) and faster logic computations are achieved by the disclosed latch logic mapping. Although an illustrative embodiment of the present invention, and various modifications thereof, have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to this precise embodiment and the described modifications, and that various changes and further modifications may be effected therein by one skilled in the art without departing from the scope or spirit of the invention as defined in the appended claims.
This application is a continuation in part of application of Ser. No. 11/964084 filed Dec. 26, 2007 and entitled “USING PROGRAMMABLE LATCH TO IMPLEMENT LOGIC”, the content of which is incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4609986 | Hartmann et al. | Sep 1986 | A |
4706216 | Carter | Nov 1987 | A |
4761768 | Turner et al. | Aug 1988 | A |
4864161 | Norman et al. | Sep 1989 | A |
4870302 | Freeman | Sep 1989 | A |
4873459 | El Gamal et al. | Oct 1989 | A |
5164612 | Kaplinsky | Nov 1992 | A |
5191241 | McCollum et al. | Mar 1993 | A |
5216636 | Runaldue | Jun 1993 | A |
5343406 | Freeman et al. | Aug 1994 | A |
5347519 | Cooke et al. | Sep 1994 | A |
5488316 | Freeman et al. | Jan 1996 | A |
5563526 | Hastings et al. | Oct 1996 | A |
5581501 | Sansbury et al. | Dec 1996 | A |
5612631 | Agrawal et al. | Mar 1997 | A |
5625221 | Kim et al. | Apr 1997 | A |
5679967 | Janai et al. | Oct 1997 | A |
5684744 | Orgill et al. | Nov 1997 | A |
5701233 | Carson et al. | Dec 1997 | A |
5781031 | Bertin | Jul 1998 | A |
5793115 | Zavracky et al. | Aug 1998 | A |
5835405 | Tsui et al. | Nov 1998 | A |
5844422 | Trimberger et al. | Dec 1998 | A |
5880598 | Duong | Mar 1999 | A |
5943574 | Tehrani et al. | Aug 1999 | A |
5949710 | Pass et al. | Sep 1999 | A |
5949719 | Clinton et al. | Sep 1999 | A |
6005806 | Madurawe et al. | Dec 1999 | A |
6018476 | Madurawe et al. | Jan 2000 | A |
6097211 | Couts-Martin et al. | Aug 2000 | A |
6134171 | Yamagata et al. | Oct 2000 | A |
6134173 | Cliff et al. | Oct 2000 | A |
6191614 | Schultz et al. | Feb 2001 | B1 |
6242767 | How et al. | Jun 2001 | B1 |
6259271 | Couts-Martin et al. | Jul 2001 | B1 |
6262596 | Schultz et al. | Jul 2001 | B1 |
6275064 | Agrawal et al. | Aug 2001 | B1 |
6275065 | Mendel | Aug 2001 | B1 |
6331784 | Mason et al. | Dec 2001 | B1 |
6331789 | Or-Bach | Dec 2001 | B2 |
6337579 | Mochida | Jan 2002 | B1 |
6340830 | Takemura | Jan 2002 | B1 |
6353562 | Bohm et al. | Mar 2002 | B2 |
6420925 | Fifield et al. | Jul 2002 | B1 |
6426649 | Fu et al. | Jul 2002 | B1 |
6448808 | Young et al. | Sep 2002 | B2 |
6480027 | Ngai et al. | Nov 2002 | B1 |
6496887 | Plants | Dec 2002 | B1 |
6504742 | Tran et al. | Jan 2003 | B1 |
6515511 | Sugibayashi et al. | Feb 2003 | B2 |
6525953 | Johnson | Feb 2003 | B1 |
6551857 | Leedy | Apr 2003 | B2 |
6582980 | Feldman et al. | Jun 2003 | B2 |
6613611 | How et al. | Sep 2003 | B1 |
6614259 | Couts-Martin et al. | Sep 2003 | B2 |
6627985 | Huppenthal et al. | Sep 2003 | B2 |
6737675 | Patel et al. | May 2004 | B2 |
6738962 | Flaherty et al. | May 2004 | B1 |
6798240 | Pedersen | Sep 2004 | B1 |
6812731 | Trimberger | Nov 2004 | B1 |
6911730 | New | Jun 2005 | B1 |
6946330 | Yamazaki et al. | Sep 2005 | B2 |
6954084 | Islam | Oct 2005 | B2 |
6992503 | Madurawe | Jan 2006 | B2 |
6998722 | Madurawe | Feb 2006 | B2 |
7019557 | Madurawe | Mar 2006 | B2 |
7030651 | Madurawe | Apr 2006 | B2 |
7064018 | Madurawe | Jun 2006 | B2 |
7064579 | Madurawe | Jun 2006 | B2 |
7084666 | Madurawe | Aug 2006 | B2 |
7112994 | Madurawe | Sep 2006 | B2 |
7176713 | Madurawe | Feb 2007 | B2 |
7253659 | Madurawe | Aug 2007 | B2 |
7268580 | Madurawe | Sep 2007 | B2 |
7385416 | Chirania et al. | Jun 2008 | B1 |
7482835 | Sun et al. | Jan 2009 | B1 |
20010003428 | Or-Bach | Jun 2001 | A1 |
20010019155 | Warashina et al. | Sep 2001 | A1 |
20010028059 | Emma et al. | Oct 2001 | A1 |
20010047509 | Mason et al. | Nov 2001 | A1 |
20020177260 | Matsumoto | Nov 2002 | A1 |
20020186044 | Agrawal et al. | Dec 2002 | A1 |
20030001615 | Sueyoshi et al. | Jan 2003 | A1 |
20030023762 | Dhir et al. | Jan 2003 | A1 |
20030085733 | Pugh et al. | May 2003 | A1 |
20030227056 | Wang et al. | Dec 2003 | A1 |
20040178819 | New | Sep 2004 | A1 |
20040251930 | Ngai et al. | Dec 2004 | A1 |
20050023656 | Leedy | Feb 2005 | A1 |
20060195729 | Huppenthal | Aug 2006 | A1 |
20070035328 | New et al. | Feb 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20090167349 A1 | Jul 2009 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11964084 | Dec 2007 | US |
Child | 12119490 | US |