Technology mapping for programmable logic devices using replicating logic and parallel computations

Information

  • Patent Grant
  • 8024687
  • Patent Number
    8,024,687
  • Date Filed
    Friday, August 8, 2008
    16 years ago
  • Date Issued
    Tuesday, September 20, 2011
    13 years ago
Abstract
The present invention relates to a system for reducing the delay during technology mapping in FPGA that comprises locating and replicating the critical fan-in nodes in the mapping logic. Parallel computation is performed on the replicated nodes followed by selection of the output. The delay reduction approach in the present invention gives a highly efficient logic implementation when delay is the prime concern and area can be afforded to be expanded. The technique relies on replicating logic and performing parallel computation on delay critical LUT's.
Description
TECHNICAL FIELD

Embodiments of the present invention relate to delays incurred during technology mapping in FPGAs. In particular embodiments of the invention relate to reducing the delay incurred during technology mapping in FPGAs.


BACKGROUND

A FPGA is a programmable logic device with uncommitted logic and routing elements. The implementation of logic consists of mapping the logic into Look Up Tables (LUT's) and LUT's into Programmable Logic Blocks (PLB's). The circuit netlist at the gate level is first packed into k input LUT's as available in the PLB architecture. The circuit behavior is also important to be analyzed in terms of the delay that under the unit delay model is the maximum sum of the delays of LUT's in series, by assigning a delay of unity to each of them. The job of the mapper is to map the given logic into as few LUT's as possible.


Various techniques exist for mapping a given logic into FPGA. The focus in all such mapping techniques is to optimize the delay or area as the user may require. Various delay optimization algorithms exist which try to reduce the critical path length under the unit delay model trading off the area to some extent. As delay is an important consideration on only the critical path, algorithms like Flowmap-r have been developed which focus on the delay reduction only on the critical path, focusing on area optimization on the rest.


The objective of the mapping process is to consume as few LUT's as possible, but that is achievable to some extent.



FIG. 1 illustrates the flow diagram of the FPGA development process and role of the technology mapping in it. 1.1 in the figure indicates the Design Entry as entering the design into the system for hardware realization of the design. Logic Synthesis 1.2 performs the hardware realization of the design entered depending on the target device. The optimized netlist is then mapped into LUT as shown in the 1.3 that is followed by Placement and Route function as in block 1.4. This block implements the positioning and configuration of the interconnects of the logic blocks. The bit stream is generated as in the Device programming unit block 1.5 for configuring the target device. 1.6 illustrates the configured target device after the completion of the design cycle.



FIG. 2 illustrates the diagram of a prior art method for mapping logic/technology in an FPGA. The circular nodes (a-m) represent a logic for two input LUT's. It is evident from the figure that the path from nodes a and b to k is quite long as compared to the path through c, d and e. As a result the signal generation at k has to wait for the signal from a through i. This makes the path a, n, f, i, j as a critical path leading to a critical fan-in node k. A critical path in a circuit is a chain of circuit elements or the longest path such that the signal takes the maximum time to reach the final output through that given path. In most of the cases, nodes (LUTs) falling in the critical path have one or more fan-ins which are critical (have the maximum delay) while the rest of the input take lesser time so are not that critical. This essentially means that a signal at the output of node cannot be generated till all the input signals arrive, in other words non-critical signals have to wait for signals on the critical path. This is what essentially gives rise to a critical path for the whole circuit.


Therefore, it is realized to be essential to provide a scheme to reduce the delay incurred during the technology mapping in an FPGA. Embodiments of the present invention provide such a scheme.


SUMMARY

Embodiments of the present invention obviate the shortcomings of the prior art and provide a method for delay reduction during technology mapping in an FPGA.


Embodiments of the invention identify the critical path for LUT mapping.


Other embodiments of the invention replicate the logic of the critical fan-in nodes falling in the critical path.


Yet other embodiments of the invention perform parallel computation on the replicated logic nodes so as to reduce the mapping delay.


According to one embodiment of the present invention, an improved system for delay reduction during technology mapping in FPGA includes:

    • Critical Path Identifier (CPI) for locating critical fan-in nodes in the mapping logic, wherein,
    • Logic Replicator (LR) for replicating logic for the critical fan-in nodes,
    • Parallel Computer (PC) for performing parallel computation on the critical fan-in nodes and non critical signals,
    • Output Selector (OS) for selecting the output at the last critical fan-in node after performing parallel computation.


According to embodiment of the present invention, an improved method for delay reduction during technology mapping in FPGA includes:

    • locating critical fan-in nodes in the mapping logic using Critical Path Identifier (CPI), wherein,
    • replicating logic for the critical fan-in nodes using Logic Replicator (LR),
    • performing parallel computation on the critical fan-in nodes and non critical signals using Parallel Computer (PC),
    • selecting the output at the last critical fan-in node after performing parallel computation using Output Selector (OS),


thereby reducing delay in the technology mapping in an FPGA.


According to another embodiment of the present invention, the CPI determines the fan-in nodes that constitute the greatest delay/critical path.


According to another embodiment of the present invention, the LR duplicates the critical fan-in nodes.


According to another embodiment of the present invention, the PC performs look ahead logic computation.


According to another embodiment of the present invention, the output selector is a multiplexer.


The greatest delay path may be a chain of logic elements that require the maximum time for logic execution in the FPGA.


The LR may assign complimentary values to each pair of duplicated nodes.


The PC may locate the input of a critical node and perform parallel computation to reduce the delay of the node.


The critical fan-in nodes may be subjected to parallel computation for logic mapping into Look Up Table's (LUT's).


According to another embodiment of the present invention, a computer program product comprising computer readable program code stored on computer readable storage medium embodied therein for providing a system for delay reduction during technology mapping in FPGA includes:

    • a. Critical Path Identifier (CPI) for locating critical fan-in nodes in the mapping logic, wherein,
    • b. Logic Replicator (LR) for creating replicating logic for the critical fan-in nodes,
    • c. Parallel Computer (PC) for performing parallel computation on the critical fan-in nodes and non critical signals,
    • d. Output Selector (OS) for selecting the output at the last critical fan-in node after performing parallel computation.





BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the invention will now be described with reference to the accompanying drawings.



FIG. 1 illustrates the flow diagram of the FPGA development process and role of technology mapping in it.



FIG. 2 illustrates the prior art method used for technology mapping in an FPGA.



FIG. 3 illustrates a flow diagram according to one embodiment of the present invention and FIG. 4 illustrates an example computer system according to one or more embodiments.





DETAILED DESCRIPTION

The following discussion is presented to enable a person skilled in the art to make and use the invention. Various modifications to the embodiments will be readily apparent to those skilled in the art, and the generic principles herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.



FIG. 1 is a flow diagram of the FPGA development process and FIG. 2 illustrates a prior art method for technology mapping as described under the heading ‘Background of the Invention’.



FIG. 3 is a flow diagram according to one embodiment of the present invention with reference to the prior art in FIG. 1. Here the node k is the first critical fan-in node, followed by the nodes 1 & m. Here the nodes k, l & m are replicated for parallel computation to obviate the critical path for minimizing the delay. The critical path in this case is defined with reference to FIG. 2 and is constituted by the nodes a, f, h, j, k, l & m.


The nodes k0 and k1 assume the critical input j as 0 or 1, so that there occurs a reduction in their overall criticality.


Look Ahead Computation is performed parallel to the computation of the path constituted by the nodes a, n, f, i, j, in which the replicated nodes are formed as the images of the critical nodes, thus making them independent of the critical input j, which is being simultaneously computed. The term Look ahead computation is used since we are assuming critical inputs for the nodes that are subjected to computation after the computation on the non-critical nodes.


The Look ahead parallel computation for the critical fan-in nodes and the non-critical signals is depicted by Levels 1-5.5 in the diagram. The replicating logic for parallel computation is depicted in the Levels 3 to 5 followed by the using a multiplexer (Level 5.5) to select the final output obtained after the replicated logic. It can be observed from the Figure that there is a significant reduction in the number of Levels of the mapping as compared to the prior art in FIG. 2.


It is observed in FIG. 3 of the present invention, that the area increment can be observed to be of the order of 13% and the delay decrement is of the order of 31%. It should be noted that as the logic becomes big, this trade-off between area and delay increases substantially. It is also observed that an increment of 4-8 LUTs if brings a delay decrement of 10-20%, which is substantial.


Increasing the number of LUTs in a design to be mapped, delay in mapping could be reduced substantially so as to overcome the drawback of LUT consumption in speed critical circuits.


The difference in the delay values between critical and non-critical nodes depends on the amount of logic we can replicate. Thus, we can significantly reduce the bottleneck of the critical path, by performing replication followed by parallel computation logic.


An FPGA including a system for reducing delay as described above may be utilized in a variety of different types of electronic systems. For example, multiple FPGAs may be contained in development modules utilized during the design of many types of electronic systems. FIG.4 illustrates an example computer system 400 according to one or more embodiments. The computer system 400 can include various components to implement technology mapping include for example a critical path identifier component 402, a logic replicator component 404, a parallel computation component 406, and an output selector component 408 as described herein. In at least some embodiments, the computing system can include or make use of a computer program product 410 to implement aspect of technology mapping. The computer program product 410 can include computer readable program code stored in computer readable storage that is readable by the computer system 400 to implement the various components including the critical path identifier component 402, logic replicator component 404, parallel computation component 406, and output selector component 408 described herein.


From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention.

Claims
  • 1. A system adapted to implement delay reduction during technology mapping into a programmable logic device, the system comprising: one or more computer devices; andone or more storage devices storing computer readable program code configured to cause operations for the technology mapping, the program code readable by the one or more computer devices to:locate critical fan-in nodes in mapping logic of the programmable logic device;create replicating logic for the critical fan-in nodes;perform parallel computation on the critical fan-in nodes and on non-critical nodes in the mapping logic; andselect output at a last critical fan-in node after performing the parallel computation.
  • 2. The system as claimed in claim 1, wherein the program code is further configured to determine fan-in nodes that constitute a greatest delay path.
  • 3. The system as claimed in claim 2, wherein the greatest delay path is a chain of logic elements that use a maximum time for logic execution in the programmable logic device.
  • 4. The system as claimed in claim 1, wherein the program code is further configured to duplicate the critical fan-in nodes.
  • 5. The system as claimed in claim 4, wherein duplication of the critical fan-in nodes is done by creating a pair of duplicated critical fan-in nodes and wherein the program code is further configured to assign complimentary values to the critical fan-in nodes in each pair of duplicated nodes.
  • 6. The system as claimed in claim 1, wherein the program code is further configured to perform look ahead logic computation.
  • 7. The system as claimed in claim 6, wherein the program code is further configured to locate an input of a critical fan-in node and performs parallel computation to reduce delay of the critical fan-in node.
  • 8. The system as claimed in claim 1, wherein the output selection is done by a multiplexer.
  • 9. The system as claimed in claim 1, wherein the critical fan-in nodes are subjected to parallel computation for logic mapping into Look Up Tables (LUTs).
  • 10. A method for delay reduction during technology mapping, the method comprising: using one or more components of a computer system adapted to perform mapping operations for a device including:locating critical fan-in nodes in a device's mapping logic;creating replicating logic for the critical fan-in nodes;performing parallel computation on the critical fan-in nodes and on non-critical nodes in the mapping logic; andselecting an output at a last critical fan-in node after performing parallel computation.
  • 11. The method as claimed in claim 10, further comprising determining fan-in nodes that constitute a greatest delay path.
  • 12. The method as claimed in claim 11, wherein the greatest delay path is a chain of logic elements that use a maximum time for logic execution in the device.
  • 13. The method as claimed in claim 10, further comprising duplicating the critical fan-in nodes.
  • 14. The method as claimed in claim 13, wherein duplication of the critical fan-in nodes is done by creating a pair of duplicated critical fan-in nodes and further comprising assigning complimentary values to the critical fan-in nodes in each pair of duplicated nodes.
  • 15. The method as claimed in claim 10, further comprising performing look ahead logic computation.
  • 16. The method as claimed in claim 15, further comprising locating an input of a critical fan-in node and performing parallel computation to reduce delay of the critical fan-in node.
  • 17. The method as claimed in claim 10, wherein the output is selected by a multiplexer.
  • 18. The method as claimed in claim 10, wherein the critical fan-in nodes are subjected to parallel computation for logic mapping into Look Up Tables (LUTs).
  • 19. A computer program product comprising computer readable program code stored on a computer readable storage device, the program code readable by a computer to cause operations for delay reduction during technology mapping for a device comprising: locating critical fan-in nodes in mapping logic;creating replicating logic for the critical fan-in nodes;performing parallel computation on the critical fan-in nodes and on non-critical nodes in the mapping logic; andselecting an output at a last critical fan-in node after performing parallel computation.
  • 20. The computer program product as claimed in claim 19, wherein the program code is further configured to determine fan-in nodes that constitute a greatest delay path.
  • 21. The computer program product as claimed in claim 20, wherein the greatest delay path is a chain of logic elements that use a maximum time for logic execution in the device.
  • 22. The computer program product as claimed in claim 19, wherein the program code is further configured to duplicate the critical fan-in nodes.
  • 23. The computer program product as claimed in claim 22, wherein the program code is further configured to duplicate the critical fan-in nodes by creating a pair of duplicated critical fan-in nodes and to assign complimentary values to the critical fan-in nodes in each pair of duplicated nodes.
  • 24. The computer program product as claimed in claim 19, wherein the program code is further configured to perform look ahead logic computation.
  • 25. The computer program product as claimed in claim 24, wherein the program code is further configured to locate an input of a critical fan-in node and perform parallel computation to reduce delay of the critical fan-in node.
  • 26. The computer program product as claimed in claim 19, wherein the output is selected by a multiplexer.
  • 27. A method for delay reduction during programming of a programmable logic device, the method comprising: using one or more components of a computer system adapted to perform technology mapping operations for the programmable logic device including: identifying critical path fan-in nodes in mapping logic;for each critical path fan-in node, creating a first replicated logic path for each logic path dependent upon a value of the critical path fan-in node, the first replicated logic path assuming a first value of the critical path fan-in node,creating a second replicated logic path for each logic path dependent upon a value of the critical path fan-in node, the second replicated logic path assuming a second value of the critical path fan-in node;determining output values from the first and second replicated logic paths;determining an actual value for the critical path fan-in node; andselecting the output value from either the first or second replicated logic path in response to the actual value determined for the critical path fan-in node.
  • 28. The method of claim 27, wherein identifying critical path fan-in nodes comprises identifying fan-in nodes that have a greatest delay through the programmable logic device.
  • 29. The method of claim 28, wherein the greatest delay is defined by a chain of logic elements in the programmable logic device that use a maximum time for logic execution in the programmable logic device.
  • 30. The method of claim 27, wherein creating a first replicated logic path comprises duplicating logic downstream of the critical path fan-in node and assigning the first value to the value of the critical path fan-in node.
  • 31. The method of claim 30, wherein creating a second replicated logic path comprises duplicating logic downstream of the critical path fan-in node and assigning the second value to the value of the critical path fan-in node.
  • 32. The method of claim 27, wherein the first and second assumed values of the critical path fan-in node are complimentary logic values.
  • 33. The method of claim 27, wherein determining output values from the first and second replicated logic paths comprises determining these output values in parallel with determining the actual value for the critical path fan-in node.
  • 34. A computer system adapted to perform technology mapping operations for the programmable logic device, the computer system comprising: one or more hardware devices;one or more computer readable storage devices storing program code configured to cause operations for the technology mapping, the program code readable by the one or more hardware devices to implement.an identification component operable to determine from a plurality of fan-in nodes in the programmable logic device, which individual fan-in nodes of the plurality of fan-in nodes are critical path fan-in nodes;a replication component operable for each determined critical path fan-in node to create replicated logic paths for logic paths dependent upon a value of that critical path fan-in node, each replicated logic path assigning a value to the critical path fan-in node;a computation component operable for each critical path fan-in node to calculate an output value for each replicated logic path created for that critical path fan-in node and operable to calculate an actual value for that critical path fan-in node; anda selection component operable responsive to the actual value calculated for each critical path fan-in node to output one of the output values from the replicated logic paths created for that critical path fan-in node.
  • 35. The system of claim 34, wherein the selection component comprises a multiplexer.
  • 36. The system of claim 34, wherein the computation component is operable for each critical path fan-in node to compute the output values from the replicated logic paths created for that critical path fan-in node prior to calculating the actual value for that critical path fan-in node.
  • 37. The system of claim 34, wherein the identification component determines whether a given fan-in node is a critical path fan-in node when a chain of logic elements in the programmable logic device that provides an input to that critical path fan-in node uses a maximum time for logic execution in the programmable logic device.
Priority Claims (1)
Number Date Country Kind
1645/DEL/2003 Dec 2003 IN national
PRIORITY CLAIM

This application is a continuation of and claims priority to U.S. application Ser. No. 11/027,292, filed Dec. 30, 2004, the disclosure of which is incorporated by reference herein in its entirety. U.S. application Ser. No. 11/027,292, in turn, claims priority to Indian patent application No. 1645/DEL/2003, filed Dec. 30, 2003, the disclosure of which is incorporated by reference herein in its entirety. Priority is also claimed to Indian patent application No. 1645/DEL/2003.

US Referenced Citations (5)
Number Name Date Kind
6546539 Lu et al. Apr 2003 B1
6557144 Lu et al. Apr 2003 B1
7219048 Xu May 2007 B1
7257800 Singh et al. Aug 2007 B1
7430726 Dewan Sep 2008 B2
Related Publications (1)
Number Date Country
20080295042 A1 Nov 2008 US
Continuations (1)
Number Date Country
Parent 11027292 Dec 2004 US
Child 12188986 US