Methods and apparatus for performing slew dependent signal bounding for signal timing analysis

Information

  • Patent Grant
  • 6430731
  • Patent Number
    6,430,731
  • Date Filed
    Wednesday, August 4, 1999
    24 years ago
  • Date Issued
    Tuesday, August 6, 2002
    21 years ago
Abstract
Methods and apparatus for use in signal timing analysis with respect to a circuit having at least one gate are provided. In one aspect, the invention includes the step of determining a first constraint slew sensitivity value and a second constraint slew sensitivity value for the at least one gate according to a specified bounding technique. Then, a representative signal for the gate is computed in accordance with the first and second values including an arrival time and slew rate, wherein the representative signal bounds signal paths by bounding a maximum slew sensitivity path and a minimum slew sensitivity path. Such a representative signal may be computed for a worst case late-mode analysis and/or a best case early-mode analysis. The bounding technique may be selected by a user at the time the user inputs the schematic of the circuit on which timing analysis is to be performed. The invention provides for the use of bounding techniques such as, for example, maximum slew, minimum slew, half envelope, full envelope, modified half envelope, modified max slew, modified min slew, least upper bound, and greatest lower bound. The invention may preferably be employed in accordance with static timing analysis associated with VLSI circuit design.
Description




FIELD OF THE INVENTION




The present invention relates generally to signal timing analysis techniques and, more particularly, to methods and apparatus for performing slew dependent signal bounding for use in signal timing analysis.




BACKGROUND OF THE INVENTION




The propagation of rise and fall times, i.e., slews, has been a long standing problem in static timing analysis, e.g., see J. K. Ousterhout, “A Switch-Level Timing Verifier for Digital MOS VLSI,” in IEEE Trans. on CAD, vol. 3, July 1985, pp. 336-349, and N. Hedenstierna and K. O. Jeppson, “CMOS Circuit Speed and Buffer Optimization,” IEEE Trans. on CAD, vol. 6, March 1987, pp. 270-281. Signals arriving at a given node of a circuit may be generated from different input patterns and may travel through different paths. In a static timing analysis, all of these signals are compared. One signal, namely, the latest signal, is selected to represent the worst-case arrival time bound, and kept to carry through the circuit network (a similar approach can be used for the earliest arriving or early-mode signal). The validity of this approach is based on the observation that the latest signals always yield the latest arrival times when they propagate to the primary output. The monotone nature of signal propagation time in this plain form is true, only if the slew variations among the signals are small.




Examples of conventional timing analysis approaches which rely on this observation include: R. B. Hitchcock, Sr., “Timing Verification and the Timing Analysis Program,” 19


th


Design Automation Conference. June 1982, pp. 594-604; K. A. Sakallah, T. N. Mudge and O. A. Olukotun, “Check Tc and Min Tc: Timing Verification and Optimal Clocking of Synchronous Digital Circuits,” in Proc. ICCAD, November 1990, pp.552-555; G. Szymanski and N. Shenoy, “Verify Clock Schedule,” in Proc. ICCAD, November 1992, pp. 124-131; and J. F. Lee, D. T. Tang, and C. K. Wong, “Algorithm for Circuits with Level-Sensitive Latches,” in IEEE Trans. on CAD, vol. 15, May 1996, pp.535-543.




However, in reality, circuit designers encounter signals with a wide range of slews. The delay through a CMOS gate depends on the signal slew present at its inputs. The typical approach to accommodate the slew is via the following heuristic method known as the “latest arriving method.” The latest arriving method dictates that during propagation through each gate, always adopt the slew carried by the latest arriving signal. There are two potential pitfalls with this latest arriving method.




First, the worst-case arrival time bound calculated may be invalid when the latest arriving method is employed, since an earlier signal with a slow slew may eventually reach the primary output later. For example in

FIG. 1

, assume that the arrival time (a


ƒ


) of the fast signal at the output of gate


1


is later than that (a


S


) of the slow signal. Let the delay through gate


2


be d


ƒ


and d


s


respectively for the fast and slow signals. Since d


ƒ


<d


S


, the situation a


ƒ


+d


ƒ


<a


S


+d


S


may be reached. This means that the slow signal becomes the latest one at the output of gate


2


, and therefore can not be ignored.




Second, the monotonic property of signal propagation may be violated when the latest arriving method is employed, so that the convergence of the worst-case timing bound is no longer guaranteed. Let us assume that in

FIG. 1

, the fast signal is only slightly later than the slow signal at the output of gate


1


. So the fast signal is chosen to propagate through gate


2


, and the worst-case arrival time calculated at the output of gate


2


is a


ƒ


+d


ƒ


. If the fast signal is sped up so that its arrival time at the output of gate


1


is a


ƒ


<a


S


, then the slow signal is chosen to propagate, and the worst-case time at the output of gate


2


becomes a


S


+d


S


which is greater than a


ƒ


+d


ƒ


. The monotonic property is thus violated.




Therefore, it would be desirable to have methods and apparatus which provide improved ways to define the worst-case signals for timing analysis purposes so as to, among other things, avoid the problems associated with the above-described conventional latest arriving method.




SUMMARY OF THE INVENTION




The present invention provides methods and apparatus which provide improved ways to define the worstcase signals for timing analysis purposes so as to, among other things, avoid the problems associated with the above-described conventional latest arriving method.




In one aspect of the invention, a method for use in signal timing analysis with respect to a circuit having at least one gate includes the step of determining a first constraint slew sensitivity value and a second constraint slew sensitivity value for the gate according to a specified bounding technique. Then, a representative signal for the gate is computed in accordance with the first and second values including an arrival time and slew rate, wherein the representative signal bounds signal paths by bounding a maximum slew. sensitivity path and a minimum slew sensitivity path. Such a representative signal may be computed for a worst case late-mode analysis and/or a best case early-mode analysis.




The bounding technique may be selected by a user at the time the user inputs the schematic of the circuit on which timing analysis is to be performed. The invention provides for the use of bounding techniques such as, for example, maximum slew, minimum slew, half envelope, full envelope, modified half envelope, modified max slew, modified min slew, least upper bound, and greatest lower bound. The invention may be employed in accordance with static timing analysis associated with VLSI circuit design, however, one of ordinary skill in the art will appreciate various other applications such as, for example, circuit tuning given the inventive teachings herein. The invention may also be implemented in the form of a static timer apparatus.




These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.











BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

is a diagram illustrating the conventional latest arriving method used to determine the worst-case arrival time bound;





FIGS. 2A through 2D

are diagrams illustrating two signals in several different arrival sequences;





FIG. 3

is a diagram illustrating several signal bounding methods;





FIG. 4

is a diagram illustrating arrival times at gate outputs as a function of Δa for the several bounding methods;





FIGS. 5A and 5B

are diagrams of two exemplary cases illustrating dominance according to slew dependent signal bounding techniques of the invention;





FIG. 6

is a diagram illustrating the quadrants in the s-a plane which contain lower and upper bounds on a signal;





FIGS. 7A through 7D

are diagrams illustrating upper and lower bounds for two signals according to slew dependent signal bounding techniques of the invention;





FIG. 8

is a diagram illustrating bounding regions for a set of signals according to slew dependent signal bounding techniques of the invention;





FIG. 9

is a diagram illustrating bounding signals in the s-a plane according to slew dependent signal bounding techniques of the invention;





FIG. 10

is a diagram illustrating an exemplary implementation of a multiple signal bounding technique according to the invention;





FIG. 11

is a flow diagram illustrating a static timer implementation of a signal bounding computation process according to the invention;





FIG. 12

is a block diagram illustrating a hardware implementation of static timer apparatus for a signal bounding computation process according to the invention; and





FIG. 13

is a diagram illustrating a timing analysis flow using a least upper bound signal process according to the invention.











DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS




The present invention is described below in the context of static timing analysis in VLSI (Very Large Scale Integration) circuit design. However, it is to be understood that the present invention is not limited to VLSI circuit design. Rather, the invention is more generally applicable to circuit design in which it is desirable to calculate a worst-case arrival time bound that is valid and for which the monotonic property of signal propagation is not violated.




It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a CPU (central processing unit). The term “memory” as used herein is intended to include memory associated with a processor or CPU, such as, for example, RAM, ROM, a fixed memory device (e.g., hard drive), a removable memory device (e.g., diskette), etc. In addition, the term “input/output devices” or “I/O devices” as used herein is intended to include, for example, one or more input devices, e.g., keyboard, for inputting data to the processing unit, and/or one or more output devices, e.g., CRT display and/or printer, for providing results associated with the processing unit. It is also to be understood that various elements associated with a processor may be shared by other processors. Accordingly, software components including instructions or code for performing the methodologies of the invention, as described herein, may be stored in one or more of the associated memory devices (e.g., ROM, fixed or removable memory) and, when ready to be utilized, loaded in part or in whole (e.g., into RAM) and executed by a CPU.




For ease of reference, the remainder of detailed description will be divided into sections as follows: (I) Characteristics of Slew Dependence; (II) Constructing Bounding Signals for Positive α


m


; (III) Generating Constraints for Bounding Signals; (IV) Multiple Signal Technique; (V) Static Timer Implementation; (VI) Experimental Results; and (VII) Early-mode Signals.




I. Characteristics of Slew Dependence




A VLSI circuit consists of primary inputs (PIs) and outputs (POs), gates, and a network of interconnects. It may be represented by a directed graph G. Nodes of G represent PIs, POs, and pins of gates, while edges of G represent either internal paths from input to output of a gate, or external routing paths between gates. The direction of an edge is defined in such a way that signals flow from its source node to its sink node. The directed graph G may have loops. Each loop must contain some latches or flip-flops, since a loop path consisting of combinational gates will produce a race condition and is not allowed. To perform a static timing analysis on G, worst-case signal arrival times are given at primary input nodes. No input pattern is specified. Under such circumstances, the goal of a static timer is to generate the worst-case arrival time at primary output nodes.




Signal waveforms traveling on a VLSI chip may be approximated by the ramp function, characterized by four parameters: the voltage levels before and after the transitions, arrival time at the midpoint of the ramp (a), and the duration of the ramp, or slew (s). For digital circuits, the voltage level is either 0 or VDD, and the ramp may represent either a rising or falling transition. For a general signal waveform, the arrival time is defined as the time the signal voltage crosses 0.5 VDD, while the slew is defined as 1.25 times the duration the signal voltage swings between 0.1 VDD and 0.9 VDD. When there is no confusion, the signal waveform defined by w=(s, a) will be called signal as abbreviation for signal waveform.




For the delay propagation through gates, a static timer may either evaluate the delay on the fly with a fast simulator or calculate the delay with some analytical delay rules. For each input pin to output pin path inside gate i, the signal arrival time and slew at the output pin are functions of the signal arrival time, slew at the input pin and other circuit parameters such as capacitance loading. Consider an internal path from input pin j to the output pin i. Let the arrival time and slew at the input pin be a


j


and s


j


, respectively. The arrival time and the slew at the output pin are respectively a


ji


and s


ji


such that:








a




ji




=a




j





ji


(


s




j


)  (1)










s




ji




=g




ji


(


s




j


)  (2)






where ƒ


ji


and g


ji


represent, respectively, the delay and slew propagation rule for a path from pin j to pin i. These delay rules, defined in equations (1) and (2), may vary from a simple unit delay model, a linear delay model, to a piece-wise quadratic delay model with coefficients extracted from curve-fitting of many simulation runs. The dependence on other circuit parameters was dropped for clarity, as it is irrelevant to an understanding of the present invention.




According to the invention, we now provide the following definition. For a function ƒ(s) of slew, the average and instantaneous slew sensitivity are defined as Δƒ/Δs and dƒ/ds. The maximum and minimum sensitivity are respectively defined as









D
M


f

=


max
s









f

/


s




,






and






D
M


f

=


min
s









f

/



s

.














Both ƒ


ji


and g


ji


are weak functions of slew. By the mean-value theorem of calculus, for any slew interval, there exists a point with the instantaneous sensitivity equal to the average slew sensitivity. Hence, the average slew sensitivities are bounded in the same way as the instantaneous sensitivity:






α


mi


≦Δƒ


ji


/Δs≦α


Mi


where α


mi


=D


m


ƒ


ji


and α


Mi


=D


M


ƒ


ji


  (3)








β


mi


≦Δg


ji


/Δs≦β


Mi


where β


mi


=D


m


g


ji


and β


Mi


=D


M


g


ji


  (4)






From detailed spice simulation for static CMOS gates under different slew (e.g., from 50 ps [pico seconds] to 400 ps) and load conditions (e.g., from 25 ff [fento farads] to 150 ff), the range of slew sensitivities are compiled below in Table 1:
















TABLE 1











Ckt/sensitivity




Δƒ/Δs




Δg/Δs













NAND2




0.04-0.20




0.29-0.36







NOR2




0.05-0.16




0.27-0.35







NAND3




0.01-0.22




0.20-0.35







NOR3




0.03-0.20




0.20-0.36







AOI22




0.06-0.20




0.18-0.37







OAI22




0.06-0.20




0.18-0.37















The maximum sensitivities across the CMOS gate library in Table 1 are α


M


=max{α


Mi


}=0.25 and β


M


=max{β


Mi


}=0.4. The positive minimum sensitivities, α


m


=min{α


mi


} and β


m


=min{β


mi


}, from Table 1 imply that both ƒ


ji


and g


ji


are monotonic increasing functions of slew. In the rare case that a slow signal is used to drive a low-threshold dynamic circuit, α


m


may become negative, and using the 50% to 50% delay, a slew increase might actually speed up the circuit. Regarding β's, we shall make the following assumption:






0<β


mi


, β


Mi


<1  (5)






There are some theoretical bounds to α's and β's. Assume that two signals, w


i


and w


j


, are present at the same input pin of a gate. Let w′


i


and w′


j


be the corresponding signals at the output pin of the gate. In the following, we shall use b, a, t to denote the 0%, 50% and 100% times of a signal. If w


i


and w


j


are non-overlapping in the order a


i


<a


j


as shown in

FIGS. 2A and 2B

, according to the principle of causality, we expect that w′


i


and w′


j


are still non-overlapping in the same order a′


i


<a′


j


. Mathematically, the condition for non-overlapping signals w


i


and w


j


is Δb=b


j


−b


i


≧0 and Δt=t


j


−t


i


≧0. In terms of Δa=a


j


−a


i


and Δs=s


j


−s


i


, these two relations give Δ(a−s/2)≧0 and Δ(a+s/2)≧0, or Δa≧|Δs/2| in short. Then, the causality condition can be stated as follows: If Δa≧|Δs/2|, then Δa′≧|Δs′|/2. From the gate delay rules, Δa′=Δa+Δƒ and Δs′=Δg where Δƒ=ƒ(s


j


)−ƒ(s


i


) and Δg=g(s


j


)−g(s


i


). The sufficient condition for Δa′≧|Δs′|/2| can be rewritten as:






2(Δ


a


+Δƒ)≧|Δ


g|.


  (6)






For the case Δs=s


j


−s


i


>0 as shown in

FIG. 2A

, divide equation (6) with Δs and we have 2Δa/Δs+2Δƒ/Δs≧|Δg|/Δs. This inequality is true, if the minimum of the left hand side is not smaller than the maximum of the right hand side. The minimum of Δa/|Δs| for non-overlapping signals is ½. The minimum of Δƒ/Δs is α


m


, while the maximum of the right hand side is β


M


. This means that:






1+2α


m


≧β


M


  (7)






For the case Δs<0 as shown in

FIG. 2B

, divide equation (6) with −Δs (a positive number) and we have 2Δa/|Δs|≧2Δƒ/Δs+|Δg/Δs|. This inequality is true, if the minimum of the left hand side is not smaller than the maximum of the right hand side. The minimum of Δa/|Δs| for non-overlapping signals is ½. The maximum of Δƒ/Δs is α


M


, while the maximum of |Δg/Δs| is β


M


. This means that:






1≧2α


M





M


  (8)






The maximum value for α


M


that satisfies equations (5) and (8) is 0.5, while the minimum value for α


m


that satisfies equations (5) and (7) is −0.5. Equations (5), (7) and (8) on bounds of α's and β's hold for the sensitivity in Table 1. We assume herein that this is the case. We shall also assume herein that the wiring delay is either negligible, or can be modeled also by equations (5) to (8).




II. Constructing Bounding Signals for Positive α


m






Now let us consider the typical case with positive α


m


. In this case, both ƒ


ji


and g


ji


are monotonic increasing functions of slew. In other words, a larger slew at the input produces a longer gate delay, and a larger slew at the output. In the following, we shall use this property to construct a representative signal, when a set of signals, W={w


1


, w


2


. . . w


n


}, are present at the same gate input.




First let us work with only two signals, w


i


(slow rise time) and w


j


(fast rise time). If two signals are non-overlapping, then one signal is always earlier than the other signal, and can be discarded by the principle of causality. Therefore, we need only to consider the overlapping case. If two signals overlap in the lower half voltage interval [0, VDD/2] including VDD/2 as shown in

FIG. 2C

, we can construct a signal w=(s


j


, a


i


) shown as a dashed line. Then, because of a smaller gate delay, after passing one gate, w


j


will become earlier than w which is earlier than w


i


by the amount a


i


−a


j


. So w


j


can be discarded in this case. We are left with the case that two signals overlap in the upper half voltage interval [VDD/2, VDD] as shown in FIG.


2


D. In this case, there are several better bounding methods other than the frequently used latest arriving method, e.g., maximum slew method, full envelope method, and half envelope method. These methods require the construction of a representative signal, which can bound both signals.




Referring now to

FIG. 3

, examples of such signal bounding methods are shown along with the late arriving method. The latest arriving method dictates picking the signal w


late


=(s


late


, a


late


) with the maximum arrival time. For an example, see the solid line between b


j


and t


j


in FIG.


3


. In the maximum slew method, a signal, w


slew


=(s


slew


, a


slew


), is constructed with the maximum slew and arrival time. For an example, see the dashed-dot line marked “S” in FIG.


3


. In the full envelope method, a signal, w


full


=(s


full


, a


full


) is constructed which covers all the signals from the right hand side. For an example, see the dotted line marked “F” in FIG.


3


. In the half envelope method, a signal, w


half


=(s


half


, a


half


, is constructed which covers all the signals in the upper half voltage range [VDD/2, VDD] from the right hand side. For an example, see the long dash line marked “H” in FIG.


3


.




For the general case with more than two signals in W, where W={w


1


, W


2


, . . . , w


i


, . . . }, the representative signals are:


















a
late

=


max
i




a
i

.










a
slew

=


max
i



a
i



,


s
slew

=


max
i




s
i

.











a
full

=


(



max
i



b
i


+


max
i



t
i



)

/
2


,


s
full

=



max
i



t
i


-


max
i




b
i

.












a
half

=


max
i



a
i



,


s
half

=

2



(



max
i



t
i


-


max
i



a
i



)

.










(
9
)













In the maximum slew, full envelope and half envelope methods, some new signals, w


slew


, w


full


and w


half


, which are worse than any signal in W, are constructed. Therefore, the propagation of these signals will always yield valid upper bounds to the worst-case timing result, while the latest arriving method may lead to an invalid answer. Since only the upper half voltage range is relevant in this positive α


m


case, w


half


is the tightest upper bound among the three.




Next we investigate the accuracy penalty paid when we replace a set of signals with a single signal. Again, we shall use the two signal examples in FIG.


2


D. At a gate input, we have two non-overlapping signals, w


i


and w


j


, with s


i


>s


j


. Let w′


i


and w′


j


be the corresponding signals at the gate output. Let a=max(a


i


, a


j


) and Δa=a


i


−a


j


. Then the true worst-case arrival time at the gate output is a′=max(a′


i


, a′


j


). For comparison, a′ and the arrival times at output for w


half


, w


slew


, and w


full


are plotted in

FIG. 4

as functions of Δa for fixed a. Without loss of generality, a is set to 0. A detailed derivation of these arrival times is given below (with Δs=s


i


−s


j


and Δd=d(s


i


)−d(s


j


)).




Referring now to

FIG. 4

, the four methods are graphically illustrated with respect to output signal time (i.e., the arrival time at gate output) as functions of a


i


−a


j


. First, the dependence of a′ on Δa is computed and shown as the piece-wise linear solid line in FIG.


4


. There are three regions. For Δa≧0, the slow signal dominates (w


j


≦w


i


), and a′=a′


i


=d(s


i


). For Δa≦−Δd, a′


i


<a′


j


and the fast signal dominates: a′=a′


j


=d(s


j


). For 0>Δa>−Δd, a′


i


>a′


j


(i.e., the earlier slow signal has a later arrival time at the output) and a′=a′


i


=a


i


+d(s


i


)=Δa+d(s


i


).




Next, let we compute the dependence of a′


late


on Δa as shown in FIG.


4


. For Δa≦0, the fast signal dominates, and a′


late


=a′


j


=d(s


j


). For Δa≧0, the slow signal dominates, and a′


slew


=a′


i


=d(s


i


). The maximum error in a′


slew


occurs when Δa is slightly negative, that is, Error


late


=−(d(s


i


)−d(s


j


)).




Next, we compute the dependence of a′


slew


on Δa shown as dashed lines in FIG.


4


. There are two regions. For the region of Δa≦−Δs/2, the fast signal dominates: a′


slew


=d(s


j


). For the region of Δa>−Δs/2, two signals become overlapping, and the slew from the slow signal is selected: a′


slew


=d(s


i


). The maximum error in a′


slew


occurs in the region −Δs/2≦Δa≦−Δd, that is Error


slew


=d(s


i


)−d(s


j


).




Next, we compute the dependence of a′


full


on Δa shown as dotted lines in FIG.


4


. For Δa≦−Δs/2, the fast signal dominates: a′


full


=d(s


j


). For Δa≧Δs/2, the slow signal dominates: a′


full


=d(s


i


). For the intermediate region (Δs/2>Δa>−Δs/2), a


full


=(t


l




+b




j


)/2=a


j


+(t


i


−t


j


)/2, s


full


=t


i


−b


j


=s


j


+(t


i


−t


j


), and a′


full


=a


full


+d(s


full


)=a


j


+(t


i


−t


j


)/2+(d(s


j


)+α*(t


i


−t


j


))=a


j


+(½+α)*(t


i


−t


j


)+d(s


j


)=a


j


+(½α)*(Δa+Δs/2)+d(s


j


). The maximum error in a′


full


occurs at Δa=−Δd, that is, Error


full


=a′


full


−d(s


j


)=(½+α)*(−Δd+Δs/2)=((1−4α


2


)/4α)(d(s


i


)−d(s


j


)).




Next, we compute the dependence of a′


half


on Δa shown as heavy solid lines in FIG.


4


. There are three regions. For the left region (Δa≦−Δs/2), the fast signal dominates: a′


half


=d(s


j


). For the right region (Δa≧0), the slow signal dominates: a′


half


=d(s


i


). For the middle region (0>Δa>−Δs/2), s


half


=2(t


i


−a


j


)=s


i


+2Δa and a′


half


=a


j


+d(s


half


)=d (s


i


+2Δa)≈d(s


i


)+2α*Δa. The maximum error in a′


half


occurs when Δa=−Δd, that is Error


half


≈d(s


i


)+2α*Δa−d(s


j


)=(1−2Δ)*(d(s


i


)−d(s


j


)).




From these error formulas, we obtain the following ratios:






Error


half


/Error


late


=−(1−2α),








Error


half


/Error


slew


=1−2α,








Error


half


/Error


full


=4α/(1+2α),






For α=0.25 and β=0.4, −0.5*Error


late


=Error


half


=0.5*Error


slew


=0.67*Error


full


. Therefore, the worst-case error in the half envelope method is much smaller than the other methods.




III. Generating Constraints for Bounding Signals




The maximum slew, full envelope and half envelope methods described in the previous section require that both the 100% and 50% times be bounded during the propagation through the fan-out paths. The criterion for the bounding signal may be relaxed as follows. Suppose that two signals, w


i


=(s


i


, a


i


) and w


j


=(s


j


, a


j


), are present at the same gate input pin. When they propagate through fan-out paths to the latches, if one signal, say w


i


, arrives at all the catching latches in the fan-out cone always later than the 50% time, w


i


will impose stronger timing constraint against the clock edges and shall be considered as the worst-case signal. With this new criterion, we do not require that either 50% or 100% times be bounded in the intermediate stages. It is to be appreciated that the fan-out cone of a gate i is defined as the set of all gates which can be reached from gate i through a sequence of combinational logic gates. In general, the set is a tree rooted at gate i.




Thus, we provide the following definition. For a pair of signals, w


i


=(s


i


, a


i


) and w


j


=(s


j


, a


j


), at the output pin of gate k, let a


in


and a


jn


be the 50% arrival time at latch n on the fan-out cone. Then, we define w


i


≦w


j


by the criterion that a


in


≦a


jn


for every latch n on the fan-out cone of gate k. Thus, we say that w


i


is dominated by w


j


, or w


j


dominates w


i


.





FIGS. 5A and 5B

respectively illustrate two cases where w dominates w


i


. To explore the sufficient conditions for w


i


≦w, consider two extreme situations. In the case shown in

FIG. 5A

, a faster signal w is initially later (a≧a


i


and s≦s


i


), and the excess delay gain by w


i


over w through the fan-out propagation is still small enough that the arrival time of w is always later. In the case shown in

FIG. 5B

, a slower signal w is initially slightly earlier (a≦a


i


and s≧s


i


), but picks up enough delay gain over w


i


during the propagation and eventually appears at latches with later arrival times.




Let us examine more closely the new criterion for a dominating signal. First, a path, which consists of multiple stages of gates, can be regarded as one composite delay element with its own delay rules. The cumulative path delay and the slew of the output signal at the end of path p are functions of the input signal slew s:








d




p





p


(


s


) and


s




p




=g




p


(


s


)  (10)






Let the maximum and minimum slew sensitivity of ƒ


p


(g


p


) be α


mp





mp


) and α


Mp





Mp


). In subsection III(a) below, we describe a method to compute these bounds. Assume that a signal w=(s, a) and another signal w


i


=(s


i


, a


i


) propagate from the same gate k through a fan-out path p to a capturing latch n. Then the difference in path delays, d


p


−d


ip


, of two signals are bounded:






α


mp


≦(


d




p




−d




ip


)/(


s−s




i


)≦α


Mp


where α


mp




=D




m


ƒ


p


and and α


Mp




=D




M


ƒ


p


  (11)






Let the arrival times of two signals at latch n be a


n


and a


in


. Since d


p


−d


ip


=(a


n


−a)−(a


in


−a


i


)=(a


n


−a


in


)−(a−a


i


), this leads to:






(


a−a




i


)/(


s−s




i


)+α


mp


≦(


a




n




−a




in


)/(


s−s




i


)≦(


a−a




i


)/(


s−s




i


)+α


Mp


.  (12)






For the smaller slew case s


i


≧s in

FIG. 5A

, a sufficient condition to assure (a


n


−a


in


)/(s−s


i


)≦0 and hence a


in


≦a


n


is that the upper bound on the right-hand side of equation (12) is negative or zero. This condition, which is equivalent to −(a−a


i


)/(s−s


i


)≧α


Mp


, must hold for every fan-out path from gate k to latches. Therefore:






−(


a−a




i


))/(


s−s




i


)≧


r




M


or


a+r




M




* s≧a




i




+r




M




*s




i


  (13)















r
M

=


max
p



α
Mp



,










where p is any path from gate k to a latch




Consider the path with maximum slew sensitivity: α


Mp


=r


M


. Equation (13) implies that the signal with larger a+r


M


*s will reach the end of the path with a later arrival time a


n


, and hence an is a monotonic increasing function of a+r


M


*s. We call y=a+r


M


*s the max-path time of w.




For the larger slew case s


i


≦s in

FIG. 5B

, a sufficient condition to assure (a


n


−a


in


)/(s−s


i


)≧0 and hence a


in


≦a


n


is that the lower bound on the left hand side of equation (12) is positive or zero. This condition, which is equivalent to −(a−a


i


)/(s−s


i


)≦α


mp


, must hold for every fan-out path from gate k to latches. Therefore:

















-

(

a
-

a
i


)


/

(

s
-

s
i


)






r
m






or





a

+


r
m

*
s





a
i

+


r
m

*

s
i











where






r
m


=


min

fan


-


out


-


paths





α

m





p


.







(
14
)













Consider the path with minimum slew sensitivity: α


mp


=r


m


. Equation (14) implies that the signal with larger a+r


m


*s will reach the end of this path with a later arrival time a


n


, and hence a


n


is a monotonic increasing function of a+r


m


*s. We call x=a+r


m


*s the min-path time of w.




Clearly r


M


≧r


m


. Signal w dominates w


i


, if both equations (13) and (14), are satisfied. Hereafter, equations (13) and (14) are respectively called max and min constraint, equations on w


i


, and r


M


and r


m


as the slew sensitivity of max and min constraints. These constraint equations define a feasible region for w


i


≦w, which is marked as the upper quadrant in FIG.


6


. Extension of the two lines representing constraint equations divides the s-a plane into four quadrants as shown in FIG.


6


. For signal w in the upper quadrant, w


i


≦w. For signal w in the lower quadrant of

FIG. 6

, w


i


is in the region bounded by the constraint equations on w and hence w≦w


i


. In either case, we say that two signals are comparable. Signals outside these two quadrants are non-comparable.




We now consider bound regions of two or more signals. Let us first consider the bounding problem of two signals. Assume that there are two signals, w


i


and w


j


, at the same output pin of a gate. Let r


m


and r


M


be the slew sensitivity of the corresponding min and max constraints. We would like to construct an upper-bound signal w=(s, a) and find the condition that w dominates both w


i


and w


j


. Also among the upper-bound signals, we would like to find the least upper-bound signal, which is a good candidate for use in the late-mode worst-case timing analysis.




According to the definition of dominance in the invention, w must satisfy the max and min constraints for both w


i


and w


j


, and thus fall into the intersection of upper quadrants of w


i


and w


j


. If two signals are comparable, the intersection is equal to the upper quadrant from the dominant signal. Any signal in this quadrant will dominate both signals. The dominant signal, which also resides in this quadrant, is the least upper bounding signal. In

FIG. 7B

, the fast signal w


j


is the dominant signal and w must fall into the upper quadrant of w


j


. In

FIG. 7A

, the slow signal w


i


is the dominant signal and w must fall into the upper quadrant of w


i


. For the non-comparable case in

FIG. 7C

, the intersection of two upper quadrants can be obtained as follows. First, take the min constraint equation on w


j


and the max constraint equation on w


i


. Then, find the intersection, U, of the two lines. Any signal in the upper quadrant of U will dominate both w


i


and w


j


, and U is the least upper-bound signal. In the case that r


m


<0 due to the negative sensitivity, the slopes of lines representing the min constraints become positive as. shown in FIG.


7


D. Note that for non-comparable signals, the least upper-bound signal differs from either of the original signals. Thus, the bounding process requires the generation of new signals.




Now let us consider the general bounding problem involving more than two signals. Assume that there is a set of signals, W={w


1


, w


2


, . . . w


i


} at the same output pin of a gate. Let r


m


and r


M


be the sensitivity of the corresponding min and max constraints. The bounding problem is to find, for the late-mode worst-case timing, the least upper-bound signal which dominates all signals in W, and whereas, for the early-mode best-case timing, the greatest lower-bound signal which is dominated by all signals in W.




In

FIG. 8

, the lines are drawn to represent the min and max constraints for each signal, w


1


, w


2


, . . . w


i


. The lines for min constraints having the same slope are parallel to each other, and so are the lines for max constraints. The min and max path time of w


i


is x


i


=a


i


+r


m


*s


i


, and y


i


=a


i


+r


M


*s


i


. The min and max path time of an upper-bound signal w=(s,a) must satisfy x=a+r


m


*s≧x


i


and y=a+r


M


*s≧y


i


for every i. Hence, x≧max (x


1


, x


2


, . . . x


n


) and y≧max (y


1


, y


2


, . . . y


n


). Let U=(s


U


, a


U


) be the intersection point: x


U


=max(x


1


, x


2


, . . . x


n


) and y


U


=max(y


1


, y


2


, . . . y


n


). Then, x


U


≧x


i


and y


U


≧y


i


. U dominates w


i


and is an upper-bound signal. On the other hand, any bounding signal satisfies x≦x


U


and y≧y


U


. U is indeed the least upper-bound signal.




By similar analysis, the greatest lower-bound signal L can be derived for use in the early mode timing analysis, and thus we can state the following:




Proposition 1: For a set of signals, W={w


1


, w


2


, . . . w


n


}, let x


i


=a


i


+r


m


*s


i


, and y


i


=a


i


+r


M


*s


i


. The least upper-bound signal U=(s


U


, a


U


) is defined by a


U


+r


m


*s


U


=max(x


1


, x


2


, . . . x


n


) and a


U


+r


M


*s


U


=max(y


1


, y


2


, y


n


), whereas the greatest lower bound signal L=(s


L


, a


L


) is defined by a


L


+r


m


*s


L


=min(x


1


, x


2


, . . . x


n


) and a


L


+r


M


*s


L


=min(y


1


, y


2


, . . . y


n


).




(a) Computations for r


m


and r


M






Assume that signal, w=(s, a), is present at the output pin of gate i. Consider a path p from this output pin to a latch n. Let j be a gate in the fan-out of gate i, and q be the sub-path from the output pin of j to n. Let the signal at the output pin of gate j and the input pin of latch n be w


j


=(s


j


, a


j


) and w


n


=(s


n


, a


n


). Then from the delay rules of gate j, we have d


j


≡a


j


−a=ƒ


j


(s) and s


j


=g


j


(s). From the delay rules of path q, we have d


q


≡a


n


−a


j





q


(s


j


) and s


n


=g


q


(s


j


). The delay rules for path p can be defined by the following recursive formula:








g




p


(


s


)=(g


q




∘g




j


)(


s


)








ƒ


p


(


s


)=


a




n




−a


=(ƒ


j





q




∘g




j


)(


s


)  (15)






where ∘ is the chaining operator: ƒ∘g(s)=ƒ(g(s)). We then state the following:




Proposition 2: Assume that D


M


g≧D


m


g≧0. We have the following bounds on the slew sensitivity for composite functions, ƒ+g and ƒ∘g:




(a) D


M


(ƒ+g)≦D


M


ƒ+D


M


g and D


m


(ƒ+g)≧D


m


ƒ+D


m


g




(b) D


M


(ƒ∘g)≦max{D


M


ƒ*D


M


g, D


M


ƒ*D


m


g} and D


m


(ƒ∘g)≧min{D


m


ƒ*D


m


g, D


m


ƒ*D


M


g}.




Proposition 2 may be proven in the following manner. The slew sensitivity of ƒ+g is d(ƒ+g)(s))/ds=ƒ′(s)+g′(s) where ′ is the differentiation operator. Since the maximum point of ƒ+g does not maximize ƒ and g separately in general, we have D


M


(ƒ+g)≦D


M


ƒ+D


M


g. Similarly, the lower bound D


m


(ƒ+g)≧D


m


ƒ+D


m


g can be proven. The slew sensitivity of ƒ∘g, can be obtained from the chain rules as dƒ(g(s))/ds=ƒ′(g(s))*g′(s). Let s


m


and s


M


be the slew which minimizes and maximizes g′(s): D


m


g=g′(s


m


), D


M


g=g′(s


M


). By definition, D


m


ƒ≦ƒ′(g(s))≦D


M


ƒ, and 0≦D


m


g≦g′(s)≦D


M


g since all β's are assumed to be positive. Since D


M


ƒ and D


m


ƒ may be negative, min(D


m


ƒ*D


M


g, D


m


ƒ*D


m


g)≦ƒ′(g(s))*g′(s)≦max(D


M


ƒ*D


M


g, D


M


ƒ*D


m


g). If the sign of D


M


ƒ is positive, D


M


g*D


M


ƒ is an upper bound to D


M


(ƒ∘g). Otherwise, D


M


ƒ*D


m


g is an upper bound.




Applying Proposition 2 to equation (15), we obtain D


M


ƒ


p


≦max{α


Mj


+D


M


ƒ


q





Mj


, α


Mj


+D


M


ƒ


q





mj


} where α


mj


D


m


ƒ


j


, α


Mj


=D


M


ƒ


j


, β


Mj


=D


M


g


j


, and β


mj


=D


m


g


j


. Since the set of fan-out paths from gate i is the union of fan-out paths from all its immediate successor gates j, we have










r
Mi

=







max
p




D
M



f
p






max
j



{


α
Mj

+

max


{


max
q




(


D
M



f
q


)

*























β
Mj

,


max
q




(


D
M



f
q


)

*

β
mj




}


}

.













The same analysis applies to r


mi


. We obtain the recursive relations:















r
Mi




max
j



{


α
Mj

+

max


{



r
Mj

*

β
Mj


,


r
Mj

*

β
mj



}



}






(
16
)







r

m





i





min
j



{


α
mj

+

min


{



r
mj

*

β
Mj


,


r
mj

*

β
mj



}



}






(
17
)













This leads to the following algorithm to compute the slew sensitivity of constraints referred to herein as Algorithm trace_sensitivity:




(1) Sort the gate in the reverse order. That is, if there is a path from gate i to gate j, then place j before i.




(2) Initialize r


mi


and r


Mi


to 0 at latches. /*start the backward propagation through gates*/




(3) For each gate i, visit the set of successor gates {j} and compute r


Mi


and r


mi


as follows:




(a) If r


Mj


is positive, set r


Mij





Mj


+r


Mj





Mj


. Otherwise, set r


Mij





Mj


+r


Mj


+


Mj





mj


.




(b) If r


mj


is positive, set r


mij





mj


+r


mj





mj


. Otherwise, set r


mij





mj


+r


mj





Mj


.




(c) Compute r


Mi


and as the maximum of {r


Mij


} and r


mi


as the minimum of {r


mij


}.




Then we can start a forward propagation pass to compute the optimum arrival times using Proposition 1. The cost of this backward sweep algorithm is linear in the number of gates in the circuits.




We now deal with the case of positive α. For the case that α's are all positive, the slew sensitivities of constraints are also positive, and we have:















r
Mi




max
j




{


α
Mj

+


r
Mj

*

β
Mj



}






and






r

m





i







min
j



{


α
mj

+


r
mj

*

β
mj



}






(
18
)













Since β


Mk


≦β


M


and α


Mk


≦α


M


for all gates in the fan-out cone, r


M


for max constraint is bounded above by the series















k
=
1

,
N





α
M

*


(

β
M

)


k
-
1




,

or


:










r
Mi




α
M

*


(

1
-

β
M
N


)

/

(

1
-

β
M


)








(
19
)













where N is the maximum number of stages in the fan-out cone. Since the geometric series converges very fast, we can set N in equation (19) to infinity for computing the upper bound:







r




M


≦α


M


/(1−β


M


)  (20)




Since β


mk


≧β


m


and α


mk


≧α


m


for all gates in the fan-out cone, r


m


for min constraint is bounded below by the series















k
=
1

,
n





α
m

*


(

β
m

)


k
-
1




,

or


:










r

m





i





α
m

*


(

1
-

β
m
n


)

/

(

1
-

β
m


)








(
21
)













where n is the minimum number of stages in the fan-out cone. For signals at latches, n=0 and r


m


=0. For signals on path with at least one gate, n>0 and:








r




m


≧α


m


  (22)






For incomplete designs, in which the maximum (minimum) number of stages are unknown, equations (20) and (22) can be used for the max and min constraint.




(b) Methods Characterized by Two Slopes




Referring to

FIG. 9

, bounding signals in s-a plane are shown. It is to be appreciated that in sections III(b), III(c), and IV to VI, we focus on bounding signal methods for the worst case late-mode analysis, and then, in section VII, we focus on bounding signal methods for the best case early-mode analysis. The shaded area in

FIG. 9

shows the feasible quadrant for the upper bound of two non-comparable signals, w


i


and w


j


(s


i


≧s


j


). For any point w=(s, a) in the s-a plane, we can draw two lines, one through w


j


and the other one through w


i


. Let the slopes of these lines be −r


1


and −r


2


. Then:








a+r




1


*


s=u




j




=a




j




+r




1


*


s




j


and


a+r




2


*


s=v




i




=a




i




+r




2


*


s




i


  (23)






On the other hand, given r


1


and r


2


, we can solve equation (23) for a and s:








s


=(


v




i




−u




j


)/(


r




2





r




1


)=(


a




i




−a




j




+r




2


*


s




i




−r


*


1




s




j


)/(


r




2





r




1


)










a


=(


r




2


*


u




j




−r




1


*


v




i


)/(


r




2





r




1


)=(−


r




1


*


a




i




+r




2


*


a




j




−r




1


*


r




2


*(


s




i




−s




j


))/(


r




2





r




1


)  (24)






Given r


1


and r


2


, equation (24) provides a formula for constructing a representative signal from two signals. Not all values are good for r


1


and r


2


. If we want the signal to reside in the feasible quadrant within the slew range [s


j


, s


i


], then the slopes have to satisfy the following bounds:








w


(from equation (24))≧


w




i




, w




j


, if


r




2





r




M




≧r




m




≧r




1


  (25)






The construction methods with two slopes can be extended to the general case when there is a set of signals, W={w


1


, w


2


, . . . w


i


} present at the same gate output. First, a representative signal w


12


is constructed for a pair of signals, say the first two. Then, a representative signal w


123


for a triplet of signals is constructed with w


12


and a third signal. This process can be continued recursively, and leads to the following generalization of equation (23) for the representative signal (s,a):








a+r




1


*


s


=max(


u




1




, u




2




, . . . u




n


) and


a+r




2


*


s


=max(


v




1




, v




2




, . . . v




n


),








where


u




k




=a




k




+r




1


*


s




k


, and


v




k




=a




k




+r




2


*


s




k


for


k=


1, 2, . . .


n.


  (26)






The following proposition can then be stated:




Proposition 3: In the general case with a set of signals W, if r


2


≧r


M


≧r


m


≧r


1


, then the signal point defined by equations (24) and (26) is inside the feasible quadrant formed by constraints r


M


and r


m


.




This can be proven in the following manner. Let w


i


be the signal with maximum a+r


m


*s and w


j


be the signal with maximum a+r


M


*s. From w


i


and w


j


, we construct two signals: U=(s


U


, a


U


) at the intersection of lines of slopes −r


m


and −r


M


, and w


k


=(s


k


, a


k


) at the intersection of lines of slopes −r


1


and −r


2


. According to equation (25), w


k


≧U and thus satisfies the min and max constraint equations: a


k


+r


m


*s


k


≧x


U


and a


k


+r


M


*s


k


≧y


U


where x


U


+a


U


+r


m


*s


U


and y


U


=a


U


+r


M


*s


U


. With substitution from equation (24), the min constraint is transformed to (r


2


*u


j


−r


1


*v


i


+r


m


*(v


i


−u


j


))/(r


2


−r


1


)≧x


U


, or equivalently (r


2


−r


m


)*u


j


+(r


m


−r


1


)*v


i


≧x


U


*(r


2


−r


1


). Let w=(s, a) be the signal constructed with equation (26). Since u=a+r


1


*s≧u


j


and v=a+r


1


*s≧v


i


, we have (r


2


−r


m


)*u+(r


m


−r


1


)*v≦(r


2


−r


m


)*u


j


+(r


m


−r


1


)*v


i


≧x


U


*(r


2


−r


1


), and w also satisfies the min constraint. Similarly, it can be proven that w satisfies the max constraint. Therefore, w is inside the upper quadrant of U. According to Proposition 1, w is feasible.




Methods from Section II for positive α can all fit into this characterization scheme. The corresponding values for r


1


and r


2


are listed in Table 2 below. Point S (the maximum slew method) with r


1


=0 and r


2


=∞ is definitely inside the feasible quadrant. The latest selection method picks the fast-rise later signal w


j


, which is outside the feasible quadrant. H and F will fall in the feasible quadrant, if r


2


=0.5≧r


M


. From equation (20), this translates into a sufficient condition: 1≧2α


M





M


, which is one of our assumptions, i.e., equation (8).




Four new points, M, MS, mS and U, are shown in Table 2. M has the same arrival time as S, but with slew less than both H and S. MS has the maximum slew and an arrival time earlier than S. mS has the minimum slew and an arrival time later than S. U is the optimal upper bound signal.




It can be proven that equations (24) and (26) can be reduced to equation (9) when appropriate r


1


and r


2


are substituted. For example, for the half envelope method (r


1


=0, r


2


=0.5), x


i


=a


i


, y


i


=a


i


+0.5*s


i


=t


i


, and the signal with maximum a


i


and maximum t


i


is selected.




It is to be appreciated that with respect to methods in Table 2: If r


m


becomes negative due to negative α's, then points M, H, and S become infeasible, and this leaves U, F, MS and mS as the only valid methods for worst-case timing analysis.
















TABLE 2











Methods




r1




r2




























j: Latest arriving




0







i





j


)/(s


i


/s


j


)







S: Max slew




0












H: Half envelope




0




0.5







F: Full envelope




−0.5




0.5







M: Modified half envelope




0




r


M

















MS: Modified max slew




r


m














mS: Modified min slew




−∞




r


M









U: Least upper bound




r


m






r


M

















(c) Monotonicity




Monotonic delay is often a desired property which can be used to speed up the circuit timing and tuning process. According to the invention, we present the following definition for monotonicity:




For a set of signals, W={w


1


, w


2


, . . . w


n


}, let w


i


be the one with maximum a+r


1


*s and w


j


be the one with maximum a+r


2


*s. Then s and a of the representative signal from equations (24) and (26) are functions of four variables a


i


, a


j


, s


i


, s


j


, and so are the min and max path times: x=a+r


m


*s and y=a+r


M


*s. Since the arrival times at latches are monotonic increasing functions of the min and max path times, we shall say the representative signal construction method preserves the monotonic property, if x and y are monotonic increasing with all four variables a


i


, a


j


, s


i


, s


j


.




Therefore, to satisfy the monotonic property, the partial derivatives of min and max path times with respect to a


i


, a


j


, s


i


, s


j


, need to be either zero or positive. In other words, the 4-dimensional gradient vectors ∇x=(∂x/∂a


i


, ∂x/∂a


j


, ∂x/∂s


i


, ∂x/∂s


j


) and ∇y=(∂y/∂a


i


, ∂y/∂a


j


, ∂y/∂s


i


, ∂y/∂/s


j


) must not contain any negative derivative. From equation (24), we have ∇s=(1, −1, r


2


, −r


1


)/(r


2


−r


1


) and ∇a=(−r


1


, r


2


, −r


1


*r


2


, r


1


*r


2


)/(r


2


−r


1


) for the case of constant r


1


and r


2


. This leads to:









x


=(


r




m




−r




1


,


r




2




−r




m




, r




2


*(


r




m




−r




1


),


r




1


*(


r




2





r




m


))/(


r




2





r




1


)






 ∇


y


=(


r




M




r




1


,


r




2





r




M




, r




2


*(


r




M




−r




1


),


r




1


*(


r




2





r




M


))/(


r




2





r




1


)  (27)




Under the assumptions that r


2


≧r


M


≧r


m


≧r


1


, the derivatives of x and y with respect to a


i


, a


j


are never negative, while the sign of derivatives with respect to s


i


(s


j


) are the same as that of r


2


(r


1


). If r


1


>0, then there are no negative derivatives. Thus we have proven the following proposition:




Proposition 4: The method using two constant slopes r


1


and r


2


, such that r


2


≧r


M


≧r


m


≧r


1


≧0, preserves the monotonic property.




The latest arriving method is not monotonic as described in the background section. Because of negative r


1


, points F and mS are also not monotonic. For the case that r


m


≧0, points S, H, M, MS and U preserves the monotonic property. For the case that r


M


≧0 and r


m


≦0, points S, H and M preserve the monotonic property but are not feasible, while points U, F, mS and MS do not preserve the monotonic property but are feasible. For the case that r


M


≦0 and r


m


≦0, only the infeasible point S preserves the monotonic property.




IV. Multiple Signal Technique




Where further accuracy is required, the present invention provides a multiple signal approach. The multiple signal approach is described in the context of FIG.


10


. For example, in

FIG. 10

, three fan-out gates have different slew-dependent rules, d


1


, d


2


, d


3


. The arrival times at these outputs, a′


1


, a′


2


, a′


3


, for three signals w


1


, w


2


, W


3


, are listed in the first three columns of Table 3 below. At output a′


1


, w


1


produces the latest signal. At output a′


2


, w


2


produces the latest signal. At output a′


3


, w


3


produces the latest signal. No single signal can be chosen to generate the latest signals at all outputs. The arrival time from several bound methods are also listed in Table 3. No bound method gives the correct latest arrival time for all three outputs. The least upper bound method U predicts the correct a′


1


and a′


3


, but the wrong a′


2


. Therefore, to compute the true latest arrival times at all latches, we need to store and propagate a set of signals, which contain the combinations of all possible slew and arrival times.























TABLE 3











w


1


=




w


2


=




w


3


=














(s


1


,




(s


2


,




(s


3


,














a


1


)




a


2


)




a


3


)




U




M




H




F




S




mS




MS


































a'


1






50




49




46




50




50




58




64




66




50




54






a'


2






44




45




44




46




47.2




53.6




60.8




60




48




48






a'


3






38




41




42




42




44.4




49.2




49.2




54




46




42














However, the signal set may grow very large in size, as it propagates through a large circuit network. Advantageously, we can use the dominance relation ≧ to trim out those signals, which are dominated by other signals. In other words, we need to consider only maximal signals. A maximal signal is defined as one which no other signal dominates, and a maximal signal set is defined as the subset consisting of maximal signals. Since the dominance order of signals will not change during the propagation through the circuit, the worst-case timing can be computed using waveforms represented by the maximal signal set. The maximal signal set can be obtained by a simple sorting, according to Proposition 5 below. An example of sorted maximal signal set is shown in FIG.


8


.




Proposition 5: For a maximal signal set, W={w


1


, w


2


, . . . w


n


}, let x


i


=a


i


+r


m


*s


i


and y


i


=a


i


+r


M


*s


i


. Then:




(1) All x


i


's and y


i


's are distinct.




(2) If {x


i


} is sorted in a strictly descending sequence, then {y


i


} will be sorted simultaneously in a strictly ascending sequence.




This may be proven in the following manner. For the first part, let us assume that x


i


=x


j


. If y


i


>y


j


, then w


j


is not maximal. If y


i


<y


j


, then w


i


is not maximal. Both lead to contradiction. So x


i


≠x


j


. In a similar way, we can prove that all y


i


's are distinct. For the second part, we observed that if x


i


>x


j


and y


i


>y


j


, then w


i


>w


j


. Therefore, x


i


's and y


i


's are in the opposite order.




The trimming mechanism by the maximal set is very powerful as is illustrated in the experiment discussed in Section VI. According to the principle of causality, one of two non-overlapping signals will dominate the other. So the maximal signal set will contain only overlapping signals. If r's and the maximal set are not available, we can use the set of overlapping signals instead in the signal propagation.




V. Static Timer Implementation




Referring now to

FIG. 11

, a flow diagram of a static timer implementation of a signal bounding computation process according to the invention is shown. An exemplary hardware implementation of a static timer employing bounding signal computation according to the invention will be given in the context of FIG.


12


.




First, in step


100


of

FIG. 11

, the circuit schematics of the VLSI chip on which static timing analysis is to be performed are input to the static timer. The schematics include the gates, latches and paths associated with the circuit and may be input in any conventional manner. In step


110


, the gates of the circuit are levelized. That is, the gates are sorted in order and assigned levels. Next, in step


120


, a user selects the method that is preferred for the particular input circuit, e.g., a method from Table 2 above. The user's method selection is preferably entered at the same time the circuit schematic is specified. Given the user's selection, the slew sensitivity of the maximum and minimum constraints is computed in accordance with the Algorithm trace_sensitivity above and Table 2.




In step


140


, signals are propagated from primary inputs through wires to inputs of level-1 gates. A gate is then taken from the ordered list, in step


150


. Signals representing the arrival time and slew are computed at the gate output according to equations (1) and (2) above. Then, in step


160


, the representative signal (s, a) is computed with the arrival time and slew according to equation (26) above. The signals computed in steps


150


and


160


are then propagated through connecting wires to the input pins of fan-out gates, in step


170


, adding the net delay if significant.




In step


180


, it is determined if there are any more gates in the circuit. If there are more gates, steps


150


through


170


are iteratively repeated for each gate. If all gates in the input schematic have been processed, then a timing report representing the results of the static timing analysis is output to the user in step


190


.




Referring now to

FIG. 12

, an exemplary hardware implementation of static timer apparatus employing bounding signal computation according to the invention is shown. In this implementation, a static timer system includes a processor


210


, memory


220


and I/O devices


230


. Processor


210


performs the steps of the methodologies of the invention described herein, e.g., the illustrative bounding signal computation described in FIG.


11


. The processor


210


employs memory


220


in performing such operations, e.g., storing user input selections and circuit schematics, etc. Memory


220


may also store software code for implementing the methodologies for execution by the processor


210


. I/O devices


230


may include a keyboard, mouse, etc., for allowing a user to input data for use by the invention and a display, printer, etc.; for presenting a user with results associated with the processor operations, e.g., timing report, etc.




Referring now to

FIG. 13

, a diagram is shown illustrating a timing analysis flow using a least upper bound signal process according to the invention. The example follows the steps of the illustrative process of FIG.


11


. It is to be appreciated that subscript U will be used in this example to denote the arrival time and slew computed with the least upper bound method. For simplicity, wire delay is assumed to be zero in this example.




First, the user specifies the schematic of

FIG. 13

as the circuit schematic and the least upper bound method as the desired method (steps


100


and


120


). The schematic includes gates


0


,


1


,


2


and


3


. The gates are sorted in the following order: 0, 1, 2, 3 (step


110


). Gate


0


is at level


1


, while gates


1


,


2


and


3


are at level


2


. Then, following the reverse order of gates, the Algorithm trace_sensitivity is performed to compute r


m


and r


M


for each gate (step


130


). So, in this example, gates


1


,


2


and


3


have r


m


=0 and r


M


=0, and gate


0


has r


m


=0.15 and r


M


=0.25. Then, we set r


1


to r


m


and r


2


to r


M


according to Table 2, since the least upper bound is the method the user selected.




Next the signals denoted by s


1




i


, a


1




i


, and s


2




i


, a


2




i


, and s


3




i


, a


3




i


are propagated from primary inputs to the inputs of gate


0


(step


140


). The corresponding three signals (s


1


, a


1


), (s


2


, a


2


), (s


3


, a


3


) are then computed at the output of gate


0


(step


150


). From these three signals, the bounding signal is computed (step


160


) by solving equation (26) to yield (s


U


=80, a


U


=10). The bounding signal (s


U


, a


U


) is then propagated to the inputs of gates


1


,


2


and


3


(step


170


). The signals are propagated through gate


1


in the same way (step


180


). Since only one signal (s


U


, a


U


) remains at the input of gate


1


, it is the one to propagate to the next stage, which in this example is a primary output. The signals are also propagated through gates


2


and


3


in the same way (step


180


). Lastly, the bounding signals are reported at the primary outputs (step


190


).




VI. Experimental Results




To assess the accuracy of these different methods, the following experiments are performed on ISCAS benchmark circuits. Linear delay rules are used: gate delay=100 ps+0.25*(Tx−200 ps)+100 ps*(gain−1), and gate output slew=200 ps+0.4*(Tx−200 ps)+200 ps*(gain−1), where Tx is the input slew and gain is the ratio of capacitance load over the input capacitance. For simplicity, we assume that all gates have the same size, and the gain is equal to the number of fan-outs. Sharp signals with zero slew are fed into primary inputs and latches at time 0. Because of the slew-dependent delay rule, the signal slew will gradually increase and spread into a range between 0 and some maximum slew value after propagating through gates.




Six timing runs are done: the exact multiple signal method (E), the latest arriving method (late), the max slew method (S), the full envelope method (F), the half envelope method (H), and the upper bound method (U). Table 4 lists the maximum difference of worst-case delay at primary outputs between the last five methods and the exact method. The latest arriving method gives too optimistic timing in the case of circuit c432. The maximum slew method is the most pessimistic method among the five. The full envelope method sometimes yields modest error. The half envelope method performs better than the full envelope method, while the upper.bound method produces the best result among the five. In this experiment, the number of signals in the maximal signal set never exceeds 10, because of the trimming. Hence, the exact method with multiple signals is also be a viable solution. In the real circuit with different gate sizes and the range of slew larger, we may encounter situations that the slew has a larger effect on the timing.


















TABLE 4











Latest




max




Full




Half




Upper







arriving




slew




envelope




envelope




bound































Ckt




late - E




S - E




F - E




H - E




U - E


















C17




0




0




0




0




0







C432




−61




60




35




18




6







C499




0




0




0




0




0







C880




0




40




8




7




0







C1355




0




0




0




0




0







C1908




0




0




0




0




0







C2670




0




20




8




3




0







C3540




0




0




0




0




0







C5315




0




132




0




0




0







C6288




0




20




4




4




0







C7552




0




2692




402




365




0















VII. Early-mode Signals




The best case early-mode signals may be obtained in a similar fashion to the late-mode signal. Let us consider the example in

FIG. 9

of two non-comparable signals, w


i


and w


j


(s


i


≧s


j


). For any point w=(s, a) in the feasible region for the early signals, i.e., the lower quadrant of the s-a plane, we can draw two lines, one through w


i


and the other one through w


j


. Let the slope of the line drawn between w


i


and w be −r


1


; and the slope of the line drawn between w


j


and w be −r


2


. Then, the signal w is given by:








a+r




1


*


s=u




i




=a




i




+r




1


*s


i


and


a+r




2


*


s=v




j




=a




j




+r




2


*


s




j


  (28)






In the general case when there is a set of signals, W={w


1


, w


2


, . . . w


i


} present at the same gate output, a similar argument used for the late-mode signals can be applied here. From equation (26), we obtain the following corresponding equation for the representative early-mode signal:








a+r




1


*


s


=min(u


1


, u


2


, . . . u


n


) and


a+r




2


*


s


=min(


v




1




, v




2




, . . . v




n


),








where


u




k




a




k




+r




1


*


s




k


, and


v




k




=a




k




+r




2


*


s




k


for


k=


1, 2, . . .


n.


  (29)






The corresponding methods for early-mode signals are i for the traditional early arriving method, S′ for the minimum slew method, H′ for the half envelope method, F′ for the full envelope method, M′ for the modified half envelope method, MS′ for the modified minimum slew method, mS′ for the modified maximum slew method, and L for the greatest lower bound method. These early signals are marked in FIG.


9


and the corresponding slopes, r


1


and r


2


are listed in Table 5 below.
















TABLE 5











Methods




r1




r2




























i: Earliest arriving




0







i





j


)/(s


i


-s


j


)







S′: Min slew




0












H′: Half envelope




0




0.5







F′: Full envelope




−0.5




0.5







M′: Modified half envelope




0




r


M

















MS′: Modified min slew




r


m














mS′: Modified max slew




−∞




r


M









L: Greatest lower bound




r


m






r


M

















It is to be appreciated that a static timer implementation such as is illustrated in

FIG. 11

may also include early-mode analysis in accordance with Table 5 and equation (29). As such, the steps of the method shown in

FIG. 11

in which early-mode analysis is added parenthetically indicate the early-mode analysis portion, i.e., steps


130


and


160


.




Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit of the invention.



Claims
  • 1. A method for use in signal timing analysis with respect to a circuit having at least one gate, the method comprising the steps of:determining a first constraint slew sensitivity value (r1) and a second constraint slew sensitivity value (r2) for the gate according to a specified bounding technique; and computing a representative signal for the gate in accordance with the first and second values including an arrival time and slew rate, wherein the representative signal bounds signal paths by bounding a maximum slew sensitivity path and a minimum slew sensitivity path.
  • 2. The method of claim 1, wherein the bounding technique is a half envelope technique wherein r1 is about zero and r2 is about 0.5.
  • 3. The method of claim 1, wherein the bounding technique is a full envelope technique wherein r1 is about −0.5 and r2 is about 0.5.
  • 4. The method of claim 1, wherein the bounding technique is a modified half envelope technique wherein r1 is about zero and r2 is a maximum constraint slew sensitivity value.
  • 5. The method of claim 1, wherein the computed signal is representative of a worst case arrival time and slew rate.
  • 6. The method of claim 5, wherein the bounding technique is a maximum slew technique wherein r1 is about zero and r2 is substantially infinite.
  • 7. The method of claim 5, wherein the bounding technique is a modified maximum slew technique wherein r1 is a minimum constraint slew sensitivity value and r2 is substantially infinite.
  • 8. The method of claim 5, wherein the bounding technique is a modified minimum slew technique wherein r1 is substantially negatively infinite and r2 is a maximum constraint slew sensitivity value.
  • 9. The method of claim 5, wherein the bounding technique is a least upper bound technique wherein r1 is a minimum constraint slew sensitivity value and r2 is a maximum constraint slew sensitivity value.
  • 10. The method of claim 1, wherein the computed signal is representative of a best case arrival time and slew rate.
  • 11. The method of claim 10, wherein the bounding technique is a minimum slew technique wherein r1 is about zero and r2 is substantially infinite.
  • 12. The method of claim 10, wherein the bounding technique is a modified minimum slew technique wherein r1 is a minimum constraint slew sensitivity value and r2 is substantially infinite.
  • 13. The method of claim 10, wherein the bounding technique is a modified maximum slew technique wherein r1 is substantially negatively infinite and r2 is a maximum constraint slew sensitivity value.
  • 14. The method of claim 10, wherein the bounding technique is a greatest lower bound technique wherein r1 is a minimum constraint slew sensitivity value and r2 is a maximum constraint slew sensitivity value.
  • 15. The method of claim 1, wherein the circuit includes a plurality of gates.
  • 16. The method of claim 15, further including the step of assigning levels to the plurality of gates prior to determining the first constraint slew sensitivity and second constraint slew sensitivity values for each of the plurality of gates.
  • 17. The method of claim 16, further including the step of propagating signals from inputs of the circuit to an input of the first gate at the first level, each signal representing an arrival time and slew rate.
  • 18. The method of claim 17, further including the step of computing signals at an output of the first gate at the first level, the signals corresponding to respective gates at a next level to which the first gate at the first level is connected, and each signal representing an arrival time and slew rate.
  • 19. The method of claim 18, wherein the representative bounding signal is computed from the signals computed at the output of the first gate at the first level.
  • 20. The method of claim 19, wherein a representative bounding signal is computed for each gate at each level.
  • 21. The method of claim 20, wherein the representative bounding signals for each gate are presented to a user in a timing report.
  • 22. Apparatus for use in signal timing analysis with respect to a circuit having at least one gate, the apparatus comprising:at least one processor operative to determine a first constraint slew sensitivity value and a second constraint slew sensitivity value for the at least one gate according to a specified bounding technique, and to compute a representative signal for the gate in accordance with the first and second values including an arrival time and slew rate, wherein the representative signal bounds signal paths by bounding a maximum slew sensitivity path and a minimum slew sensitivity path; and memory coupled to the at least one processor which stores one or more of the computed values or signals.
  • 23. The apparatus of claim 22, wherein the bounding technique is a half envelope technique wherein r1 is about zero and r2 is about 0.5.
  • 24. The apparatus of claim 22, wherein the bounding technique is a full envelope technique wherein r1 is about −0.5 and r2 is about 0.5.
  • 25. The apparatus of claim 22, wherein the bounding technique is a modified half envelope technique wherein r1 is about zero and r2 is a maximum constraint slew sensitivity value.
  • 26. The apparatus of claim 22, wherein the computed signal is representative of a worst case arrival time and slew rate.
  • 27. The apparatus of claim 26, wherein the bounding technique is a maximum slew technique wherein r1 is about zero and r2 is substantially infinite.
  • 28. The apparatus of claim 26, wherein the bounding technique is a modified maximum slew technique wherein r1 is a minimum constraint slew sensitivity value and r2 is substantially infinite.
  • 29. The apparatus of claim 26, wherein the bounding technique is a modified minimum slew technique wherein r1 is substantially negatively infinite and r2 is a maximum constraint slew sensitivity value.
  • 30. The apparatus of claim 26, wherein the bounding technique is a least upper bound technique wherein r1 is a minimum constraint slew sensitivity value and r2 is a maximum constraint slew sensitivity value.
  • 31. The apparatus of claim 22, wherein the computed signal is representative of a best case arrival time and slew rate.
  • 32. The apparatus of claim 31, wherein the bounding technique is a minimum slew technique wherein r1 is about zero and r2 is substantially infinite.
  • 33. The apparatus of claim 31, wherein the bounding technique is a modified minimum slew technique wherein r1 is a minimum constraint slew sensitivity value and r2 is substantially infinite.
  • 34. The apparatus of claim 31, wherein the bounding technique is a modified maximum slew technique wherein r1 is substantially negatively infinite and r2 is a maximum constraint slew sensitivity value.
  • 35. The apparatus of claim 31, wherein the bounding technique is a greatest lower bound technique wherein r1 is a minimum constraint slew sensitivity value and r2 is a maximum constraint slew sensitivity value.
  • 36. The apparatus of claim 22, wherein the circuit includes a plurality of gates.
  • 37. The apparatus of claim 36, wherein the processor is further operative to assign levels to the plurality of gates prior to determining the first constraint slew sensitivity and second constraint slew sensitivity values for each of the plurality of gates.
  • 38. The apparatus of claim 37, wherein the processor is further operative to propagate signals from inputs of the circuit to an input of the first gate at the first level, each signal representing an arrival time and slew rate.
  • 39. The apparatus of claim 38, wherein the processor is further operative to compute signals at an output of the first gate at the first level, the signals corresponding to respective gates at a next level to which the first gate at the first level is connected, and each signal representing an arrival time and slew rate.
  • 40. The apparatus of claim 39, wherein the representative bounding signal is computed from the signals computed at the output of the first gate at the first level.
  • 41. The apparatus of claim 40, wherein a representative bounding signal is computed for each gate at each level.
  • 42. The apparatus of claim 41, wherein the representative bounding signals for each gate are presented to a user in a timing report.
  • 43. An article of manufacture for use in signal timing analysis with respect to a circuit having at least one gate, comprising a machine readable medium containing one or more programs which when executed implement the steps of:determining a first constraint slew sensitivity value (r1) and a second constraint slew sensitivity value (r2) for the gate according to a specified bounding technique; and computing a representative signal for the gate in accordance with the first and second values including an arrival time and slew rate, wherein the representative signal bounds signal paths by bounding a maximum slew sensitivity path and a minimum slew sensitivity path.
US Referenced Citations (5)
Number Name Date Kind
5508937 Abato et al. Apr 1996 A
5535145 Hathaway Jul 1996 A
5651012 Jones et al. Jul 1997 A
6145117 Eng Nov 2000 A
6301693 Naylor et al. Oct 2001 B1
Non-Patent Literature Citations (9)
Entry
Venkatesh et al, “Timing Abstraction of Intellectual Property Blocks,” IEEE, May 1997, pp. 99-102.*
Kayssi et al, “Analytical Transitient Response of CMOS Inverters,” IEEE, Jan. 1992, pp. 42-45.*
Xiao et al, “Worst Delay Estimation in Crosstalk Aware Static Timing Analysis,” IEEE, Sep. 2000, pp. 115-120.*
R.B. Hitchcock, Sr. et al., “Timing Analysis of Computer Hardware,” IBM J. Res. Develop., vol. 26, No. 1, pp. 100-105, Jan. 1982.
J.K. Ousterhout, “A Switch-Level Timing Verifier for Digital MOS VLSI,” IEEE Transactions on Computer-Aided Design, vol. CAD-4, No. 3, pp. 336-348, Jul. 1985.
N. Hedenstierna et al., “CMOS Circuit Speed and Buffer Optimization,” IEEE Transactions on Computer-Aided Design, vol. CAD-6, No. 2, pp. 270-281, Mar. 1987.
K.A. Sakallah, et al., “checkTc and minTc: Timing Verification and Optimal Clocking of Synchronous Digital Circuits,” Proc. ICCAD, pp. 552-555, Nov. 1990.
T.G. Szymanski et al., “Verifying Clock Schedules,” Proc. ICCAD, pp. 124-131, Nov. 1992.
J-F Lee et al., “A Timing Analysis Algorithm for Circuits with Level-Sensitive Latches,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 15., No. 5, pp. 535-543, May 1996.