1. Technical Field
This disclosure generally relates to integrated circuits, and more specifically relates to timing analysis of integrated circuit designs.
2. Background Art
The proliferation of modern electronics is due in large part to the development of the integrated circuit. Integrated circuits allow many different circuit elements to be implemented on a single chip. As technology advances, the number of circuit elements on a chip of a given size increases, enhancing the performance and reducing the cost of integrated circuits.
The design of integrated circuits is typically performed in three stages. The first stage is logic design, wherein the desired operation of the integrated circuit is defined. The second stage is logic synthesis, wherein the desired operation is translated into the required circuit elements for a given technology. The third stage is physical design, which assigns the placement of these elements and routing which creates the wire interconnect of these elements on the integrated circuit. Placement defines the location of the circuit elements on the integrated circuit. Routing defines interconnections between circuit elements.
At the logic synthesis stage, a static timing tool is typically used to perform a static timing analysis. Static timing analysis generally takes into account best-case and worst-case delays of various circuit elements, thereby generating a list of problems that need to be corrected. One common static timing tool developed by IBM is known as EinsTimer. EinsTimer is a sophisticated timing tool that performs static timing analysis on an integrated circuit design to identify potential timing problems with the design. EinsTimer includes sophisticated methods for performing the static timing analysis.
Static timing analysis tools typically operate based on technology rules and user assertions. For a sample design of a circuit, the circuit will have some delay as defined by the technology rules. User assertions define the performance target for the design. Known static timing analysis tools bind user assertions to a “clock” or “phase.” For example, the input of a design may expect a signal to arrive at time 100 if it is launched by clock A, but time 200 if launched by clock B. These different user assertions are applied at the same point and are differentiated by their clock. Known static timing analysis tools require clocks to be defined according to an arbitrary name. This can cause problems when two parts of the same design expect the same clock, but under different names. This can happen when a designer imports a logic block provided by a third party into a design. The design may have a clock named CLKA, but the third party logic block may have existing user assertions written in terms of a clock named CLKB. There are two solutions to this problem. The first is to rewrite the existing user assertions for the third party logic block to refer to CLKA instead of CLKB. This is not a viable solution because of the time required to rewrite all of the existing user assertions. In addition, if the third party supplier provides an updated set of user assertions, the effort to rewrite the user assertions will have to be repeated to take advantage of the updated user assertions. A second solution is for a designer to manually create a clock in the design named CLKB that mimics the characteristics of CLKA. However, it is common to have many hundreds of clocks in a design, which puts a significant burden on a designer to manually create many duplicate clocks that mimic the behavior of many other clocks. In addition, the process for manually defining duplicate clocks that mimic other real clocks is time-consuming and prone to user errors.
A timing analysis mechanism allows defining a clock alias that correlates a clock that is not present in the integrated circuit design to a real clock in the integrated circuit design. Clock aliases eliminate the need for a designer to manually create duplicate clocks that mimic the behavior of other real clocks. In a first implementation, when an existing user assertion references a clock alias, the timing analysis mechanism modifies the user assertion to generate a new user assertion that references the real clock specified in the clock alias. The new user assertion is then used in the timing analysis and the original (existing) user assertion is not. The user thus gets appropriate timing using clock names that are standard for the current design while not having to manually modify any original assertions that use a different name for the same clock. In a second implementation, when an existing user assertion references a clock alias, the timing analysis mechanism generates an actual duplicate clock in the timing database for the clock alias. This duplicate clock has all the attributes of the real base clock it mimics, including complicated exclusion, affinity, penalty, etc. relationships with all other clocks in the design. The aliasing mechanism then feeds the original assertions to the timing tool along with the real clock assertions. Both the new user assertion and the original user assertion are then used in the timing analysis. The user is thus prevented from making manual errors when setting up the duplicate clock to match the base clock it mimics. Additionally, the designer who manages the clock definitions does not have to be concerned about making sure to make appropriate and complicated changes to duplicate clock attributes when making updates to the base clock attributes that are often needed as complex designs progress.
The foregoing and other features and advantages will be apparent from the following more particular description, as illustrated in the accompanying drawings.
The disclosure will be described in conjunction with the appended drawings, where like designations denote like elements, and:
The claims and disclosure herein provide a timing analysis mechanism that allows defining one or more clock aliases. The need for a clock alias arises when a design includes different labels for what should be the same clock. This can happen, for example, when a logic block from a third party is incorporated into a design, and the assertions provided by the third party are in terms of clock labels in the logic block, which may have different clock names that the rest of the design. Clock aliases are used to define a clock in terms of a real clock in the system. In a first implementation, the clock alias causes a user assertion that references the clock alias to be modified to generate a new user assertion that refers instead to the real clock. The new user assertion is then processed. This allows the existing user assertions provided by the third party to be used without the designer having to manually rename the clock names in the existing user assertions and without generating any duplicate real clocks. In a second implementation, the clock alias causes a duplicate clock to be generated in the timing database, and one or more new assertion(s) is/are generated. Both the original and the new assertion(s) are then processed by the timing mechanism. This allows the timing database to track the user assertions that reference a real clock separately from the user assertions that reference a duplicate clock corresponding to a clock alias, which will provide some indication of whether the real clock or the clock alias caused things to happen in the integrated circuit design.
Referring to
Main memory 120 preferably contains data 121, an operating system 122, an integrated circuit (IC) design 123, and a timing analysis mechanism 128. Data 121 represents any data that serves as input to or output from any program in computer system 100. Operating system 122 is a multitasking operating system. IC design 123 suitably includes logic blocks 124, interconnections 125, technology rules 126, and user assertions 127. Logic blocks 124 are basic building blocks that typically include transistor structures that define circuit components, such as gates and latches. Interconnections 125 are the connections between the logic blocks 124. Technology rules 126 define the performance for the integrated circuit design, and are based on the selected technology for the integrated circuit. Technology rules 126 typically specify the size of a logic block, and delay characteristics for a logic block. The user assertions 127 are rules provided to define the desired performance of the IC design 123. Often third-party logic blocks are available for incorporation into a design, which may include user assertions 127 pertaining to the logic block. Because the assertions provided by the third party may have clock names that do not match the clock names in the rest of the design, something must be done to account for the different names for the same clock.
Timing analysis mechanism 128 performs static timing analysis on an integrated circuit design 123. When there are different labels in the integrated circuit design that represent the same clock, a clock alias mechanism 129 may be used to create a clock alias 131 so the timing analysis mechanism knows how to perform the timing analysis of the IC design 123. Note that clock alias 131 may be a single clock alias, or may be multiple clock aliases, as required by the user assertions 127 in the IC design 123. The function of the clock alias mechanism 129 and how clock aliases 131 may be used by the timing analysis mechanism 128 are explained in more detail below.
Computer system 100 utilizes well known virtual addressing mechanisms that allow the programs of computer system 100 to behave as if they only have access to a large, single storage entity instead of access to multiple, smaller storage entities such as main memory 120 and DASD device 155. Therefore, while data 121, operating system 122,integrated circuit design 123 and timing analysis mechanism 128 are shown to reside in main memory 120, those skilled in the art will recognize that these items are not necessarily all completely contained in main memory 120 at the same time. It should also be noted that the term “memory” is used herein generically to refer to the entire virtual memory of computer system 100, and may include the virtual memory of other computer systems coupled to computer system 100.
Processor 110 may be constructed from one or more microprocessors and/or integrated circuits. Processor 110 executes program instructions stored in main memory 120. Main memory 120 stores programs and data that processor 110 may access. When computer system 100 starts up, processor 110 initially executes the program instructions that make up operating system 122.
Although computer system 100 is shown to contain only a single processor and a single system bus, those skilled in the art will appreciate that a timing analysis mechanism for an integrated circuit design may be practiced using a computer system that has multiple processors and/or multiple buses. In addition, the interfaces that are used preferably each include separate, fully programmed microprocessors that are used to off-load compute-intensive processing from processor 110. However, those skilled in the art will appreciate that these functions may be performed using I/O adapters as well.
Display interface 140 is used to directly connect one or more displays 165 to computer system 100. These displays 165, which may be non-intelligent (i.e., dumb) terminals or fully programmable workstations, are used to provide system administrators and users the ability to communicate with computer system 100. Note, however, that while display interface 140 is provided to support communication with one or more displays 165, computer system 100 does not necessarily require a display 165, because all needed interaction with users and other processes may occur via network interface 150.
Network interface 150 is used to connect computer system 100 to other computer systems or workstations 175 via network 170. Network interface 150 broadly represents any suitable way to interconnect electronic devices, regardless of whether the network 170 comprises present-day analog and/or digital techniques or via some networking mechanism of the future. Network interface 150 preferably includes a combination of hardware and software that allow communicating on the network 170. Software in the network interface 150 preferably includes a communication manager that manages communication with other computer systems 175 via network 170 using a suitable network protocol. Many different network protocols can be used to implement a network. These protocols are specialized computer programs that allow computers to communicate across a network. TCP/IP (Transmission Control Protocol/Internet Protocol) is an example of a suitable network protocol that may be used by the communication manager within the network interface 150.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Referring to
The timing analysis mechanism 128 includes a clock alias database 210 that includes multiple clock aliases 131, shown in
Referring to
The timing analysis mechanism may be implemented in two different ways to use clock aliases. In the first implementation described in
A simple block diagram in
When the current assertion takes precedence, the assertion is modified to generate a new assertion that substitutes the real clock CLKA for the clock alias CLKB in the original assertion (step 550). The result is modified assertion 630, which is a new assertion that did not exist before in either set 127A or 127B in
The second implementation is shown in
A simple block diagram in
The second implementation creates many copies of clocks in the timing database, and it therefore does not provide the processing efficiencies present in the first implementation. However, the timing database 240 will include timing for all real clocks and all duplicate clocks corresponding to clock aliases, allowing the user to easily determine whether an assertion in set 127A or an assertion in set 127B created a particular timing problem in the integrated circuit design. In addition, the user is spared the risk of error in making complicated manual copies of real clocks and from having to replicate complicated changes to the definition of the real clock to a potentially large number of alias clocks.
The ability to create clock aliases as described herein gives rise to the concept of “chained aliases.” For example, let's assume the following three commands are provided by a designer:
The first creates a real clock CLKA. The second creates a clock alias CLKB from the real clock CLKA. The third creates a clock alias CLKC from the clock alias CLKB. Clocks CLKA, CLKB and CLKC are all equivalent, but CLKC is aliased to an alias instead of to a real clock. This may be desirable due to nested assertions from multiple pieces of third party logic, or for other reasons. In the first implementation described above in
The timing analysis mechanism described and claimed herein provides a way to generate clock aliases that correlate a real clock to a clock alias. In both implementations, the processing of a clock alias generates a new user assertion that references the real clock. The timing analysis mechanism thus supports using user assertions for a third party logic block that are in terms of a different clock label than the rest of the design without the user having to manually duplicate clocks in the timing database and without the user having to manually change the different clock label to the same clock label used in the rest of the design.
One skilled in the art will appreciate that many variations are possible within the scope of the claims. Thus, while the disclosure is particularly shown and described above, it will be understood by those skilled in the art that these and other changes in form and details may be made therein without departing from the spirit and scope of the claims.
Number | Date | Country | |
---|---|---|---|
Parent | 12770420 | Apr 2010 | US |
Child | 13449139 | US |