Equation group existence of solution inspection method in a kind of integrated circuit the Automation Design
Technical field
The present invention relates to integrated circuit automated production design field, more particularly to solution of equations in a kind of the Automation Design
Existence inspection method.
Background technology
Circuit equation group existence of solution inspection is the important ring in integrated circuit automated production design cycle.Efficiently
Accurately checking can in advance detect the non-existent situation of solution of equations, pinpoint the problems in time and solve problem, can be very big
Ground shortens the cycle of design of electronic circuits, reduces the risk of design failure.As technique is constantly in progress towards nanoscale, electronics
The scale of circuit is also drastically expanding in circuit design, and what circuit designers were faced is big and the topological connection relation of complexity.
In current integrated circuit automatic field, most products are all filling equation group according to modified nodal formulation
's.Due to the difference of each class components and parts filling mode, matrix is occurred in some cases without solution, and then cause circuit design
Failure.And due to the continuous increase of circuit scale, designer again it is difficult to ensure that the reasonability and correctness of design 100%, therefore,
Integrated circuit automated production needs to carry out equation group existence of solution inspection in advance.And most integrated circuit automatic production
The circuit optimization of some all can be carried out in product in the case where precision is ensured, such optimization operation is also required to guarantee and is not result in electricity
Occur that loop of the equation group without solution can be made in road, therefore, the inspection of circuit equation group existence of solution is not a sexual behaviour, its
Efficiency is particularly important to circuit simulation.Traditional equation group existence of solution inspection is gone out from certain Single port of a components and parts
Send out, other devices of depth or breadth traversal its connection, to determine whether that loop occurs.If desired repeatedly check and be accomplished by
Multiple traversal, inefficiency.
The content of the invention
In order to solve the deficiency of prior art presence, it is an object of the invention to provide a kind of integrated circuit the Automation Design
Middle equation group existence of solution inspection method, can help designer to carry out fast and effeciently error analysis and positioning, and energy
Enough support is provided for the further circuit optimization of integrated circuit automated production, and then the efficiency of circuit design can be improved.
For achieving the above object, equation group existence of solution reviewing party in the integrated circuit the Automation Design that the present invention is provided
Method, comprises the following steps:
(1)Container is built according to the annexation of device;
(2)According to the container, judge whether device forms special loop and can cause equation group without solution;
(3)According to the container, judge whether optimization can form special loop and cause equation group without solution.
Further, in the step(1)It is further comprising the steps:
Container is initialized, the container after initialization is sky;
Device in traversal netlist, the characteristic of analysis device;
Container is built according to the annexation of device.
Further, in the step(2)It is further comprising the steps:
It is judged as YES, then reports an error and exit;
It is judged as NO, then travels through next device, and more new container.
Further, in the step(3)It is further comprising the steps:
It is judged as YES, then cancels the optimization to device;
It is judged as NO, then shorted device, more new container, the next device of optimization.
Further, in the step(2)In, by judging whether two ports of device there is same attribute to judge
With the presence or absence of special loop.
Further, in the step(3)In, it is same by the way that whether two ports of the device for judging to need short circuit have
One attribute is judging whether the optimization to device forms special loop.
The present invention proposes equation group existence of solution inspection method in a kind of integrated circuit the Automation Design, with following
Technique effect:
First, using the port information of efficiently easy-to-use each device of container storage.Traditional inspection is from a components and parts
Certain Single port sets out, other devices of depth or breadth traversal its connection, if desired repeatedly checks, is necessarily required to multiple time
Go through.The container that the present invention is adopted only need to be set up once, only need simply to update if there is the change of device annexation later, replace
For the multiple ergodic process of traditional algorithm.Compared to traditional method, clear process unification of the present invention, criterion is simple,
And it is easily controllable.
Second, high efficiency ease for use:Traditional checks by the way of depth or breadth traversal, for small scale in circuitry
Realize it is relatively easy, but run into large-scale circuit and realize complicated, and need repeatedly traversal, inefficiency for repeatedly checking.
In we are bright, the annexation of device in circuit is set up using efficient container.Can fast and accurately be sentenced based on the container
Break and in circuit with the presence or absence of special loop so as to cause equation group without solution, while can quickly judge to change a certain components and parts
Annexation after whether can cause special loop occur.The container only need to be set up once, without multiple traversal, when necessary
Carry out simple renewal.Algorithm is realized simple, it is easy to control, efficiently easy-to-use, and can support the different demands of different problems,
It is compatible strong.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification
Obtain it is clear that or being understood by implementing the present invention.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, and with the present invention's
Embodiment together, for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is according to equation group existence of solution inspection method flow chart in integrated circuit the Automation Design of the invention;
Fig. 2 is to make special loop exemplary plot of the equation group without solution according to the present invention;
Fig. 3 is coefficient matrix filling exemplary plot corresponding with Fig. 2;
Fig. 4 is to whether there is the flow chart for causing special loop of the equation without solution according to the inspection netlist of the present invention;
Whether Fig. 5 is to be formed to cause special loop flow chart of the equation without solution in circuit optimization according to the inspection of the present invention.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein
Apply example and be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 be according to the present invention integrated circuit the Automation Design in equation group existence of solution inspection method flow chart,
Below with reference to Fig. 1, equation group existence of solution inspection method in the integrated circuit the Automation Design of the present invention is carried out in detail
Description.
First, in step 101, a container is initialized, when initial, container is sky;All devices in traversal netlist, point
The characteristic of parser part, according to the annexation of device progressively Member Container.We are set in this container, if there is two node tools
There is same attribute, then it is assumed that there is special loop in circuit, it will cause equation group without solution.
In step 102, correspondence Fig. 4 is to whether there is to cause special loop of the equation without solution according to the inspection netlist of the present invention
Flow chart, as shown in figure 4, decision circuitry whether there is special loop, if there is special loop, then report an error and exit;If
There is no special loop, then travel through next device, and more new container.
In step 103, whether correspondence Fig. 5 is to be formed to cause equation without solution in circuit optimization according to the inspection of the present invention
Special loop flow chart, as shown in figure 5, judging whether a certain optimization can form special loop, that is, judges that needs a short circuit
Whether device two ends have in a reservoir same attribute:If forming special loop, optimizing the device can cause equation group without solution,
Then cancel the optimization to the device;Otherwise, after the short circuit device and more new container, continue to optimize next device.
Fig. 2 is to make special loop exemplary plot of the equation group without solution according to the present invention, and Fig. 3 is coefficient square corresponding with Fig. 2
Battle array filling exemplary plot, as shown in Fig. 2 there is two voltage source parallel connections in circuit, can form the coefficient square shown in Fig. 3 after filling
Battle array.From for mathematical angle, the coefficient matrix row f1 and row f2 linear correlations shown in Fig. 3, its corresponding equation group is without solution.
Equation group existence of solution inspection method in the integrated circuit the Automation Design of the present invention, with simple efficient container
Replace traditional linear sweep, complicated circuit information is converted into structural relation figure, its generating algorithm includes the following steps:
Components and parts in traversal netlist, according to device annexation container is built;According to the device that existing container judges newly to traverse
Whether part forms special loop, i.e., whether it can cause equation group without solution:It is to report an error and exit;When circuit optimization is done, root
Judge whether the suboptimization can form special loop and cause equation group without solution according to container, so as to decide whether to continue the suboptimum
Change.
One of ordinary skill in the art will appreciate that:The foregoing is only the preferred embodiments of the present invention, and without
In the present invention is limited, although being described in detail to the present invention with reference to the foregoing embodiments, for those skilled in the art
For, it still can modify to the technical scheme that foregoing embodiments are recorded, or which part technical characteristic is entered
Row equivalent.All any modification, equivalent substitution and improvements within the spirit and principles in the present invention, made etc., all should include
Within protection scope of the present invention.