One or more aspects of the present invention relate generally to computer-aided design of electronic circuits and, more particularly, to power optimization during an integrated circuit design process.
Power consumption has become an important design challenge in modern integrated circuit (IC) devices, for example, programmable logic devices (PLDs) and standard cell application specific integrated circuits (ASICs). PLDs exist as a well-known type of IC that may be programmed by a user to perform specified logic functions. There are different types of programmable logic devices, such as programmable logic arrays (PLAs) and complex programmable logic devices (CPLDs). One type of programmable logic device, known as a field programmable gate array (FPGA), is very popular because of a superior combination of capacity, flexibility, time-to-market, and cost.
An FPGA typically includes an array of configurable logic blocks (CLBs) surrounded by a ring of programmable input/output blocks (IOBs). The CLBs and IOBs are interconnected by a programmable interconnect structure (routing resources). The CLBs, IOBs, and interconnect structure are typically programmed by loading a stream of configuration data (bitstream) into internal configuration memory cells that define how the CLBs, IOBs, and interconnect structure are configured. The configuration bitstream may be read from an external memory, conventionally an external integrated circuit memory EEPROM, EPROM, PROM, and the like, though other types of memory may be used. The collective states of the individual memory cells then determine the function of the FPGA.
Performance and frequency requirements translate to a maximum allowable delay for paths traversing routing resources between circuit elements. As such, the conventional design process is “timing-driven” in that SMPR process 110 is optimized in accordance with timing constraints. SMPR process 110, however, does not optimize design 101 for power. Typically, incorporating power optimization in the conventional design process adversely affects the timing performance of the design.
Accordingly, there exists a need in the art for an integrated circuit design process that optimizes power without adversely affecting the timing performance of the design.
An aspect of the invention relates to designing an integrated circuit having a plurality of logic paths. The integrated circuit is designed in accordance with timing constraint data. Any logic paths in the plurality of logic paths that have a timing characteristic within a threshold are identified and define a first set of logic paths. Any logic paths in the plurality of logic paths other than those in the first set of logic paths define a second set of logic paths. The integrated circuit is then selectively optimized to reduce power consumption in response to the first set of logic paths and the second set of logic paths.
Another aspect of the invention relates to designing an integrated circuit. The integrated circuit is first designed in accordance with timing constraint data. Timing critical logic circuitry is then identified. For example, the timing critical logic circuitry may be defined with respect to timing constraint data. The integrated circuit is then selectively optimized in response to the timing critical circuitry. In an embodiment, logic circuitry other than said timing critical circuitry is power optimized. In another embodiment, the integrated circuit is power optimized and a determination is made as to whether a timing characteristic of the timing critical circuitry has been modified beyond a threshold.
Accompanying drawing(s) show exemplary embodiment(s) in accordance with one or more aspects of the invention; however, the accompanying drawing(s) should not be taken to limit the invention to the embodiment(s) shown, but are for explanation and understanding only.
Method and apparatus for power optimization during an integrated circuit design process is described. One or more aspects in accordance with the invention are, described in terms of a field programmable gate array (FPGA). While specific reference is made to an FPGA, those skilled in the art will appreciate that one or more aspects of the invention may be used for designing other types of integrated circuits, such as complex programmable logic devices (CPLDs), application specific integrated circuits (ASICs), and the like.
Notably,
CLBs 507 are programmably connectable to each other, and to I/O routing ring 508, for performing various types of logic functions. Each of CLBs 507 may include one or more “slices” and programmable interconnect circuitry (not shown). Each CLB slice in turn includes various circuits, such as flip-flops, function generators (e.g., look-up tables (LUTs)), logic gates, memory, and like type well-known circuits.
Programmable IOBs 506B are configured to provide input to, and receive output from, one or more of CLBs 507. Configuration information for CLBs 507, I/O routing ring 506A, and programmable IOBs 506B is stored in memory 511. Briefly stated, a configuration bitstream produced from program memory 512 is coupled to a configuration port 502 of FPGA 500 to implement a desired circuit therein. Each of CLBs 507, I/O routing ring 506A, and programmable IOBs 506B are generally referred to herein as “programmable logic blocks”.
With renewed reference to
At step 202, critical logic paths in design 101 are identified. A “critical logic path” is a logic path within design 101 that has a timing characteristic that falls within a particular threshold. The threshold may be pre-defined or may be determined by the user. In an embodiment, the threshold is defined as a certain percentage of the timing constraint data used with SMPR process 110. For example, the timing constraint data may include a maximum logic path delay. Thus, a critical logic path may be a logic path exhibiting a delay that falls within a pre-defined or user-selectable percentage of the maximum logic path delay. The difference between the maximum logic path delay and the delay actually exhibited by a logic path is referred to as “timing slack”. Thus, in one embodiment of the invention, logic paths having timing slack with less than x % of the maximum path delay are identified at step 202 as being critical logic paths. The parameter, x, may be a pre-de fined value or may be established by the user. For example, the value of x % may be 10%, such that if the maximum path delay is 20 ns, then all logic paths with a delay of greater than 18 ns are deemed critical logic paths.
In another embodiment, the threshold may be defined in terms of an absolute delay value. For example, the timing constraint data may include a minimum logic path delay. Thus, the critical logic paths may comprise all logic paths that are less than, a predetermined number, e.g., 5 ns slower than the minimum path delay. Those skilled in the art will appreciate that various types of absolute and relative thresholds may be used to determine critical logic paths (also referred to as timing critical logic circuitry).
The critical logic paths identified in step 202 are locked at step 203. That is, the critical logic paths will not be optimized for power. At step 204, design 101 is synthesized to produce a netlist supported by the target device while attempting to reduce power consumption (“power-driven synthesis”). Power-driven synthesis may be performed in accordance with power constraints entered by the user, or may attempt to save the most power possible. For example, power reduction may be achieved using finite state machine (FSM) synthesis (e.g., state encoding, partitioning), arithmetic block synthesis (e.g., choice of adder), or by shielding inputs to functional blocks and/or balancing logic trees to reduce signal glitches.
At step 205, the synthesized design is mapped onto primitive components within the target device (e.g., programmable logic blocks) in accordance with the power constraints (“power-driven mapping”). For example, power-driven mapping may focus on maintaining high-activity nets within logic cells, or performing logic replication carefully and sparingly to avoid an increase in power.
At step 206, components of the synthesized and mapped design are placed within the target device (“power-driven placement”). For example, power-driven placement may focus on minimizing the distance of logic blocks whose interconnecting nets have high switching activity.
At step 207, interconnects are routed within the target device for the placed components (“power-driven routing”). For example, power-driven routing may attempt to reduce power consumption by minimizing the lengths of high-fan-out and high-activity nets.
At optional step 209, a determination is made as to whether any of the power optimized logic paths now violate the timing constraint data. If so, CAD process 200 proceeds to optional step 212, where the offending power optimized logic paths are rejected and/or reported to the user. CAD process 200 ends by producing a CAD result 208. Steps 204, 205, 206, 207, and optional steps 209 and 212 are referred to herein as power SMPR process 210. The critical logic paths that were locked in step 203 are not optimized for power during power SMPR process 210. While specific processes for reducing power consumption during the synthesis, map, place, and route phases were described above, those skilled in the art will appreciate that various other power-saving processes may be employed that are known in the art.
Memory 403 may store all or portions of one or more programs and/or data to implement the processes and methods described above. Although the invention is disclosed as being implemented as a computer executing a software program, those skilled in the art will appreciate that the invention may be implemented in hardware, software, or a combination of hardware and software. Such implementations may include a number of processors independently executing various programs and dedicated hardware, such as application specific integrated circuits (ASICs).
Computer 400 may be programmed with an operating system, which may be OS/2, Java Virtual Machine, Linux, Solaris, Unix, Windows, Windows95, Windows98, Windows NT, and Windows2000, WindowsME, and WindowsXP, among other known platforms. At least a portion of an operating system may be disposed in memory 403. Memory 403 may include one or more of the following random access memory, read only memory, magneto-resistive read/write memory, optical read/write memory, cache memory, magnetic read/write memory, and the like, as well as signal-bearing media as described below. Memory 403 may store all or a portion of process 200 or process 300, described above with respect to
An aspect of the invention is implemented as a program product for use with a computer system. Program(s) of the program product defines functions of embodiments and can be contained on a variety of signal-bearing media, which include, but are not limited to: (i) information permanently stored on non-writable storage media (e.g., read-only memory devices within a computer such as CD-ROM or DVD-ROM disks readable by a CD-ROM drive or a DVD drive); (ii) alterable information stored on writable storage media (e.g., floppy disks within a diskette drive or hard-disk drive or read/writable CD or read/writable DVD); or (iii) information conveyed to a computer by a communications medium, such as through a computer or telephone network, including wireless communications. The latter embodiment specifically includes information downloaded from the Internet and other networks. Such signal-bearing media, when carrying computer-readable instructions that direct functions of the invention, represent embodiments of the invention.
Method and apparatus for power optimization during integrated circuit design process has been described. The power optimization design process achieves substantial power reduction when compared with the conventional design process. The power optimization design process maintains the timing performance of the design's critical signal paths, while optimizing the power consumption of the non-critical signal paths.
While the foregoing describes exemplary embodiment(s) in accordance with one or more aspects of the present invention, other and further embodiment(s) in accordance with the one or more aspects of the present invention may be devised without departing from the scope thereof, which is determined by the claim(s) that follow and equivalents thereof. Claim(s) listing steps do not imply any order of the steps. Trademarks are the property of their respective owners.
Number | Name | Date | Kind |
---|---|---|---|
4698760 | Lembach et al. | Oct 1987 | A |
5504440 | Sasaki | Apr 1996 | A |
5541849 | Rostoker et al. | Jul 1996 | A |
5612636 | Ko | Mar 1997 | A |
5654898 | Roetcisoender et al. | Aug 1997 | A |
5787011 | Ko | Jul 1998 | A |
5808479 | Sasaki et al. | Sep 1998 | A |
5811985 | Trimberger et al. | Sep 1998 | A |
5815004 | Trimberger et al. | Sep 1998 | A |
5880598 | Duong | Mar 1999 | A |
5880967 | Jyu et al. | Mar 1999 | A |
5892961 | Trimberger | Apr 1999 | A |
5914616 | Bauer et al. | Jun 1999 | A |
5984510 | Guruswamy et al. | Nov 1999 | A |
6009248 | Sato et al. | Dec 1999 | A |
6163168 | Nguyen et al. | Dec 2000 | A |
6178542 | Dave | Jan 2001 | B1 |
6209122 | Jyu et al. | Mar 2001 | B1 |
6269458 | Jeter et al. | Jul 2001 | B1 |
6272668 | Teene | Aug 2001 | B1 |
6348813 | Agrawal et al. | Feb 2002 | B1 |
6362649 | McGowan | Mar 2002 | B1 |
6448808 | Young et al. | Sep 2002 | B2 |
6467074 | Katsioulas et al. | Oct 2002 | B1 |
6505322 | Yamashita et al. | Jan 2003 | B2 |
6539536 | Singh et al. | Mar 2003 | B1 |
6583645 | Bennett et al. | Jun 2003 | B1 |
6590419 | Betz et al. | Jul 2003 | B1 |
6621325 | Hart et al. | Sep 2003 | B2 |
6643840 | Kumagai | Nov 2003 | B2 |
6687888 | Chen | Feb 2004 | B2 |
6721924 | Patra et al. | Apr 2004 | B2 |
6950998 | Tuan | Sep 2005 | B1 |
20010048319 | Miyazaki et al. | Dec 2001 | A1 |
20020069396 | Bhattacharya et al. | Jun 2002 | A1 |
20030233628 | Rana et al. | Dec 2003 | A1 |
20040174187 | New | Sep 2004 | A1 |
20040225970 | Oktem | Nov 2004 | A1 |
20040230924 | Williams et al. | Nov 2004 | A1 |