This invention relates to a method, an apparatus and a program for analyzing the jitter. More particularly, it relates to a method, an apparatus and a program for analyzing the jitter ascribable to the noise of the power supply of a semiconductor integrated circuit.
In keeping up with increase in the system operating speed in recent years, the necessity for jitter analysis is increasing. In particular, in keeping up with increase in the data communication speed among LSIs (large scale integrated circuits), the need for analyzing the jitter (I/O jitter) of LSI output signals is increasing. In such analysis, it is necessary to analyze the power supply noise as a major factor responsible for jitter.
In Patent Document 1, there is disclosed a technique for carrying out simulation for a circuit system, including an oscillator, using a functional model which has modeled the phenomenon of jitter generation when noise is applied to an oscillator.
In Non-Patent Document 1, which is not directly relevant to the method or apparatus for jitter analysis, there is disclosed a technique in which the power supply noise responsible for jitter is simulated on the presupposition that the power supply interconnection is of a meshed configuration.
Patent Document 1
JP Patent Kokai Publication No. JP-P2003-216676A
Non-Patent Document 1
Jiro IWAI et al., “Development of VLSI power supply analysis system PowerSpective”, Proceedings of DA Symposium 2003, Information Processing Society of Japan, July 2003, pp. 49-54
However, there lacks up to now a method, an apparatus or a program whereby both the power supply noise generated and the jitter attributable thereto may be comprehensively analyzed within a reasonable length of time. Thus there is much to be desired in the art in this connection.
According to an aspect of the present invention, there is provided a method for analyzing jitter. The method comprises the steps of: formulating a power supply LRC model by extracting interconnection resistance, interconnection capacitance and interconnection inductance of a power supply from circuit layout data, formulating an analysis model by connecting a transistor model to the power supply LRC model, and effecting circuit simulation for the analysis model to output jitter analysis data.
In the jitter analysis method according to the present invention the analysis model comprises a power supply noise analysis model for simulating the power supply noise. In the jitter analysis method, the step of effecting circuit simulation for the analysis model to output jitter analysis data includes a sub-step of effecting first circuit simulation for the power supply noise analysis model to find a power supply noise waveform; a sub-step of formulating a jitter analysis model of a circuit as a subject of jitter analysis; and a sub-step of effecting second circuit simulation, using a power supply noise waveform as found by the first circuit simulation, to output the jitter analysis data.
In another aspect of the present invention, there is provided an apparatus for analyzing the jitter. The apparatus comprises a power supply LRC model extracting means for formulating a power supply LRC model by extracting interconnection resistance, interconnection capacitance and interconnection inductance of a power supply from circuit layout data, an analysis model formulating means for formulating an analysis model by connecting a transistor model to the power supply LRC model, and analyzing means for effecting circuit simulation for the analysis model to output jitter analysis data.
The analysis model formulating means includes power supply noise analysis model formulating means for formulating a power supply noise analysis model for simulating power supply noise, and a jitter analysis model formulating means for formulating a jitter analysis model for simulating the jitter analysis. The jitter analyzing means includes power supply noise simulating means for effecting circuit simulation for the power supply noise analysis model to output a power supply noise waveform, and jitter analysis simulating means for effecting circuit simulation using the power supply noise waveform for the jitter analysis model to output a jitter waveform.
The method and the apparatus according to the present invention may also be implemented by a computer program.
The meritorious effects of the present invention are summarized as follows.
According to the present invention, the power supply noise and the jitter attributable to the power supply noise may comprehensively be analyzed for a circuit such as LSI.
For clarifying the above and other features of the present invention, certain preferred embodiments of the present invention will now be explained in detail with reference to the drawings.
An analysis model formulating means 612 then connects a noise source model 607, a silicon substrate model 608, a static capacitance model 609, a transistor model 610 and a package/board model to the power supply LRC model 606 to output an analysis model 613 for analysis of both the power supply noise and jitter.
An analysis execution means 614 carries out circuit simulation on the analysis model 613 to find a power supply noise waveform and a jitter waveform together, to output jitter analysis data 615.
The processing flow of a first embodiment of the present invention will now be explained.
In a step S1 “input LSI power supply layout”, the LSI power supply layout information is entered in a pre-existing data form, such as DEF or GDS2. Alternatively, the power supply layout information (pitch or width of the interconnection) of the initial designing stage, such as a floor plan, is entered.
In the next step S2 “extract and reduce power supply LRC”, layout parameters (inductance, resistance and capacitance) are extracted for the above power supply layout to formulate a power supply model. The circuit parameters extracted are reduced, as necessary.
In the next step S3 “connect noise source/static capacitance/substrate model”, a model for the noise source, static capacitance and a silicon substrate for the above power supply model is prepared, as necessary, and connected to the power supply model.
The noise source may be modeled as a current source element employing a simplified power supply current waveform formulated based on e.g., the power consumption. On the other hand, the static capacitance may be calculated by calculating the capacitance per cell, using device parameters from a cell library, and by then multiplying the so calculated capacitance with the number of cells as obtained from the cell data. The substrate model may be modeled by preparing an orderly resistance mesh, e.g., based on the resistivity of the substrate material, and by connecting the so prepared resistance mesh to the above power supply model via a resistor or resistors.
In the next step S4 “connect transistor model”, a SPLICE model (model for circuit simulation) of a transistor is connected to the above-mentioned power supply model, as a circuit acting as a noise source, or a circuit subjected to noise. In this case, reference may be made to the layout data in order to determine the position of connection to the power supply model. The transistor models may also be connected to one another as necessary.
In the next step S5 “connect package/board model”, the model of the LSI package and the board (printed circuit board) is connected to the above power supply model (or to a device connected to the above power supply model). For the package/board model, a simplified concentrated constant model may be used. Alternatively, the model may be formulated using an extraction program.
For connecting the respective models to the power supply model, in the above steps S3 to S5, reference may be made to the layout data to determine the position of connection to the power supply model.
In the next step S6 “circuit simulation’, circuit simulation is carried out under preset conditions, using the models for analysis, prepared as described above.
In the final step S7 “output power supply noise/jitter waveform”, the waveform of the power supply noise or the jitter is output, based on the results of the above circuit simulation.
Meanwhile, the processing for jitter analysis of the above steps S1 to S7 may be carried out on a computer, such as EWS, in accordance with a program. In this case, the computer for executing the program becomes the apparatus for jitter analysis shown in
With the present first embodiment, in which the power supply LRC is extracted and modeled to carry out circuit simulation, the circuit simulation for analysis of power supply noise or jitter may be executed accurately speedily.
Moreover, since the simulation for finding the power supply noise waveform and the simulation for analyzing the jitter are carried out simultaneously at a time, there is merit that, in case the circuit scale is not so large, the desired result may be obtained by a sole operation for simulation.
A second embodiment of the present invention will now be explained.
In the second embodiment, the blocks similar in configuration and operation to those of the jitter analysis apparatus of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and the corresponding description is omitted for simplicity. The jitter analysis apparatus of the second embodiment differs from the apparatus of the first embodiment in that analysis model formulating means 812 separately outputs a model for analysis of the power supply model 813 and a model for jitter analysis 817, and in that analysis executing means 814 causes power supply noise waveform data 816, obtained as a result of the circuit simulation, to be stored in e.g. a file, and exploits the power supply noise waveform data 816, stored in e.g. the file, as input data, to carry out the circuit simulation, when the analysis is to be effected next time.
The processing flow of the second embodiment of the present invention will now be explained.
In the step of “output power supply noise waveform” S77, the power supply noise waveform, output from the circuit simulation step S76, is output to and stored in e.g., a file, as power supply noise waveform data 816.
In the next step S78 “formulate jitter analysis model”, a model for jitter analysis 817 is prepared. Since the power supply noise waveform is already saved as the power supply noise waveform data 816, it is sufficient to prepare a model for jitter analysis 817 based only on e.g. transistors needed for jitter analysis, while the transistors needed only for power supply noise analysis may be omitted.
In a “circuit simulation” step S79, a power supply noise waveform, stored in a file in the step S77 “output power supply noise waveform”, is used, and circuit simulation is carried out for the jitter analysis model prepared in the step S78 “formulate jitter analysis model”, and the jitter waveform is output as jitter analysis data 815.
In the model for analysis of the power supply noise 813 of the first stage, power supply voltage variations (power supply noise waveform) in the power supply part of the circuit suffering from noise, are observed in a model from which the circuit suffering from noise has been omitted, as shown in
In the model for jitter analysis 817 of the second stage, simulation is carried out for the circuit model made up by the circuit suffering from noise and a voltage source element, as shown in
Although only one power supply noise waveform is given in
If the circuit suffering from noise is connected to plural power supply systems, the power supply noise waveform may be imparted in similar manner to each of these power supply systems.
In the above-described second embodiment of the present invention, in which simulation for calculating the power supply noise waveform and simulation for calculating the jitter waveform are carried out separately, it is possible to omit unneeded portions of the analysis models used in any of the two simulations, such as power supply interconnection models in the jitter analysis, and hence the scale of the analysis model can be reduced. Hence, a higher processing speed for analyzing a large scale LSI is possible.
Moreover, if once the power supply noise waveform is obtained followed by jitter analysis carried out under variable conditions, it is possible to dispense with the step of calculating the power supply noise waveform, from one jitter analysis to another, thus assuring efficient processing.
In general, the jitter analysis is in need of a very long period of time for the subject of analysis. However, since it is not of a particular problem to use a short period of time for carrying out the analysis for calculating the power supply noise waveform, optimum time durations may be set for the simulation for calculating the power supply noise waveform and for that for calculating the jitter waveform, thereby enabling efficient processing.
A third embodiment of the present invention will now be explained.
Referring first to
Referring to the flowchart of
In the steps S29 to step S34, the resistance against noise, that is, the correlation between the power supply noise and jitter characteristics, is measured and registered as features of the respective blocks. The resistance against noise is expressed as numerical values representing the magnitude of the jitter and the noise of the output buffer waveform for e.g. a specified power supply noise waveform.
The processing similar to the jitter analysis flow of the above-described second embodiment (step S1 to S26) is then carried out to calculate the power supply noise waveform in a “circuit simulation” step S26. In this embodiment, the power supply noise waveform power supply noise waveform and jitter characteristics, such as variations in the output waveform, are registered at the outset for the respective functional blocks included in the circuit the jitter characteristics of which are to be found. Consequently, the second circuit simulation equivalent to the circuit simulation step S79 for the jitter analysis as in the second embodiment is unneeded, it being sufficient to compare the power supply noise waveform to the resistance against noise in the respective functional blocks in the step S28 to check if there is any problem in connection with jitter or noise.
The method for characterizing the resistance to the noise, and the correlation between the power supply noise waveform and jitter characteristics, as used in the third embodiment, will now be explained. The resistance to noise is calculated for the respective functional blocks, as the subject (object) of characterization, in the following manner:
First, using a SPICE model of the functional block in question, a jitter analysis model shown in
A plurality of sets each of a peak value and a noise width of the power supply noise waveform as used for jitter measurement (for example, triangular waveform shown in
For example, p1, p2 and p3 as peak values of the power supply noise and w1, w2 and w3 as noise widths (lengths) thereof are set, and jitter analysis is carried out for nine combinations of the peak values and the noise widths.
The values of the jitter calculated (magnitude of delay variation), thus calculated, are registered in a two-dimensional table having the noise peak values and the noise widths as keys. The registered values stand for correlation data for jitter characteristics 920 as the information characterizing the resistance to the noise.
For actually checking the power supply noise, using this characterizing information, the analysis means 914 effects linear interpolation, with the aforementioned two-dimensional table, from the noise peak value and the noise width of the power supply noise waveform of the power supply noise waveform data 916, obtained on circuit simulation, to calculate the jitter (quantity of delay variations). If the jitter calculated is larger than a predetermined reference value, it is verified that there persists the problem of jitter and the floor plan or the power supply interconnection/power supply terminal layout is corrected accordingly.
Up to now, in case the jitter analysis is carried out after layout designing, and the problem of jitter is found to persist, it is difficult to change the design drastically, such that it may become necessary to revert to the initial designing stage to effect design changes, thus appreciably raising the design change costs.
Conversely, with the third embodiment of the present invention, the problem of the power supply noise or jitter can be checked at the initial stage of designing, such as during mapping out a floor plan, so that it is possible to prevent the designing cost from increasing with re-designing. Consequently, the present flow may efficaciously be applied in the initial designing stage, such as mainly in the preparation of the floor plan or in the arraying of power supply terminals.
An embodiment of an analysis model, used common in the first to third embodiments of the present invention, will be explained in more detail.
[1] Modeling Technique For Power Supply Interconnection And Silicon Substrate
A model for power supply interconnection is formulated for each small area (power supply cell) obtained on dividing a chip layout area in a lattice pattern.
The modeling method for each power supply cell will now be explained.
For all the interconnection segments in a power supply cell, resistance R, self-inductance L and mutual inductance K are obtained. The number of K elements is reduced by the double-inverse method which guarantees the passivity of the whole circuits.
On the opposite sides of the cell are fitted terminals (v1, v2, g1 and g2 in
The terminals v2 and g2 of
The impedance Zg across the terminals g2 ad g1 is then calculated.
The effective resistances Rv, Rg and the effective inductances Lv, Lg in the transverse direction of the VDD conductor network and the GND conductor network are then found in accordance with the following equations (1) to (4):
Rg=Re(Zg)/2 (1)
Lg=Im(Zg)/2 (2)
Rv=Re(Zloop−Zg)/2 (3)
Lv=Im(Zloop−Zg)/2 (4).
A model shown in
The models of the power supply cells are connected from one power supply network to another to complete a model of the power supply network of the entire chip, as shown in
Then, capacitances across different power supply networks, such as VDD or GND, are calculated, and capacitor devices, such as those shown in
The resistance value of the substrate model (resistance value per resistor device included in the resistor mesh) may be calculated in accordance with the following equation (5):
R1=ρh/th (5)
where ρh is the resistivity of a highly-doped substrate and th is the thickness of the highly-doped substrate.
On the other hand, the value of the resistor inserted across the substrate model and the GND conductor model (resistance value per one resistor device) may be calculated in accordance with the following equation (6):
R2=ρe×(te−tw)/a (6)
where ρe is the resistivity of an EPI layer, te is the thickness of the EPI layer, tw is the well thickness and “a” is an area of a power supply cell.
[2] Speedup By Pattern Matching
With the above-described power supply cell modeling method, in which the circuit simulation needs to be carried out from one power supply cell to another, the simulation generally has to be carried out a number of times, thus leading to a prolonged length of processing time. Thus, for shortening the processing time, cell models are not extracted from the cells deemed to be of the same power supply interconnection pattern as the cell from which a model has already been extracted, and a model already extracted is applied.
The degree of similarity of the interconnection (wiring) structure of the power supply cells is quantified as follows: For each power supply cell “c”, three values, namely an average wiring conductor width w, an average wiring conductor density “d” and a total area “a” of the wiring conductors, are calculated from one interconnection layer “i” to another and from one power supply system “j” to another to give a feature vector pc ∈ Rm (m=3ij) comprising an array of the three values as follows:
pc=<w1, 1, d1, 1, a1, 1, w1, 2, d1, 2, a1, 2, . . . , w1, n, d1, n, a1, n> (7)
where “1” and “n” denote the number of network layers and the number of power supply networks (number of power supply systems), respectively. After finding the feature vectors of all cells, the respective elements are normalized by the maximum values among all the cells. In case the feature vectors of two different power supply cells are p1, p2, the degree of similarity of the interconnection structures of these two power supply cells is expressed by the euclidean distance ∥p1−p2∥ and is termed the “feature distance between the power supply cells”. Using this feature distance, the patterns of the power supply cells are classified in accordance with the algorithm shown in
First, the cell array of the entire cells “cells” and the array of representative cells “rep-cells” as the model cell, are initialized. The value of an upper limit “Dmax” of the feature distances, with which two power supply cells are deemed to be of the same pattern, is set. The feature vectors for all the “cells” are then calculated on computation. It is then checked for each cell whether or not the feature distance between the cell and any of the “representative cells” is less than the upper limit “Dmax”. If the result is affirmative, the pattern of the cell in question is deemed to be the same as the pattern of the representative cell and, if the feature distance between the cell in question and any of the representative cells is not less than the upper limit, the pattern of the cell in question is registered as a new representative cell. This processing is carried out for all the cells.
The representative cells are determined in accordance with the above-described algorithm, and cell model calculations are carried out only for the representative cells. It is noted that a suitable value is set for the upper limit “Dmax” of the feature distance, based on which pattern identity is determined, by experimentation for several samples, so that the cell model error will fall within a desired range of accuracy.
[3] Noise Source Connection
The noise source is modeled as a current source element (or as a voltage source element) and inserted across VDD and GND, as shown in
The current waveform of the current source element is a triangular waveform shown for example in
(A) Method For Determining the Noise Width
The circuit simulation for representative functional blocks when these are in operation is carried out to measure the power supply noise and a standard noise width is determined on the basis of the so measured power supply noise. This noise width is to be the noise of the triangular waveform.
(B) Method For Determining the Noise Height (Noise Peak Value)
The power consumption is calculated, from one power supply cell to another, based on the power consumption of the entire chip (that is, the power supply system in question), or from the power consumption of each functional block, and the noise height is determined so that the product of the average current (time-averaged value) of the current waveform and the power supply voltage will be equal to the aforementioned power consumption.
A resistor and a voltage source element may be substituted for the current source element, as shown in
[4] Connection of Static Capacitance
A model of static capacitance is formulated and connected to a current source model as shown in
The static capacitance of each functional block may be calculated as follows: The gate capacitances of the respective transistors, included in the functional blocks, are calculated and summed up for use as the static capacitance of the functional block in question. If the operating factor ra of a transistor is known, the static capacitance may be calculated more accurately by multiplying the capacitance with (1−ra). The gate capacitance of a transistor may be calculated by multiplying the gate area of the transistor in question with a gate capacitance per unit area (as device parameter).
[5] Connection of Transistor Model
A SPICE model (model for circuit simulation) of a transistor is connected to the power supply model as a noise source or a circuit subjected to noise. The transistor models may be interconnected, or a power supply device, a capacitance device or the like is connected in place, as necessary. For example a transistor model may be connected across VDD and GND, as shown in
[6] Connection of Package/Board Model
A model for a package and a model for board (printed circuit board) are interconnected as shown for example in
The present invention is not limited to the above-described embodiments and may be suitably modified and worked out within the range of the invention as explained in the specification and shown in the drawings.
For example, when the analysis model formulating means formulates an analysis model, the analysis model may be formulated as a package model, a board model or as a silicon substrate model are omitted. Moreover, when the transistor model itself is analyzed as a noise source, it is possible to omit the noise source model.
It should be noted that other objects, features and aspects of the present invention will become apparent in the entire disclosure and that modifications may be done without departing the gist and scope of the present invention as disclosed herein and claimed as appended herewith.
Also it should be noted that any combination of the disclosed and/or claimed elements, matters and/or items may fall under the modifications aforementioned.
Number | Date | Country | Kind |
---|---|---|---|
2004-211168 | Jul 2004 | JP | national |