CN112836454B - Integrated circuit simulation method and system - Google Patents

Integrated circuit simulation method and system Download PDF

Info

Publication number
CN112836454B
CN112836454B CN202110302151.2A CN202110302151A CN112836454B CN 112836454 B CN112836454 B CN 112836454B CN 202110302151 A CN202110302151 A CN 202110302151A CN 112836454 B CN112836454 B CN 112836454B
Authority
CN
China
Prior art keywords
simulation
integrated circuit
electrical domain
module
parameter value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110302151.2A
Other languages
Chinese (zh)
Other versions
CN112836454A (en
Inventor
吴修衡
朱召法
胡晓翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Yongli Lvneng Technology Co ltd
Original Assignee
Zhejiang Yongju Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Yongju Electronic Technology Co ltd filed Critical Zhejiang Yongju Electronic Technology Co ltd
Priority to CN202110302151.2A priority Critical patent/CN112836454B/en
Publication of CN112836454A publication Critical patent/CN112836454A/en
Application granted granted Critical
Publication of CN112836454B publication Critical patent/CN112836454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention discloses an integrated circuit simulation method, which comprises the following steps: s1, performing first simulation based on the non-electrical domain of the integrated circuit to obtain a first electrical domain parameter value influencing the electrical domain, and updating the parameter value influencing the electrical domain by using the first electrical domain parameter value as a second simulation; s2, performing second simulation to obtain a second non-electrical domain parameter value influencing the non-electrical domain, and updating the parameter value influencing the non-electrical domain by using the second non-electrical domain parameter value as the first simulation; and S3, circularly repeating S1 and S2 until the simulation is finished. An integrated circuit simulation system comprises a first simulation module, a first parameter value obtaining module, a second simulation parameter value updating module, a second simulation module, a second parameter value obtaining module, a first simulation parameter value updating module and a cross-domain simulation scheduling control module. The invention greatly improves the simulation precision and the simulation speed caused by the influence of the non-electrical domain on the electrical performance of the integrated circuit, and the simulation speed caused by large circuit scale or more circuit simulation times.

Description

Integrated circuit simulation method and system
Technical Field
The present invention relates to the field of integrated circuit design, and in particular, to an integrated circuit simulation method and system.
Background
Integrated circuit emulation is an important step in the design flow of an integrated circuit to verify that the design is correct. Simulation accuracy and speed have been important concerns for integrated circuit simulation.
In the prior art, the simulation precision is mainly solved from the aspects of model precision and simulation convergence algorithm, although the non-electrical factor of temperature is also considered, the circuit simulation is only carried out by adopting the same temperature on the whole chip, and the simulation is very inaccurate, especially under the condition of large temperature distribution difference on the chip. With the progress of the process technology, the feature process size is continuously reduced, the performance of the device and the physical connection line is more and more obviously influenced by non-electrical factors, the influence factors of the non-electrical domain are ignored, and the difference of the influence factors of the non-electrical domain on different devices and different connection lines can cause obvious simulation errors.
In the prior art, the precision is ensured by adopting transistor-level circuit simulation, but the improvement of the simulation speed is necessarily influenced. Under the simulation of a single small-scale circuit, the designer can accept the sacrifice of speed for ensuring the precision, but for a large-scale circuit or a circuit with more simulation times, especially for the full-chip Monte Carlo analysis, the simulation speed under the premise of ensuring the simulation precision is the bottleneck for restricting the circuit simulation.
Therefore, the integrated circuit simulation needs to solve the simulation precision problem caused by the influence of the non-electrical domain on the electrical performance of the integrated circuit and the simulation speed problem faced by large circuit scale or more circuit simulation times.
Disclosure of Invention
The invention aims to provide an integrated circuit simulation method and system, which are used for solving the problems in the prior art, and solving the simulation precision problem caused by the influence of a non-electrical domain on the electrical performance of an integrated circuit and the simulation speed problem caused by large circuit scale or more circuit simulation times.
In order to achieve the purpose, the invention provides the following scheme:
an integrated circuit simulation method, comprising the steps of:
s1, the integrated circuit comprises a non-electrical domain and an electrical domain;
performing a first simulation based on the non-electrical domain of the integrated circuit, obtaining a first parameter value based on the first simulation, the first parameter value comprising a first electrical domain parameter value affecting an electrical domain, updating the electrical domain parameter value for the electrical domain of the integrated circuit based on the first electrical domain parameter value;
s2, performing second simulation of the electrical domain after updating, obtaining second parameter values based on the second simulation, wherein the second parameter values comprise second non-electrical domain parameter values influencing a non-electrical domain, and updating the non-electrical domain parameter values of the integrated circuit for the non-electrical domain based on the second non-electrical domain parameter values;
s3, based on the S1 and the S2, carrying out simulation until the simulation is finished, and solving the problem of simulation precision and simulation speed caused by the influence of the non-electrical domain on the electrical performance of the integrated circuit;
wherein the end conditions of the simulation include, but are not limited to:
(1) the non-electrical domain parameter value of the integrated circuit is not changed;
(2) no change in the integrated circuit node signal;
(3) and reaching the preset electrical simulation end time point.
Preferably, the specific process of the first simulation in S1 is:
only when the first simulation is performed for the first time:
s1.1, dividing the integrated circuit into a plurality of first circuits based on the layout of the integrated circuit;
s1.2, constructing a non-electrical domain macro model based on the first circuit;
s1.3, realizing non-electrical domain simulation of the integrated circuit based on the non-electrical domain macro model;
and when the first simulation is executed for the second time to the Nth time:
s1.3 is directly carried out;
the simulation in said S1.3 is,
in the first circuits, if the change of the electrical domain parameter value can affect the non-electrical domain simulation, the non-electrical domain simulation is carried out, otherwise, the non-electrical domain simulation is not carried out.
Preferably, the specific process of the second simulation in S2 is:
only when the second simulation is first performed:
s2.1, dividing the integrated circuit into a plurality of second circuits based on the netlist of the integrated circuit;
s2.2, determining simulation driving relations and simulation sequences among a plurality of second circuits based on signal flow;
s2.3, constructing an electrical domain macro model based on the second circuit;
s2.4, realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model;
and when the first simulation is executed for the second time to the Nth time:
s2.4 is directly carried out;
the simulation in said S2.4 is,
in the second circuits, if the non-electrical domain parameter value changes or the signal driving the input end of the second circuit changes, the electrical domain simulation of the integrated circuit is realized on the second circuit, otherwise, the non-electrical domain simulation is not performed.
Preferably, in the second simulation, the dividing method is a signal flow analysis technology; the division is to divide the connection relation in the circuit netlist, the signal flow analysis technology is applied between the signal input end of the integrated circuit and the signal output end, and the sequence of the device or the second circuit through which the signal is transmitted is determined based on the signal flow analysis technology.
Preferably, the macro model is constructed by the following method: constructing by adopting machine learning; and models can be built in parallel between different partitions.
Preferably, the voltage waveforms of part of the nodes of the integrated circuit can be obtained by performing simulation based on the electrical domain macro model, and the voltage waveforms of other nodes and the currents on the ports or physical wires of related devices can be calculated based on the voltage waveforms of part of the nodes and the netlist of the integrated circuit.
Preferably, the non-electrical domain first simulation comprises one or more of:
(1) thermal simulation of an integrated circuit;
(2) aging simulation of devices and connecting lines of the integrated circuit;
(3) photoetching simulation of an integrated circuit;
(4) ray or particle radiation integrated circuit simulation.
An integrated circuit simulation system, comprising: the system comprises a first simulation module, a first parameter value obtaining module, a second simulation parameter value updating module, a second simulation module, a second parameter value obtaining module, a first simulation parameter value updating module, a cross-domain simulation scheduling control module, a node voltage calculating module and a current calculating module; wherein,
the first simulation module is used for performing first simulation of a non-electrical domain;
the first parameter value obtaining module is used for obtaining a first electrical domain parameter value influencing an electrical domain according to a first simulation result;
the second simulation parameter value updating module is used for updating the electrical domain parameter value of the integrated circuit according to the first electrical domain parameter value;
the second simulation module is used for carrying out second simulation of the electrical domain;
the second parameter value obtaining module is used for obtaining a second non-electrical domain parameter value influencing a non-electrical domain according to a second simulation result;
the first simulation parameter value updating module is used for updating the non-electrical domain parameter value of the integrated circuit according to the second non-electrical domain parameter value;
the cross-domain simulation scheduling control module is used for controlling the alternate execution of the first simulation module and the second simulation module and updating simulation parameter values of the first simulation module and the second simulation module before the simulation is executed;
the node voltage calculation module is used for obtaining voltage waveforms of partial nodes of the integrated circuit obtained by the second simulation module and calculating voltage waveforms of other nodes based on the voltage waveforms of the partial nodes;
the current calculation module is used for obtaining voltage waveforms of partial nodes of the integrated circuit obtained by the second simulation module and calculating currents on ports or physical connecting lines of related devices based on the voltage waveforms of the partial nodes;
the first simulation module is connected with the second simulation parameter value updating module through the first parameter value obtaining module, and the cross-domain simulation scheduling control module of the second simulation parameter value updating module is connected with the second simulation module;
the second simulation module is connected with the first simulation parameter value updating module through the second parameter value obtaining module, and the first simulation parameter value updating module is connected with the first simulation module through the cross-domain simulation scheduling control module.
Preferably, the first simulation module includes:
the first dividing module is used for dividing the layout of the integrated circuit;
the first modeling submodule is used for constructing a non-electrical domain macro model for the division of the integrated circuit;
the first model simulation submodule is used for realizing the non-electrical domain simulation of the integrated circuit based on the non-electrical domain macro model;
the first modeling submodule comprises a first machine learning submodule and is used for establishing a non-electrical domain macro model by adopting a machine learning method.
Preferably, the first model simulation submodule includes:
the thermal simulation submodule of the integrated circuit is used for carrying out random simulation on the integrated circuit according to the power consumption of each part in the integrated circuit to obtain the temperature distribution of a chip and providing the temperature of devices and connecting lines in the integrated circuit for the second simulation module;
the device and connecting line aging simulation submodule of the integrated circuit is used for carrying out aging analysis on the device and the connecting line of the integrated circuit according to the temperature of each part in the integrated circuit, signals on the device, working time and the like, determining the aging state of the device and the connecting line and providing the aging state to the second simulation module;
the photoetching simulation submodule of the integrated circuit is used for carrying out photoetching simulation according to layout data of the integrated circuit, determining graphs after photoetching of key graphs such as gates, connecting lines and the like, and providing the graphs to the second simulation module;
and the ray or particle radiation integrated circuit simulation submodule is used for carrying out simulation under the ray or particle radiation environment according to layout data of the integrated circuit, calculating parameter values such as threshold voltage drift of the device and the like, and providing the parameter values to the second simulation module.
Preferably, the second simulation module includes:
the second division submodule is used for dividing the netlist of the real-time integrated circuit;
the second driving relation and simulation sequence determining module is used for determining the simulation driving relation among the partitions and the simulation sequence among the partitions according to the signal flow;
the second modeling submodule is used for constructing an electrical domain macro model for the division of the integrated circuit;
the second model simulation submodule is used for realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model;
the second modeling submodule comprises a second machine learning submodule and is used for establishing the electrical domain macro model by adopting a machine learning method.
The invention discloses the following technical effects:
according to the invention, the parameter values influencing the electrical domain or the non-electrical domain are obtained through simulation, and the parameters of the electrical domain or the non-electrical domain are updated, so that the next simulation is more accurate, and the simulation precision is improved; in the simulation process, modeling is carried out through division, the modeling complexity is effectively reduced, and modeling can be carried out in parallel among different divisions, so that the modeling speed is greatly improved; the macro model is adopted, so that the number of nodes for circuit simulation is obviously reduced, and the circuit simulation speed is improved; compared with the prior art, the method greatly improves the simulation precision and the simulation speed caused by the influence of the non-electrical domain on the electrical performance of the integrated circuit, and the simulation speed is high in circuit scale or circuit simulation times.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a non-electrical domain of an integrated circuit simulation method;
FIG. 2 is a flow chart illustrating a method for simulating an integrated circuit;
FIG. 3 is a schematic diagram of a first simulation flow of a non-electrical domain in an integrated circuit simulation method;
FIG. 4 is a schematic diagram of a second simulation flow of an electrical domain in an integrated circuit simulation method;
FIG. 5 is a schematic diagram of a non-electrical domain in an integrated circuit simulation system;
FIG. 6 is a schematic diagram of an integrated circuit simulation system.
Detailed Description
Reference will now be made in detail to various exemplary embodiments of the invention, the detailed description should not be construed as limiting the invention but as a more detailed description of certain aspects, features and embodiments of the invention.
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Further, for numerical ranges in this disclosure, it is understood that each intervening value, between the upper and lower limit of that range, is also specifically disclosed. Every smaller range between any stated value or intervening value in a stated range and any other stated or intervening value in a stated range is encompassed within the invention. The upper and lower limits of these smaller ranges may independently be included or excluded in the range.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Although only preferred methods and materials are described herein, any methods and materials similar or equivalent to those described herein can be used in the practice or testing of the present invention. All documents mentioned in this specification are incorporated by reference herein for the purpose of disclosing and describing the methods and/or materials associated with the documents. In case of conflict with any incorporated document, the present specification will control.
It will be apparent to those skilled in the art that various modifications and variations can be made in the specific embodiments of the present disclosure without departing from the scope or spirit of the disclosure. Other embodiments will be apparent to those skilled in the art from consideration of the specification. The specification and examples are exemplary only.
As used herein, the terms "comprising," "including," "having," "containing," and the like are open-ended terms that mean including, but not limited to.
The "parts" in the present invention are all parts by mass unless otherwise specified.
Example 1
The invention discloses an integrated circuit simulation method, which comprises the following specific steps:
s1, the integrated circuit comprises a non-electrical domain and an electrical domain;
performing a first simulation based on the non-electrical domain of the integrated circuit, obtaining a first parameter value based on the first simulation, the first parameter value comprising a first electrical domain parameter value affecting an electrical domain, updating the electrical domain parameter value for the electrical domain of the integrated circuit based on the first electrical domain parameter value;
s2, performing second simulation of the electrical domain after updating, obtaining second parameter values based on the second simulation, wherein the second parameter values comprise second non-electrical domain parameter values influencing a non-electrical domain, and updating the non-electrical domain parameter values of the integrated circuit for the non-electrical domain based on the second non-electrical domain parameter values;
s3, based on the S1 and the S2, carrying out simulation until the simulation is finished, and solving the problem of simulation precision and simulation speed caused by the influence of the non-electrical domain on the electrical performance of the integrated circuit;
wherein the end conditions of the simulation include, but are not limited to:
(1) the non-electrical domain parameter value of the integrated circuit is not changed;
(2) no change in the integrated circuit node signal;
(3) and reaching the preset electrical simulation end time point.
Preferably, the specific process of the first simulation in S1 is:
only when the first simulation is performed for the first time:
s1.1, dividing the integrated circuit into a plurality of first circuits based on the layout of the integrated circuit;
s1.2, constructing a non-electrical domain macro model based on the first circuit;
s1.3, realizing non-electrical domain simulation of the integrated circuit based on the non-electrical domain macro model;
and when the first simulation is executed for the second time to the Nth time:
s1.3 is directly carried out;
the simulation in said S1.3 is,
in the first circuits, if the change of the electrical domain parameter value can affect the non-electrical domain simulation, the non-electrical domain simulation is carried out, otherwise, the non-electrical domain simulation is not carried out.
Preferably, the specific process of the second simulation in S2 is:
only when the second simulation is first performed:
s2.1, dividing the integrated circuit into a plurality of second circuits based on the netlist of the integrated circuit;
s2.2, determining simulation driving relations and simulation sequences among a plurality of second circuits based on signal flow;
s2.3, constructing an electrical domain macro model based on the second circuit;
s2.4, realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model;
and when the first simulation is executed for the second time to the Nth time:
s2.4 is directly carried out;
the simulation in said S2.4 is,
in the plurality of second circuits, electrical domain simulation is preferentially carried out on the second circuit which is sequenced in the front according to the simulation sequence of the second circuits, and then electrical domain simulation is carried out on the second circuit which is driven by the second circuit in the front and is sequenced in the back;
if the non-electrical domain parameter value corresponding to the second circuit changes or the signal driving the input end of the second circuit changes, the electrical domain simulation of the integrated circuit is realized for the second circuit according to the corresponding non-electrical domain parameter value and the signal driving the input end of the second circuit; otherwise, the electrical domain simulation of the integrated circuit is not realized for the second circuit.
Preferably, in the second simulation, the dividing method is a signal flow analysis technology; the division is to divide the connection relation in the circuit netlist, the signal flow analysis technology is applied between the signal input end of the integrated circuit and the signal output end, and the sequence of the device or the second circuit through which the signal is transmitted is determined based on the signal flow analysis technology.
Preferably, the macro model is constructed by the following method: constructing by adopting machine learning; and models can be built in parallel between different partitions.
Preferably, the voltage waveforms of part of the nodes of the integrated circuit can be obtained by performing simulation based on the electrical domain macro model, and the voltage waveforms of other nodes and the currents on the ports or physical wires of related devices can be calculated based on the voltage waveforms of part of the nodes and the netlist of the integrated circuit.
Preferably, the non-electrical domain first simulation comprises one or more of:
(1) thermal simulation of an integrated circuit;
(2) aging simulation of devices and connecting lines of the integrated circuit;
(3) photoetching simulation of an integrated circuit;
(4) ray or particle radiation integrated circuit simulation.
An integrated circuit simulation system, comprising: the system comprises a first simulation module, a first parameter value obtaining module, a second simulation parameter value updating module, a second simulation module, a second parameter value obtaining module, a first simulation parameter value updating module, a cross-domain simulation scheduling control module, a node voltage calculating module and a current calculating module; wherein,
the first simulation module is used for performing first simulation of a non-electrical domain;
the first parameter value obtaining module is used for obtaining a first electrical domain parameter value influencing an electrical domain according to a first simulation result;
the second simulation parameter value updating module is used for updating the electrical domain parameter value of the integrated circuit according to the first electrical domain parameter value;
the second simulation module is used for carrying out second simulation of the electrical domain;
the second parameter value obtaining module is used for obtaining a second non-electrical domain parameter value influencing a non-electrical domain according to a second simulation result;
the first simulation parameter value updating module is used for updating the non-electrical domain parameter value of the integrated circuit according to the second non-electrical domain parameter value;
the cross-domain simulation scheduling control module is used for controlling the alternate execution of the first simulation module and the second simulation module and updating simulation parameter values of the first simulation module and the second simulation module before the simulation is executed;
the node voltage calculation module is used for obtaining voltage waveforms of partial nodes of the integrated circuit obtained by the second simulation module and calculating voltage waveforms of other nodes based on the voltage waveforms of the partial nodes;
the current calculation module is used for obtaining voltage waveforms of partial nodes of the integrated circuit obtained by the second simulation module and calculating currents on ports or physical connecting lines of related devices based on the voltage waveforms of the partial nodes;
the first simulation module is connected with the second simulation parameter value updating module through the first parameter value obtaining module, and the cross-domain simulation scheduling control module of the second simulation parameter value updating module is connected with the second simulation module;
the second simulation module is connected with the first simulation parameter value updating module through the second parameter value obtaining module, and the first simulation parameter value updating module is connected with the first simulation module through the cross-domain simulation scheduling control module.
Preferably, the first simulation module includes:
the first dividing module is used for dividing the layout of the integrated circuit;
the first modeling submodule is used for constructing a non-electrical domain macro model for the division of the integrated circuit;
the first model simulation submodule is used for realizing the non-electrical domain simulation of the integrated circuit based on the non-electrical domain macro model;
the first modeling submodule comprises a first machine learning submodule and is used for establishing a non-electrical domain macro model by adopting a machine learning method.
Preferably, the first model simulation submodule includes:
the thermal simulation submodule of the integrated circuit is used for carrying out random simulation on the integrated circuit according to the power consumption of each part in the integrated circuit to obtain the temperature distribution of a chip and providing the temperature of devices and connecting lines in the integrated circuit for the second simulation module;
the device and connecting line aging simulation submodule of the integrated circuit is used for carrying out aging analysis on the device and the connecting line of the integrated circuit according to the temperature of each part in the integrated circuit, signals on the device, working time and the like, determining the aging state of the device and the connecting line and providing the aging state to the second simulation module;
the photoetching simulation submodule of the integrated circuit is used for carrying out photoetching simulation according to layout data of the integrated circuit, determining graphs after photoetching of key graphs such as gates, connecting lines and the like, and providing the graphs to the second simulation module;
and the ray or particle radiation integrated circuit simulation submodule is used for carrying out simulation under the ray or particle radiation environment according to layout data of the integrated circuit, calculating parameter values such as threshold voltage drift of the device and the like, and providing the parameter values to the second simulation module.
Preferably, the second simulation module includes:
the second division submodule is used for dividing the netlist of the real-time integrated circuit;
the second driving relation and simulation sequence determining module is used for determining the simulation driving relation among the partitions and the simulation sequence among the partitions according to the signal flow;
the second modeling submodule is used for constructing an electrical domain macro model for the division of the integrated circuit;
the second model simulation submodule is used for realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model;
the second modeling submodule comprises a second machine learning submodule and is used for establishing the electrical domain macro model by adopting a machine learning method.
Example 2
Referring to fig. 1, an integrated circuit simulation method includes reading in an integrated circuit design, first simulating a non-electrical domain based on the integrated circuit design, then obtaining a parameter value affecting an electrical domain according to a first simulation result, then updating the parameter value affecting the electrical domain for a second simulation, and finally performing a second simulation of the electrical domain based on the integrated circuit design.
Parameter values influencing the electrical domain are obtained through the first simulation of the non-electrical domain and are transmitted to the second simulation of the electrical domain, so that the second simulation of the electrical domain can be more accurate.
As shown in FIG. 2, an integrated circuit simulation method is based on the foregoing method, after a second simulation, obtaining parameter values affecting a non-electrical domain according to the second simulation result, then updating the parameter values affecting the non-electrical domain for a first simulation to perform a new first simulation, and thus alternately performing the first simulation and the second simulation.
And transmitting the parameter value which affects the electrical domain and is obtained by the first simulation of the non-electrical domain to the second simulation of the electrical domain, so that the second simulation of the electrical domain can be more accurate.
As shown in fig. 3, to accelerate the first simulation speed of the non-electrical domain, the integrated circuit layout is divided first, and when the integrated circuit layout is divided, the integrated circuit layout is divided on a two-dimensional plane or a three-dimensional space; a non-electrical domain macro model is established for each partition of the integrated circuit, and then a first simulation of the non-electrical domain of the integrated circuit is achieved based on the non-electrical domain macro model. Modeling is carried out after division, so that the modeling complexity can be effectively reduced, and parallel modeling can be carried out among different divisions, so that the modeling speed can be increased. The macro model can be adopted to obviously reduce the number of nodes for circuit simulation, thereby obviously improving the circuit simulation speed. In order to further improve the simulation speed, if the divided electrical domain parameter value changes and the change affects the non-electrical domain simulation, the non-electrical domain simulation is performed on the divided integrated circuit, otherwise, the non-electrical domain simulation is not performed on the divided integrated circuit.
As shown in fig. 4, to accelerate the second simulation speed of the electrical domain, the integrated circuit netlist is divided first; and establishing an electrical domain macro model for each division of the integrated circuit, and then realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model. Modeling is carried out after division, so that the modeling complexity can be effectively reduced, and parallel modeling can be carried out among different divisions, thereby improving the modeling speed. In the simulation process, the number of nodes for circuit simulation is reduced, the dimension of a sparse matrix is reduced, and the simulation speed can be obviously improved.
For integrated circuit a, it is divided into a0, a1, a2, A3, a4, a5, where the output of a0 is connected to the input of a1, the output of a1 is connected to the input of a2 and the input of A3, the output of a2 is connected to the input of a4, and the input and output of A3 are connected to the input of a 5.
The conditions that enable the second simulation of a1 are a change in the input signal of a1 or a change in the value of the electrical domain parameter (e.g., temperature) that affects the second simulation of a 1. If the input signal of A1 changes or the value of the electrical domain parameter (such as temperature) influencing the A1 second simulation changes, the A1 is subjected to the second simulation. According to the sequence determined by signal flow analysis, one is A1-A2-A4, the other is A1-A3-A5, on the premise that A1 meets the enabling simulation condition, according to the enabling simulation conditions of subsequent partitions A2, A3, A4 and A5, on the premise that all the partitions meet the simulation enabling condition, simulating A2 first and then simulating A4; simulation A3 first, and simulation A5 second. Note that the output of a0 is connected to the input of a1, in the drive relationship a0 drives a1, a1 is driven by a0, and a0 precedes a1 in signal flow order.
The non-electrical domain macro model is established based on integrated circuit design, the macro model mostly comprises parameter expression models, the modeling needs to determine the expressions and the parameter values, and the non-electrical domain macro model can be established by adopting a machine learning method. And the automatic modeling speed can be obviously improved by adopting machine learning.
In addition to electrical factors, other non-electrical factors, such as temperature, aging, lithography, radiation or particle radiation, affect the performance of integrated circuits. Thus, the first simulation of the non-electrical domain comprises at least any one of the following simulations: thermal simulation of integrated circuits, device and wire burn-in simulation of integrated circuits, lithography (lithography) simulation of integrated circuits, radiation or particle radiation integrated circuit simulation.
The voltage waveforms of partial nodes of the integrated circuit can be directly obtained based on the macro model simulation, and the voltage waveforms of other nodes cannot be directly obtained because the nodes appear in the equation of the circuit simulation, after partial node voltage waveforms are obtained by the second simulation of the integrated circuit, the voltage waveforms of other related nodes can be calculated according to the voltage signal waveforms of the partial nodes and the netlist information of the integrated circuit, and the current on ports or physical connecting lines of related devices can also be calculated according to the voltage signal waveforms of the partial nodes of the integrated circuit.
As shown in fig. 5, an integrated circuit simulation system comprises: the first simulation module is used for carrying out first simulation of a non-electrical domain based on integrated circuit design; the first parameter value obtaining module is used for obtaining parameter values influencing the electrical domain according to the first simulation result and transmitting the parameter values to the second simulation parameter value updating module; the second simulation parameter value updating module is used for updating the parameter value influencing the electrical domain for the second simulation module by using the obtained parameter value of the electrical domain; and the second simulation module is used for carrying out second simulation of the electrical domain based on the integrated circuit design under the updated parameter value.
As shown in fig. 6, on the basis of the foregoing integrated circuit simulation system, there are added: the second parameter value obtaining module is used for obtaining parameter values influencing the electrical domain according to a second simulation result and transmitting the parameter values to the first simulation parameter value updating module; the first simulation parameter value updating module is used for updating the parameter value influencing the non-electrical domain by using the obtained parameter value of the non-electrical domain as the first simulation; and the cross-domain simulation scheduling control module controls the alternate execution of the first simulation module and the second simulation module and updates the simulation parameter values of the first simulation module and the second simulation module before the simulation is executed.
The above-described embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the scope of the present invention, and various modifications and improvements of the technical solutions of the present invention can be made by those skilled in the art without departing from the spirit of the present invention, and the technical solutions of the present invention are within the scope of the present invention defined by the claims.

Claims (5)

1. An integrated circuit simulation method, characterized by: the method comprises the following steps:
s1, the integrated circuit comprises a non-electrical domain and an electrical domain;
performing a first simulation based on the non-electrical domain of the integrated circuit, obtaining a first parameter value based on the first simulation, the first parameter value comprising a first electrical domain parameter value affecting an electrical domain, updating an electrical domain parameter value for the electrical domain of the integrated circuit based on the first electrical domain parameter value,
the specific process of the first simulation is as follows:
only when the first simulation is performed for the first time:
s1.1, dividing the integrated circuit into a plurality of first circuits based on the layout of the integrated circuit;
s1.2, constructing a non-electrical domain macro model based on the first circuit;
s1.3, realizing non-electrical domain simulation of the integrated circuit based on the non-electrical domain macro model;
and when the first simulation is executed for the second time to the Nth time:
s1.3 is directly carried out;
the simulation in said S1.3 is,
in a plurality of first circuits, if the change of the electrical domain parameter value can affect the non-electrical domain simulation, the non-electrical domain simulation is carried out, otherwise, the non-electrical domain simulation is not carried out,
the first simulation of the non-electrical domain comprises:
(1) thermal simulation of an integrated circuit;
(2) aging simulation of devices and connecting lines of the integrated circuit;
(3) photoetching simulation of an integrated circuit;
(4) ray or particle radiation integrated circuit simulation;
s2, performing second simulation based on the electrical domain of the integrated circuit after updating, obtaining second parameter values based on the second simulation, wherein the second parameter values comprise second non-electrical domain parameter values influencing a non-electrical domain, updating the non-electrical domain parameter values of the integrated circuit based on the second non-electrical domain parameter values,
the specific process of the second simulation is as follows:
only when the second simulation is first performed:
s2.1, dividing the integrated circuit into a plurality of second circuits based on the netlist of the integrated circuit;
s2.2, determining simulation driving relations and simulation sequences among a plurality of second circuits based on signal flow;
s2.3, constructing an electrical domain macro model based on the second circuit;
s2.4, realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model;
and when the second simulation is executed for the second time to the Nth time:
s2.4 is directly carried out;
the simulation in said S2.4 is,
according to the simulation sequence among the partitions;
in the second circuits, if the non-electrical domain parameter value changes or the signal driving the input end of the second circuit changes, the electrical domain simulation of the integrated circuit is realized on the second circuit, otherwise, the electrical domain simulation is not carried out;
s3, based on the S1 and the S2, carrying out simulation until the simulation is finished, and solving the problem of simulation precision and simulation speed caused by the influence of the non-electrical domain on the electrical performance of the integrated circuit;
the construction method of the macro model comprises the following steps: and (4) constructing by adopting machine learning, and constructing models among different partitions in parallel.
2. The integrated circuit simulation method of claim 1, wherein: and performing simulation based on the electrical domain macro model to obtain voltage waveforms of partial nodes of the integrated circuit, and calculating voltage waveforms of other related nodes and currents on ports or physical connecting lines of related devices based on the voltage waveforms of the partial nodes and the netlist of the integrated circuit.
3. An integrated circuit simulation system, characterized by: the method comprises the following steps:
the system comprises a first simulation module, a first parameter value obtaining module, a second simulation parameter value updating module, a second simulation module, a second parameter value obtaining module, a first simulation parameter value updating module, a cross-domain simulation scheduling control module, a node voltage calculating module and a current calculating module; wherein,
the first simulation module is used for performing first simulation of a non-electrical domain;
the first parameter value obtaining module is used for obtaining a first electrical domain parameter value influencing an electrical domain according to a first simulation result;
the second simulation parameter value updating module is used for updating the electrical domain parameter value of the integrated circuit according to the first electrical domain parameter value;
the second simulation module is used for carrying out second simulation of the electrical domain;
the second parameter value obtaining module is used for obtaining a second non-electrical domain parameter value influencing a non-electrical domain according to a second simulation result;
the first simulation parameter value updating module is used for updating the non-electrical domain parameter value of the integrated circuit according to the second non-electrical domain parameter value;
the cross-domain simulation scheduling control module is used for controlling the alternate execution of the first simulation module and the second simulation module and updating simulation parameter values of the first simulation module and the second simulation module before the simulation is executed;
the node voltage calculation module is used for obtaining voltage waveforms of partial nodes of the integrated circuit obtained by the second simulation module and calculating voltage waveforms of other nodes based on the voltage waveforms of the partial nodes;
the current calculation module is used for obtaining voltage waveforms of partial nodes of the integrated circuit obtained by the second simulation module and calculating currents on ports or physical connecting lines of related devices based on the voltage waveforms of the partial nodes;
the first simulation module comprises a first model simulation submodule and a second model simulation submodule, wherein the first model simulation submodule is used for realizing non-electrical domain simulation of the integrated circuit based on the non-electrical domain macro model;
the first model simulation submodule comprises:
the thermal simulation submodule of the integrated circuit is used for simulating the integrated circuit according to the power consumption of each part in the integrated circuit to obtain the temperature distribution of a chip and providing the temperature of devices and connecting wires in the integrated circuit for the second simulation module;
the device and connecting line aging simulation submodule of the integrated circuit is used for carrying out aging analysis on the device and the connecting line of the integrated circuit according to the temperature of each part in the integrated circuit, signals on the device and the working time, determining the aging state of the device and the connecting line and providing the aging state to the second simulation module;
the photoetching simulation submodule of the integrated circuit is used for carrying out photoetching simulation according to layout data of the integrated circuit, determining graphs of gates and connecting lines after photoetching, and providing the graphs to the second simulation module;
the ray or particle radiation integrated circuit simulation submodule is used for carrying out simulation under the ray or particle radiation environment according to layout data of the integrated circuit, calculating parameter values of a device threshold value and voltage drift, and providing the parameter values to the second simulation module;
the first simulation module is connected with the second simulation parameter value updating module through the first parameter value obtaining module, and the cross-domain simulation scheduling control module of the second simulation parameter value updating module is connected with the second simulation module;
the second simulation module is connected with the first simulation parameter value updating module through the second parameter value obtaining module, and the first simulation parameter value updating module is connected with the first simulation module through the cross-domain simulation scheduling control module.
4. The integrated circuit simulation system of claim 3, wherein: the first simulation module further comprises:
the first dividing module is used for dividing the layout of the integrated circuit;
the first modeling submodule is used for constructing a non-electrical domain macro model for the division of the integrated circuit;
the first modeling submodule comprises a first machine learning submodule and is used for establishing a non-electrical domain macro model by adopting a machine learning method.
5. The integrated circuit simulation system of claim 3, wherein: the second simulation module includes:
the second division submodule is used for dividing the netlist of the real-time integrated circuit;
the second modeling submodule is used for constructing an electrical domain macro model for the division of the integrated circuit;
the second model simulation submodule is used for realizing the electrical domain simulation of the integrated circuit based on the electrical domain macro model;
the second modeling submodule comprises a second machine learning submodule and is used for establishing the electrical domain macro model by adopting a machine learning method.
CN202110302151.2A 2021-03-22 2021-03-22 Integrated circuit simulation method and system Active CN112836454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110302151.2A CN112836454B (en) 2021-03-22 2021-03-22 Integrated circuit simulation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110302151.2A CN112836454B (en) 2021-03-22 2021-03-22 Integrated circuit simulation method and system

Publications (2)

Publication Number Publication Date
CN112836454A CN112836454A (en) 2021-05-25
CN112836454B true CN112836454B (en) 2022-03-08

Family

ID=75930415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110302151.2A Active CN112836454B (en) 2021-03-22 2021-03-22 Integrated circuit simulation method and system

Country Status (1)

Country Link
CN (1) CN112836454B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116258111B (en) * 2023-05-15 2023-08-04 贝叶斯电子科技(绍兴)有限公司 Static analog integrated circuit layout analysis method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392610B (en) * 2021-08-18 2021-11-05 苏州贝克微电子有限公司 Simulation optimization method and device for transient analysis of large-scale integrated circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8464195B1 (en) * 2012-07-03 2013-06-11 Oracle International Corporation Integrated circuit clock analysis with macro models
CN110750946A (en) * 2018-07-19 2020-02-04 澜至电子科技(成都)有限公司 Integrated circuit netlist simulation acceleration method and system thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4363790B2 (en) * 2001-03-15 2009-11-11 株式会社東芝 Parameter extraction program and semiconductor integrated circuit manufacturing method
CN102314525B (en) * 2010-06-30 2013-03-20 中国科学院微电子研究所 Low-power-consumption circuit design optimization method
CN111950220B (en) * 2020-04-30 2024-03-29 深圳市汇芯通信技术有限公司 Electrothermal coupling model building method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8464195B1 (en) * 2012-07-03 2013-06-11 Oracle International Corporation Integrated circuit clock analysis with macro models
CN110750946A (en) * 2018-07-19 2020-02-04 澜至电子科技(成都)有限公司 Integrated circuit netlist simulation acceleration method and system thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116258111B (en) * 2023-05-15 2023-08-04 贝叶斯电子科技(绍兴)有限公司 Static analog integrated circuit layout analysis method

Also Published As

Publication number Publication date
CN112836454A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN112836454B (en) Integrated circuit simulation method and system
CN114861591B (en) Chip layout optimization method capable of realizing differential time sequence driving
CN105138769B (en) A kind of temporal model generation method and device for programmable circuit
WO2007063513A1 (en) Timing constraint merging in hierarchical soc designs
JP3153403B2 (en) Device for calculating delay time of semiconductor integrated circuit
US20220385280A1 (en) Testable time-to-digital converter
CN116457788A (en) Machine learning delay estimation for simulation systems
CN103366033B (en) method and system for statistical circuit simulation
US7409650B2 (en) Low power consumption designing method of semiconductor integrated circuit
CN112131813B (en) FPGA wiring method for improving wiring speed based on port exchange technology
US20200364391A1 (en) System and method for power analysis for design logic circuit with irregular clock
US20230260591A1 (en) Transforming local wire thru resistances into global distributed resistances
Liu et al. Knowledge-based neural network model for FPGA logical architecture development
Stroobandt et al. Generating new benchmark designs using a multi-terminal net model
US11797737B2 (en) Finding equivalent classes of hard defects in stacked MOSFET arrays
CN1125989C (en) Circuit time delay measuring method
US11727178B2 (en) Under test pin location driven simultaneous signal grouping and pin assignment
US11941339B1 (en) Automated equal-resistance routing in compact pattern
US20240028812A1 (en) Waveform capture using multicycle path properties
US20220391568A1 (en) Deterministic netlist transformations in a multi-processor parallel computing system
CN117454813B (en) Method and device for calculating flip probability information of circuit and computer equipment
JP2001357093A (en) Method and device for simulating circuit, and storage medium
Mukherjee et al. Design of combinational circuits by cyclic combinational method for low power VLSI
JP3182244B2 (en) Method for optimizing signal propagation delay time in semiconductor integrated circuit
Zeng et al. Design of GHz VLSI clock distribution circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220516

Address after: 315502 room 304-1, building 1, No. 81, Chengxin Road, Qishan Industrial Park, Xikou Town, Fenghua District, Ningbo City, Zhejiang Province

Patentee after: Zhejiang yongjuxin imitation technology Co.,Ltd.

Address before: 15 / F, youth intellectual innovation park, 199 Mingzhou Road, Beilun District, Ningbo City, Zhejiang Province, 315800

Patentee before: Zhejiang Yongju Electronic Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231009

Address after: Room 101, Dongyi Road, Science and Technology Park, Jiangshan Town, Yinzhou District, Ningbo City, Zhejiang Province, 315191

Patentee after: Ningbo Juzhuan Technology Co.,Ltd.

Address before: 315502 room 304-1, building 1, No. 81, Chengxin Road, Qishan Industrial Park, Xikou Town, Fenghua District, Ningbo City, Zhejiang Province

Patentee before: Zhejiang yongjuxin imitation technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231211

Address after: No. 5, Lane 221, Jinji Road, Tuci Village, Tuci Town, Xiangshan County, Ningbo City, Zhejiang Province 315705

Patentee after: Ningbo Yongli Lvneng Technology Co.,Ltd.

Address before: Room 101, Dongyi Road, Science and Technology Park, Jiangshan Town, Yinzhou District, Ningbo City, Zhejiang Province, 315191

Patentee before: Ningbo Juzhuan Technology Co.,Ltd.

TR01 Transfer of patent right