Integrated circuit simulation method and device based on continuous time projection
Through the method based on continuous time projection and block Cramer's rule, the problem of insufficient solving efficiency and accuracy in traditional simulation methods is solved, high-order, high-precision and efficient parallel computing is realized, and the numerical solution of each time interval is directly obtained, which is suitable for For time domain simulation of nonlinear and linear circuits.
Patent Information
- Application Number
- CN202410707308.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-03
AI Technical Summary
Traditional integrated circuit simulation methods have shortcomings in solution efficiency and accuracy. In particular, the high-order multi-step method cannot take into account both high-order and high efficiency, and cannot directly obtain the numerical solution within each interval, which affects the transient simulation of design engineers. analyze.
Adopt an integrated circuit simulation method based on continuous time projection, use Legendre polynomials as basis functions to perform continuous time projection on the differential algebraic system, decouple the Jacobian matrix through the block Cramer rule, and assign it to parallel processes to solve, achieving high-order approximation and Efficient parallel computing.
It realizes high-precision simulation of any high-order approximation, can directly obtain the numerical solution of each time interval, improves simulation efficiency and accuracy, and facilitates high-precision recovery of transient waveforms.
Smart Images

Figure CN118586330A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of integrated circuit EDA, and specifically relates to an integrated circuit simulation method based on continuous time projection, an integrated circuit simulation device based on continuous time projection, a computer device and a machine-readable storage medium. Background Art
[0002] In the process of modern integrated circuit (IC) design verification and manufacturing, the actual circuit tape-out cost is high. Therefore, before the actual tape-out, the integrated circuit design needs to be numerically simulated. Classic circuit simulation methods are divided into different levels of abstraction, specifically: system-level simulation, register-transfer-level simulation (RTL), gate-level simulation, behavioral simulation, and transistor-level simulation. Among them, transistor-level circuit simulation has the highest simulation accuracy. Nagel proposed the earliest transistor-level general circuit simulator in a public document named A Computer Program to Simulate Semiconductor Circuits, and most of the subsequent commercial circuit simulators followed his design ideas. Only by continuously simulating the circuit can the circuit design be continuously optimized to avoid tape-out failure. How to obtain reliable transistor-level circuit simulation results in a relatively short time is crucial for design verification.
[0003] In principle, the circuit simulation process of nonlinear circuits such as dynamic random access memory circuits is essentially solving a large-scale differential algebraic system (DAE). Real integrated circuits often contain a large number of nonlinear devices, and these nonlinear transistor devices in the circuit pose a great challenge to circuit simulation. Common types of circuits containing nonlinear devices include: dynamic random access memory circuits and static random access memory circuits. The unknown state variable x(t) of the differential algebraic system that is ultimately to be solved is a time-dependent vector. For such a time-dependent differential algebraic system, numerical time integration is required to solve it. Classic numerical time integration methods include the BDFk method (Backward Differential Formul-kthorder), the Runge-Kutta method, the Crank-Nicolson method, and the Parareal method.
[0004] In particular, in the field of circuit simulation, commonly used numerical integration methods include forward Euler method, backward Euler method, trapezoidal formula and BDFk method (also known as Gear method). Among them, forward Euler method and backward Euler method are first-order methods, and linear polynomials are used to approximate the time derivative operator; trapezoidal formula is a second-order method, and quadratic polynomials are used to approximate the time derivative operator; due to stability reasons, only the first six orders of BDFk method meet the zero-stability condition, and its second-order formula is usually only used in commercial circuit simulators.
[0005] After investigation, it was found that in order to achieve high numerical order and high precision, the traditional high-order multi-step method increases the computational cost within a single time step, and cannot take into account the solution efficiency and order within a single time step at the same time. On the other hand, the traditional numerical integration method can only obtain the numerical solution at discrete time points in the time interval, and cannot directly obtain the numerical solution within each interval. It can only be solved through some additional interpolation techniques, which is inconvenient for integrated circuit design engineers to analyze transient simulation waveform information. In addition, how to efficiently improve the concurrency of numerical simulation is also a design difficulty of modern industrial software simulation. Summary of the invention
[0006] The purpose of the embodiments of the present invention is to provide an integrated circuit simulation method based on continuous time projection, an integrated circuit simulation device based on continuous time projection, a computer device and a machine-readable storage medium, so as to overcome the defects of low solution efficiency and low precision of traditional low-order methods, and the defects of traditional high-order multi-step methods that cannot take into account high order, high solution efficiency and high precision at the same time.
[0007] In order to achieve the above object, a first aspect of an embodiment of the present invention provides an integrated circuit simulation method based on continuous time projection, the method comprising:
[0008] Construct a differential algebraic system based on the original circuit equations satisfied by the state variables to be solved for the target circuit;
[0009] Within a preset simulation time, using the constructed numerical solution model to solve and obtain the state variables of the determined nodes in the target circuit;
[0010] Recover the state variable waveform of the determined node;
[0011] The solution process of the numerical solution model is as follows:
[0012] Read the differential algebraic system and divide the simulation time into multiple time intervals;
[0013] Solving the polynomial coefficients of the continuous time projection of the differential algebraic system using Legendre polynomials as basis functions, each time interval corresponds to a polynomial coefficient, when solving the polynomial coefficients, using the block Cramer rule to decouple the Jacobian matrix constructed when solving the projection equation, multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solution, and the solution results of each process are globally reduced and communicated;
[0014] Based on the polynomial coefficients, a solution for the state variable is obtained.
[0015] Optionally, when solving the polynomial coefficients, the Jacobian matrix constructed when solving the projection equation is decoupled using the block Cramer rule, and multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solving, and the solution results of each process are globally reduced and communicated, including:
[0016] The continuous-time Galerkin projection finite element format of the differential-algebraic system is constructed, and the projection equation is obtained by using Legendre polynomials as basis functions to represent the approximate solution of the state variables to be solved, and the projection equation is converted into a nonlinear equation system after integral transformation;
[0017] Decoupling the Jacobian matrix constructed when solving the nonlinear equations by using the block Cramer rule to obtain multiple sparse linear systems, and solving the equations of the sparse linear systems by using a direct solution method or an iterative solution method;
[0018] determining a plurality of parallel processes for solving the sparse linear system;
[0019] For a certain time interval, calculate the initial data used to assemble or update the sparse linear system matrix and the right-hand side term, and broadcast the initial data globally;
[0020] Each process assembles the sparse linear system matrix and right-hand side terms that it needs to solve, solves the sparse linear system after assembly, and performs global reduction communication on the solution results until the stopping condition of the iterative solution is met, and the polynomial coefficients corresponding to the time interval are obtained.
[0021] Optionally, constructing a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved for the target circuit includes:
[0022] Determine the target circuit to be simulated and the state variables of the target circuit to be solved;
[0023] Determining each original circuit equation term satisfied by the state variable;
[0024] Construct differential-algebraic systems from terms of primitive circuit equations;
[0025] The differential algebraic system is expressed as:
[0026]
[0027] In the above formula, x(0) represents the value of the state variable x(t) at the initial moment of the simulation duration, with the independent variable being time t; q(x) represents the charge associated with the circuit element of the target circuit, and is a function of the state variable x(t); represents the derivative of charge q(x) with respect to time t; f(x) represents the relationship between the current flowing through the circuit element in the target circuit and the voltage; b(t) represents the power term.
[0028] Optionally, dividing the simulation duration into multiple time intervals includes:
[0029] Divide the simulation time evenly or unevenly to obtain multiple time intervals;
[0030] The simulation duration is represented by [0, T]; the time interval is represented by I n =(t n ,t n+1 ), 0 = t0 <t1<…<t N =T, 0≤n≤N, N represents the number of time intervals in the simulation duration; τ n =t n+1 -t n , τ n Indicates the time interval value of the n+1th time interval.
[0031] Optionally, the continuous-time Galerkin projection finite element format for constructing a differential-algebraic system uses Legendre polynomials as basis functions to represent the approximate solution of the state variable to be solved to obtain a projection equation, and performs an integral transformation on the projection equation to convert it into a nonlinear equation system, including:
[0032] Define the finite element space Among them, P r represents the space of polynomial functions of degree at most r, and C represents the set of continuous functions;
[0033] Defining a local projection And meet Among them, L 2 represents the space of square integrable functions;
[0034] For a specific r, construct the continuous-time Galerkin projection finite element format of the differential-algebraic system Among them, X r (t) represents the approximate solution of the state variable x(t) to be solved;
[0035] Select time interval In Legendre polynomials As a basis function, the approximate solution X r (t) is expanded to be
[0036] The projection of each circuit equation and power supply term is expressed as
[0037] Get the projection equation
[0038] After the projection equation is integrally transformed, the nonlinear equation system is obtained
[0039] Among them, by a j Composition Collection represents the polynomial coefficient; α j , β j , γ j They represent the projection coefficients of the circuit equation terms q(x), f(x) and the power term b(t) on the Legendre basis function respectively.
[0040] Optionally, the block Cramer rule is used to decouple the Jacobian matrix constructed when solving the nonlinear equations to obtain multiple sparse linear systems, including:
[0041] remember The nonlinear equations are expressed as
[0042] remember The iterative solution format for solving this nonlinear system of equations is remember The above iterative solution format is equivalent to the following residual equation
[0043] in, represents the Jacobian matrix, and
[0044] is the identity matrix,
[0045] Introducing the transformation matrix and
[0046] The residual equation is transformed into the following equation in, The matrix structure is
[0047]
[0048] By introducing intermediate variables The transformed residual equation has an explicit solution Among them, δ i,1 is the Kronecker notation, intermediate variable Solved by the following sparse linear system:
[0049]
[0050] Among them, φ k,i (λ)=detE r+1 (λ) k,i ,k,i=1,…,r+1,λ is the cofactor parameter,E r+1 (λ) is the structure matrix; φ r (λ)=detE r+1 (λ); c r =(-1) r+1 ;ζ j ,j=1,…,r, and is φ r (λ)=detE r+1 The zero point of (λ); φ r (λ) satisfies the following recursive relationship: φ r (λ)=-λφ r-1 (λ)+a r a r-1 φ r-2 (λ),r≥3,φ1=-1-λ,
[0051] Optionally, the calculation is used to assemble or update initial data of the sparse linear system matrix and the right-hand side term, and globally broadcast the initial data, including:
[0052] For the first time interval:
[0053] Generate the initial circuit matrix G based on the improved node analysis method n and the initial circuit matrix C n , and assemble the initial system matrix
[0054] Set the polynomial coefficients to be solved The initial value of
[0055] Generate the initial value right-hand side term using the power supply term that has been read, and use the circuit matrix G n Solve for the initial value x0;
[0056] Calculate the projection coefficients of the circuit equation terms q(x) and f(x) on the Legendre basis function And the nonlinear equations in the initial polynomial coefficients The initial residual under And calculate the projection coefficient of the power term b(t) on the Legendre basis function
[0057] Calculate the zero point of the recurrence relation
[0058] Use a recursive algorithm to calculate the structure matrix E r+1 (λ) algebraic cofactor value;
[0059] Using the recursive relation, we can calculate the derivative value φ′(ζ j ),j=1,…,r;
[0060] Calculate the value of the polynomial ψ r-1 (ζ j ),j=1,…,r;
[0061] The projection coefficients corresponding to the initial system matrix, initial value x0, and circuit equation terms are Initial residual Projection coefficient corresponding to the power item Zeros of the recurrence relation Structure Matrix E r+1 (λ) algebraic cofactor value and recursive relation derivative value φ′(ζ j ),j=1,…,r and the polynomial value ψ r-1 (ζ j ),j=1,…,r is sent as the initial data to the remaining r-1 processes;
[0062] For time intervals other than the first one:
[0063] according to Calculate the initial value X for this time interval r (t n+1 ), and update the initial value and the sparse linear system on each process.
[0064] Optionally, for a certain time interval, each process assembles the sparse linear system matrix and right-hand side items to be solved by itself, solves the sparse linear system after the assembly is completed, and performs global reduction communication on the solution results until the stopping condition of the iterative solution is met, and obtains the polynomial coefficients corresponding to the time interval, including:
[0065] Each process assembles its own sparse linear system matrix and right-hand side to be solved;
[0066] Execute the right-hand side item update step;
[0067] Solve the sparse linear system and obtain the intermediate variables
[0068] The intermediate variables obtained from each process Perform global reduction and send it to each process;
[0069] according to Calculate iterative update values of polynomial coefficients;
[0070] If the nonlinear equations satisfy the convergence condition Then the polynomial coefficient currently calculated is used as the polynomial coefficient corresponding to the time interval, otherwise proceed to the next step;
[0071] according to Update the coefficients of the polynomial to be solved and the renew And jump to the right-hand item update step;
[0072] The right-end item update step is as follows: for each process, Update the right-hand side of the corresponding sparse linear system.
[0073] A second aspect of an embodiment of the present invention provides an integrated circuit simulation device based on continuous time projection, the device comprising:
[0074] A differential algebraic system building module is used to build a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved for the target circuit;
[0075] A state variable solving module, used to solve the state variables of the determined nodes in the target circuit by using the constructed numerical solution model within a preset simulation time;
[0076] A waveform recovery module, used for recovering the state variable waveform of a determined node;
[0077] The solution process of the numerical solution model is as follows:
[0078] Read the differential algebraic system and divide the simulation time into multiple time intervals;
[0079] Solving the polynomial coefficients of the continuous time projection of the differential algebraic system using Legendre polynomials as basis functions, each time interval corresponds to a polynomial coefficient, when solving the polynomial coefficients, using the block Cramer rule to decouple the Jacobian matrix constructed when solving the projection equation, multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solution, and the solution results of each process are globally reduced and communicated;
[0080] Based on the polynomial coefficients, a solution for the state variable is obtained.
[0081] A third aspect of an embodiment of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the integrated circuit simulation method based on continuous time projection described in the first aspect of an embodiment of the present invention is implemented.
[0082] A fourth aspect of an embodiment of the present invention provides a machine-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the integrated circuit simulation method based on continuous time projection described in the first aspect of an embodiment of the present invention is implemented.
[0083] The above technical solution proposes the technical concept of continuous time projection and Jacobian matrix decoupling using block Cramer's rule, which realizes arbitrary high-order approximation, high precision and high efficiency of time domain simulation of nonlinear circuits, and is also applicable to time domain simulation of general linear circuits.
[0084] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0086] Figure 1 is a schematic flow chart of an integrated circuit simulation method based on continuous time projection according to an embodiment of the present invention;
[0087] Figure 2 A schematic diagram of a parallel process;
[0088] Figure 3 A schematic diagram of pulse excitation;
[0089] Figure 4 It is a circuit schematic diagram of a dynamic random access memory circuit array structure in a specific application example;
[0090] Figure 5 is a schematic comparison diagram of voltage waveforms and reference waveforms restored by the integrated circuit simulation method based on continuous time projection according to an embodiment of the present invention and the traditional simulation method when the time step is 2.5;
[0091] Figure 6 is a schematic comparison diagram of voltage waveforms and reference waveforms restored by the integrated circuit simulation method based on continuous time projection according to an embodiment of the present invention and the traditional simulation method when the time step is 1.25;
[0092] Figure 7is a schematic comparison diagram of voltage waveforms and reference waveforms restored by the integrated circuit simulation method based on continuous time projection according to an embodiment of the present invention and the traditional simulation method when the time step is 0.625;
[0093] Figure 8 is a schematic comparison diagram of voltage waveforms and reference waveforms restored by the integrated circuit simulation method based on continuous time projection according to an embodiment of the present invention and the traditional simulation method when the time step is 0.3125;
[0094] Fig. 9 is a schematic block diagram of an integrated circuit simulation device based on continuous time projection according to an embodiment of the present invention;
[0095] Fig.10 4 is a structural block diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0096] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.
[0097] Embodiment 1
[0098] See also Figure 1 to Figure 2 , an integrated circuit simulation method based on continuous time projection provided by an embodiment of the present invention includes the following specific implementation steps:
[0099] Step S100, constructing a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved of the target circuit, wherein the target circuit may be a nonlinear circuit or a linear circuit.
[0100] Step S200: within a preset simulation time, using the constructed numerical solution model to solve and obtain the state variables of a certain node in the target circuit.
[0101] It should be understood that the determined nodes refer to one or more target circuit nodes that need to be subjected to simulation analysis.
[0102] Step S300, restoring the state variable waveform of the determined node.
[0103] The solution process of the constructed numerical solution model includes the following sub-steps:
[0104] Step SS1, read the differential algebraic system and divide the simulation time into multiple time intervals;
[0105] Step SS2, solving the polynomial coefficients of continuous time projection of the differential algebraic system using Legendre polynomials as basis functions, each time interval corresponding to a polynomial coefficient;
[0106] Step SS3, calculating the solution of the state variable according to the solved polynomial coefficients;
[0107] When solving the polynomial coefficients, the block Cramer's rule is used to decouple the Jacobian matrix constructed when solving the projection equation. The multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solution, and the solution results of each process are globally reduced and communicated.
[0108] Exemplarily, in a specific embodiment, each sparse linear system corresponds to a different process, that is, each process corresponds to the solution of a sparse linear system.
[0109] Exemplarily, when solving the polynomial coefficients, a direct solver based on a direct solution method or an iterative solver based on an iterative solution method may be used, for example, an LU decomposition method may be used.
[0110] In the above technical scheme: first, through continuous time projection based on Legendre polynomials, arbitrary high-order approximation is realized when solving state variables of differential algebraic systems corresponding to nonlinear circuits. Compared with traditional numerical methods, it has higher solution accuracy in the same time interval, and the simulation time required to achieve the same solution accuracy is shorter; secondly, through continuous time projection based on Legendre polynomials, the numerical solution of each time interval can be directly obtained, rather than just the numerical solution at discrete time points, thereby achieving high-precision recovery of transient waveforms and facilitating simulation analysis of transient waveforms; finally, the Jacobian matrix constructed in the process of solving the projection equations is decoupled through the block Cramer's rule, and the multiple sparse linear systems obtained by decoupling are solved through multiple parallel processes, thereby achieving efficient parallel computing in a single time interval and improving simulation efficiency.
[0111] Exemplarily, in a specific embodiment, the Jacobian matrix constructed when solving the projection equation is decoupled by using the block Cramer rule, and multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solving, and the solution results of each process are globally reduced and communicated, including the following specific implementation steps:
[0112] Step S01, constructing a continuous-time Galerkin projection finite element format for a differential-algebraic system, using Legendre polynomials as basis functions to represent the approximate solution of the state variable to be solved to obtain a projection equation, and converting the projection equation into a nonlinear equation system after performing an integral transformation;
[0113] Step S02, using the block Cramer's rule to decouple the Jacobian matrix constructed when solving the nonlinear equations, to obtain multiple sparse linear systems;
[0114] Step S03, determining a plurality of parallel processes for solving the sparse linear system;
[0115] Step S04, for a certain time interval, calculating initial data for assembling or updating the sparse linear system matrix and the right-hand side term, and globally broadcasting the initial data;
[0116] Step S05, each process assembles the sparse linear system matrix and right-hand side items to be solved by itself, solves the sparse linear system after the assembly is completed, and performs global reduction communication on the solution results until the stop condition during iterative solution is met, and obtains the polynomial coefficients corresponding to the time interval;
[0117] The sparse linear system equations are solved by a preset solver, and the preset solver is a direct solver or an iterative solver.
[0118] Exemplarily, in a specific embodiment, step S100, constructing a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved for the target circuit, includes the following implementation steps:
[0119] Step S110, determining the target circuit to be simulated and the state variables of the target circuit to be solved;
[0120] Step S120, determining each original circuit equation term satisfied by the state variable;
[0121] Step S130, constructing a differential algebraic system according to each original circuit equation term.
[0122] The differential algebraic system can be expressed as follows:
[0123]
[0124] In the formula, x(0) represents the value of the state variable x(t) at the initial moment of the simulation duration when the independent variable is time t. q(x) represents the charge associated with the circuit element in the target circuit and is a function of the state variable x(t). represents the derivative of charge q(x) with respect to time t; f(x) represents the relationship between the current flowing through the circuit element in the target circuit and the voltage. b(t) represents the power term,
[0125] b(t) represents a power supply item, and an excitation function applied to the target circuit can be formed according to the input node of the power supply item and the excitation signal source information. For example, the excitation function can be sine excitation, cosine excitation, or pulse excitation.
[0126] Exemplarily, in a specific embodiment, dividing the simulation duration into multiple time intervals includes the following implementation steps:
[0127] The simulation duration is divided evenly or unevenly to obtain multiple time intervals; the simulation duration is represented by [0, T']; the time interval is represented by I n =(t n ,t n+1 ), 0 = t0 <t1<…<t N =T', 0≤n≤N, N represents the number of time intervals in the simulation duration, n represents the time interval number, t0 represents the start time of the simulation duration, t1 represents the end time of the first time interval, and so on. N Indicates the end time of the last time interval; τ n =t n+1 -t n , τ n Indicates the time interval value of the n+1th time interval, t n+1 Indicates the end time of the n+1th time interval, t n Indicates the start time of the n+1th time interval. When the simulation time is evenly divided, the time interval can also be called a time step.
[0128] Exemplarily, in a specific embodiment, step S01, constructing a continuous-time Galerkin projection finite element format for a differential algebraic system, using Legendre polynomials as basis functions to represent the approximate solution of the state variable to be solved to obtain a projection equation, and converting the projection equation into a nonlinear equation system after performing an integral transformation, includes the following implementation steps:
[0129] Step S011, define finite element space Among them, P r represents the space of polynomial functions of degree at most r, v represents the elements in the finite element space, and C represents the set of continuous functions;
[0130] Step S012, define local projection And meet Among them, L 2 represents the square integrable function space, w represents P r The elements in .
[0131] Step SS03, for a specific r ≥ 1, construct the continuous-time Galerkin projection finite element format for the differential-algebraic system Among them, X r (t) represents the approximate solution of the state variable x(t) to be solved. At this time, solving the differential algebraic system can be described as Find solutions that satisfy the continuous-time Galerkin projection finite element format.
[0132] Step S013, select time interval I n Legendre polynomials As a basis function, the approximate solution X r (t) is expanded to be It can be seen that in order to obtain the approximate solution X r (t), which is actually to find the approximate solution X in each time interval r The polynomial coefficients of (t) j represents the number of the polynomial coefficient.
[0133] Step S014, the projection of each circuit equation term is expressed as
[0134] Step S015, obtain the projection equation
[0135] Step S016, performing integral transformation on the above projection equation to obtain a nonlinear equation system
[0136]
[0137] Among them, by a j Composition Collection represents the polynomial coefficient; α j , β j , γ j They represent the projection coefficients of the circuit equation terms q(x), f(x) and the power term b(t) on the Legendre basis function respectively.
[0138] For example, in a specific embodiment, step S02, using the block Cramer's rule to decouple the Jacobian matrix constructed when solving the nonlinear equations to obtain multiple sparse linear systems, includes the following implementation steps:
[0139] Step S021, record The nonlinear equations are expressed as
[0140] Step S022, record The iterative solution format for solving the above nonlinear equations using the preset solution method is In the record After that, the above iterative solution format is equivalent to the following residual equation in, represents the Jacobian matrix, and I is the identity matrix, G(X r (t n )):=G n , C(X r (t n )):=C n .
[0141] Step S023, introducing the transformation matrix and
[0142] Step S024, the residual equation is converted to the following equation in, The matrix structure is
[0143]
[0144] Step S025, by introducing intermediate variables The transformed residual equation has an explicit solution Among them, δ i,1 is the Kronecker notation, intermediate variable Solved by the following sparse linear system:
[0145]
[0146] Among them, φ k,i (λ)=detE r+1 (λ) k,i ,k,i=1,…,r+1,λ is the cofactor parameter,E r+1 (λ) is the structure matrix; φ r (λ)=detE r+1 (λ); c r =(-1) r+1 ;ζ j ,j=1,…,r, and is φ r (λ)=detE r+1 The zero point of (λ); φ r (λ) satisfies the following recursive relation φ r (λ)=-λφ r-1 (λ)+a r a r-1 φ r-2 (λ),r≥3,φ1=-1-λ,
[0147] Exemplarily, in a specific embodiment, step S04, calculating initial data for assembling or updating the sparse linear system matrix and the right-hand side term, and globally broadcasting the initial data, includes the following implementation steps:
[0148] First, for the first time interval:
[0149] Generate the initial circuit matrix G based on the improved node analysis method n and the initial circuit matrix C n , and assemble the initial system matrix
[0150] Set the polynomial coefficients to be solved The initial value of
[0151] Generate the initial value right-hand side term using the power supply term that has been read, and use the circuit matrix G n Solve for the initial value x0;
[0152] Calculate the projection coefficients of the circuit equation terms q(x) and f(x) on the Legendre basis function And the nonlinear equations in the initial polynomial coefficients The initial residual under And calculate the projection coefficient of the power term b(t) on the Legendre basis function
[0153] Calculate the recursive relation φ r (λ)=-λφ r-1 (λ)+a r a r-1 φ r-2 (λ),r≥3,φ1=-1-λ, Zero point
[0154] Use a recursive algorithm to calculate the structure matrix E r+1 (λ) algebraic cofactor value;
[0155] Using the recursive relation φ r (λ)=-λφ r-1 (λ)+a r a r-1 φ r-2 (λ),r≥3,φ1=-1-λ, Calculate the derivative value φ′(ζ j ),j=1,…,r;
[0156] By definition Calculate the value of the polynomial ψ r-1 (ζ j ),j=1,…,r;
[0157] The initial system matrix, initial value x0, and projection coefficient of the circuit equation Initial residual Projection coefficient corresponding to the power item Zeros of the recurrence relation Structure Matrix E r+1 (λ) algebraic cofactor value and recursive relation derivative value φ′(ζ j ),j=1,…,r and the polynomial value ψ r-1 (ζ j ),j=1,…,r is sent as the initial data to the remaining r-1 processes. The initial data at this time is the initialization data required for the solution.
[0158] For time intervals other than the first one:
[0159] according to Calculate the initial value X for this time interval r (t n+1 ), and update the initial value and the sparse linear system on each process.
[0160] For example, in a specific embodiment, each process corresponds to the solution of a sparse linear system, and the solution method adopts the Newton iterative solution method. Accordingly, for a certain time interval, in step S05, the sparse linear system is solved after the assembly is completed, and the solution result is globally reduced and communicated until the stop condition during the iterative solution is met, and the polynomial coefficients corresponding to the time interval are obtained, including the following implementation steps:
[0161] Step S051, based on the current Update the right-hand side of the sparse linear system;
[0162] Step S052, solving the sparse linear system to obtain the intermediate variables
[0163] Step S053: The intermediate variables obtained in each process Perform global reduction and send it to each process;
[0164] Step S054, according to Calculate the iterative update value of the coefficient of the polynomial to be solved;
[0165] Step S055: If the nonlinear equations meet the convergence condition Then the polynomial coefficients currently calculated are used as the time interval I n The polynomial coefficient of , otherwise execute the next step, where l represents the number of the iteration step, and tol represents the preset first threshold;
[0166] Step S056, according to Update the coefficients of the polynomial to be solved, and based on renew Then jump to step S051.
[0167] In the above technical solution, for general linear circuits, when solving by Newton iteration, only one iteration is required within each time interval. It can be seen that the integrated circuit simulation method based on continuous time projection implemented in the embodiment of the present invention has extremely strong applicability.
[0168] Embodiment 2
[0169] Combination Figure 2 As shown, an integrated circuit simulation method based on continuous time projection provided by an embodiment of the present invention is an application of embodiment 1 in a nonlinear circuit. The input parameters of the simulation process include circuit equation related information, power supply related information, simulation related setting information and sparse linear system solver related setting information. Among them, the circuit equation related information includes the state variables required to be solved for the nonlinear circuit to be simulated The circuit equations that need to be satisfied And power items Power-related information includes power items The node information and related parameter settings of the excitation signal, for example, the related parameter settings when using sine or cosine excitation include amplitude A, frequency ω, phase shift parameter k' and displacement parameter b'. Taking sine excitation as an example, its signal function form can be b i' (t) = Asin(ωt+k')+b'. The relevant parameter settings when using pulse excitation include delay, low level, high level, period, platform, rise and fall. The signal function form is as follows: Figure 3 When exponential excitation is used, the relevant parameter settings include the amplification coefficient α', the exponential coefficient β' and the displacement γ', and the signal function form can be b i' (t) = α'e β 't+γ'. The simulation related setting information includes the start and end information of the simulation time, the solution order used, the serial and parallel solution mode, the specified output node information, etc. The related setting information of the sparse linear system solver includes the related parameter information of the solution mode such as the direct solver and the iterative solver, etc. The output results of the simulation process include the voltage waveform restored according to the polynomial coefficient related files of the specified output node and the waveform numerical information related files such as the voltage. Specifically, the application process specifically includes the following implementation steps:
[0170] Step A1: according to the state variables to be solved for the nonlinear circuit to be simulated The circuit equations that need to be satisfied And power items Construct a differential-algebraic system corresponding to this nonlinear circuit.
[0171] Step A2, dividing the preset simulation time into multiple time intervals.
[0172] Step A3: determining a plurality of sparse linear systems to be solved according to the differential-algebraic system.
[0173] Step A4, solving the polynomial coefficients of the first time interval, includes the following sub-steps:
[0174] Step A41, in process #0:
[0175] Generate the initial circuit matrix G based on the improved node analysis method n and C n , and assemble the initial system matrix
[0176] Set unknown variables (polynomial coefficients to be solved) The initial value of
[0177] Generate the right-hand side term of the initial value x0 using the power term that has been read, and use the circuit matrix G n Calculate the initial value x0;
[0178] Calculate the projection coefficients of the circuit equation terms q(x) and f(x) on the Legendre basis function And the nonlinear equations in the initial polynomial coefficients The initial residual under And calculate the projection coefficient of the power term b(t) on the Legendre basis function
[0179] For example, let's take the power term as an example to illustrate how to calculate the projection coefficient: Assume that the power term function on a circuit node i' is b i' (t), the projection coefficient of the power term can be calculated using the following formula Among them, the Gauss-Legendre integral formula can be used to perform the integral calculation in the above formula;
[0180] Compute the zeros of a recurrence relation Table 1 lists the values of φ when r=2,…,6 r The zero value of (λ);
[0181] Table 1
[0182]
[0183] Use a recursive algorithm to calculate the value of the structural matrix algebraic cofactor;
[0184] Use the recursive relationship to calculate its derivative value;
[0185] Using the definition to calculate ψ r-1 (ζ j ),j=1,…,r;
[0186] The initial system matrix, initial value x0, and projection coefficient of the circuit equation Initial residual Projection coefficient corresponding to the power item Zeros of the recurrence relation The value of the structural matrix algebraic cofactor, the value of the recursive relation derivative φ′(ζ j ),j=1,…,r and the polynomial value ψ r-1 (ζ j ),j=1,…,r is sent as initialization data to the remaining r-1 processes;
[0187] Step A42, according to different values of j, assemble the matrix and right-hand side of the sparse linear system on r processes according to the following formula, and each process corresponds to the solution of a sparse linear system:
[0188]
[0189] Specifically, the coefficient matrix The corresponding right-hand side item is also assembled on the process where it is distributed.
[0190] Step A43, solve the corresponding sparse linear system in each process, and convert the intermediate variables solved by each process into Perform global reduction communication and perform Newton iteration until the nonlinear equations converge, which includes the following sub-steps:
[0191] Sub-step A431, the obtained Perform a global reduction, send it to each process, and calculate the iterative update value of the polynomial coefficient according to the following formula:
[0192]
[0193] Sub-step A432, according to
[0194]
[0195] Determine whether the nonlinear equation system converges; if converged, execute step A44; if not, execute the next step;
[0196] Sub-step A433, according to Update unknown variables;
[0197] Sub-step A434, based on renew And return to sub-step A431;
[0198] Step A44, using the polynomial coefficients currently solved as the polynomial coefficients of the current time interval.
[0199] Step A5, solving the polynomial coefficients of the next time interval, and determining whether the end time of the preset simulation duration has been reached, if so, proceeding to the next step, otherwise returning to step A43;
[0200] Among them, the initial value X of the next time interval r (t n+1 ) is calculated by the following formula, and then according to the initial value X r (t n+1 ) Update the initial value and sparse linear system on each process:
[0201]
[0202] Step A6, calculate the solution of the state variable according to the polynomial coefficients obtained in all time intervals, and restore the waveform of the corresponding node according to the following formula to obtain the waveform curve of the corresponding node:
[0203]
[0204] Among them, K is the number of discrete points taken in each time interval, which can be adjusted as needed.
[0205] In the prior art, most traditional integrated circuit simulation methods use traditional low-order methods and high-order multi-step methods for solving. When using the classic high-order multi-step method, the overhead within a single time step is high. The above technical solution uses a continuous time projection method and a block Cramer's rule to design a high-order, high-precision large-scale integrated circuit time domain simulation method that can be solved in parallel within each time interval. First, by using a continuous time projection framework, it is possible to reach any high order. At the same time, by using the block Cramer's rule to decouple the overall system matrix, the calculation formula of each unknown variable can be explicitly obtained. By introducing intermediate variables, the unknown variables can be solved completely independently on multiple processes. After the overall calculation is completed, the continuous projection framework can be used to restore the waveform of the solution in each time interval. It can be seen that the simulation method based on continuous time projection implemented by the above technical solution can not only simulate the waveform changes such as voltage of the integrated circuit with high precision, but also achieve the optimal convergence solution, and the multi-process parallel solution strategy adopted effectively accelerates the overall simulation process and greatly reduces the time required for simulation.
[0206] The following content uses a dynamic random access memory circuit containing nonlinear devices as an example to illustrate the effectiveness of the above embodiment. First, the dynamic random access memory circuit to be simulated is as follows: Figure 4 As shown, the order of the solution is set to 2, and the node waveforms obtained by simulation with different time steps are as follows Figures 5 to 8 The midpoint dashed line shows the waveform of the reference solution. Figures 5 to 8 As shown by the solid line in the middle, the waveform restored by the traditional simulation method is as follows Figures 5 to 8 The L2 error of the numerical solution is defined as follows:
[0207]
[0208] Among them, x approx represents the approximate solution of the state variables, x reference represents the reference solution of the state variables.
[0209] Table 2 shows the simulation results of the conventional simulation method and the simulation method based on continuous time projection implemented by the embodiment of the present invention. Figure 4 The error results of the dynamic random access memory circuit shown in FIG. 2 are shown in FIG. 3 . As can be seen from Table 2, the numerical order of the simulation method based on continuous time projection implemented in the embodiment of the present invention is significantly higher than that of the traditional simulation method when solving nonlinear circuits, which shows that when the simulation method based on continuous time projection implemented in the embodiment of the present invention is used for simulation, a relatively high solution accuracy can be achieved with fewer time integration steps. Intuitively, it can be seen from Figures 5 to 8 It can be seen that as the time step decreases, the restoration effect of the approximate solution waveform obtained by the simulation method based on continuous time projection implemented in the embodiment of the present invention is significantly better than that of the traditional simulation method. Figure 8 It can be seen that when 32 time steps are used for solving, the approximate solution obtained based on the embodiment of the present invention is close to the reference solution, while there is still a relatively obvious phase offset between the approximate solution obtained by the traditional simulation method and the reference solution. This shows that nonlinear circuit simulation based on the embodiment of the present invention can effectively reduce the number of simulation steps and save simulation time.
[0210] Table 2
[0211]
[0212] Embodiment 3
[0213] See also Fig. 9 An integrated circuit simulation device 400 based on continuous time projection provided by an embodiment of the present invention comprises a differential algebraic system building module 410, a state variable solving module 420 and a waveform recovery module 430 connected in sequence, wherein:
[0214] A differential algebraic system construction module 410 is used to construct a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved for the target circuit;
[0215] The state variable solving module 420 is used to solve the state variables of the determined nodes in the target circuit by using the constructed numerical solution model within a preset simulation time;
[0216] A waveform recovery module 430, used to recover the state variable waveform of the determined node;
[0217] The solution process of the numerical solution model is as follows:
[0218] Read the differential algebraic system and divide the simulation time into multiple time intervals;
[0219] Solving the polynomial coefficients of the continuous time projection of the differential algebraic system using Legendre polynomials as basis functions, each time interval corresponds to a polynomial coefficient, when solving the polynomial coefficients, using the block Cramer rule to decouple the Jacobian matrix constructed when solving the projection equation, multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solution, and the solution results of each process are globally reduced and communicated;
[0220] Based on the polynomial coefficients, a solution for the state variable is obtained.
[0221] It should be understood that, in a specific embodiment, each optional or preferred implementation process in the above-mentioned embodiment 1 and embodiment 2 is also applicable to each module of the integrated circuit simulation device 400 based on continuous time projection provided in this embodiment, so this part of the content is not repeated. Through the relevant description of embodiment 1 and embodiment 2, those skilled in the art can clearly know each step that each module in the above-mentioned integrated circuit simulation device 400 based on continuous time projection needs to perform.
[0222] On the other hand, an embodiment of the present invention further provides a machine-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned integrated circuit simulation methods based on continuous time projection are implemented.
[0223] On the other hand, an embodiment of the present invention further provides a processor, which is used to run a program, wherein the above-mentioned integrated circuit simulation methods based on continuous time projection are executed when the program is run.
[0224] In another aspect, an embodiment of the present invention further provides a computer device, which may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, an integrated circuit simulation method based on continuous time projection is implemented. The display screen A04 of the computer device can be a liquid crystal display or an electronic ink display, and the input device A05 of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0225] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present invention, and does not constitute a limitation on the computer device to which the scheme of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0226] An embodiment of the present invention further provides a computer program product, which, when executed on a data processing device, is suitable for executing each step of the method described in the first or second embodiment described above for initialization.
[0227] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0228] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A method for simulating an integrated circuit based on continuous time projection, characterized in that: The method comprises: Construct a differential algebraic system based on the original circuit equations satisfied by the state variables to be solved for the target circuit; Within a preset simulation time, using the constructed numerical solution model to solve and obtain the state variables of the determined nodes in the target circuit; Recover the state variable waveform of the determined node; The solution process of the numerical solution model is as follows: Read the differential algebraic system and divide the simulation time into multiple time intervals; Solving the polynomial coefficients of the continuous time projection of the differential algebraic system using Legendre polynomials as basis functions, each time interval corresponds to a polynomial coefficient, when solving the polynomial coefficients, using the block Cramer rule to decouple the Jacobian matrix constructed when solving the projection equation, multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solution, and the solution results of each process are globally reduced and communicated; Based on the polynomial coefficients, a solution for the state variable is obtained.
2. The integrated circuit simulation method based on continuous time projection according to claim 1, characterized in that: When solving the polynomial coefficients, the block Cramer rule is used to decouple the Jacobian matrix constructed when solving the projection equation, and multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solving, and the solution results of each process are globally reduced and communicated, including: The continuous-time Galerkin projection finite element format of the differential-algebraic system is constructed, and the projection equation is obtained by using Legendre polynomials as basis functions to represent the approximate solution of the state variables to be solved, and the projection equation is converted into a nonlinear equation system after integral transformation; Decoupling the Jacobian matrix constructed when solving the nonlinear equations by using the block Cramer rule to obtain multiple sparse linear systems, and solving the equations of the sparse linear systems by using a direct solution method or an iterative solution method; determining a plurality of parallel processes for solving the sparse linear system; For a certain time interval, calculate the initial data used to assemble or update the sparse linear system matrix and the right-hand side term, and broadcast the initial data globally; Each process assembles the sparse linear system matrix and right-hand side terms that it needs to solve, solves the sparse linear system after assembly, and performs global reduction communication on the solution results until the stopping condition of the iterative solution is met, and the polynomial coefficients corresponding to the time interval are obtained.
3. The integrated circuit simulation method based on continuous time projection according to claim 2, characterized in that: The step of constructing a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved for the target circuit comprises: Determine the target circuit to be simulated and the state variables of the target circuit to be solved; Determining each original circuit equation term satisfied by the state variable; Construct differential-algebraic systems from terms of primitive circuit equations; The differential algebraic system is expressed as: In the above formula, x(0) represents the value of the state variable x(t) at the initial moment of the simulation duration, with the independent variable being time t; q(x) represents the charge associated with the circuit element of the target circuit, and is a function of the state variable x(t); represents the derivative of charge q(x) with respect to time t; f(x) represents the relationship between the current flowing through the circuit element in the target circuit and the voltage; b(t) represents the power term.
4. The integrated circuit simulation method based on continuous time projection according to claim 3, characterized in that: The simulation duration is divided into multiple time intervals, including: Divide the simulation time evenly or unevenly to obtain multiple time intervals; The simulation duration is represented by [0, T]; the time interval is represented by I n =(t n ,t n+1 ), 0 = t0 <t1<…<t N =T, 0≤n≤N, N represents the number of time intervals in the simulation duration; τ n =t n+1 -t n , τ n Indicates the time interval value of the n+1th time interval.
5. The integrated circuit simulation method based on continuous time projection according to claim 4, characterized in that: The continuous-time Galerkin projection finite element format for constructing a differential-algebraic system uses Legendre polynomials as basis functions to represent the approximate solution of the state variable to be solved to obtain a projection equation, and the projection equation is converted into a nonlinear equation system after integral transformation, including: Define the finite element space Among them, P r represents the space of polynomial functions of degree at most r, and C represents the set of continuous functions; Defining a local projection [L 2 (I n )] M →[P r ] M ,r≥0, and satisfies Among them, L 2 represents the space of square integrable functions; For a specific r, construct the continuous-time Galerkin projection finite element format of the differential-algebraic system Among them, X r (t) represents the approximate solution of the state variable x(t) to be solved; Select time interval I n Legendre polynomials As a basis function, the approximate solution X r (t) is expanded to be The projection of each circuit equation and power supply term is expressed as Get the projection equation After the projection equation is integrally transformed, the nonlinear equation system is obtained Among them, by a j Composition Collection represents the polynomial coefficient; α j , β j , γ j They represent the projection coefficients of the circuit equation terms q(x), f(x) and the power term b(t) on the Legendre basis function respectively.
6. The integrated circuit simulation method based on continuous time projection according to claim 5, characterized in that: The block Cramer rule is used to decouple the Jacobian matrix constructed when solving the nonlinear equations to obtain multiple sparse linear systems, including: remember The nonlinear equations are expressed as remember The iterative solution format for solving this nonlinear system of equations is remember The above iterative solution format is equivalent to the following residual equation in, represents the Jacobian matrix, and I is the identity matrix, G(X r (t n )):=G n , C(X r (t n )):=C n ; Introducing the transformation matrix and The residual equation is transformed into the following equation in, The matrix structure is By introducing intermediate variables The transformed residual equation has an explicit solution Among them, δ i,1 is the Kronecker notation, intermediate variable Solved by the following sparse linear system: Among them, φ k,i (λ)=detE r+1 (λ) k,i ,k,i=1,…,r+1,λ is the cofactor parameter,E r+1 (λ) is the structure matrix; φ r (λ)=detE r+1 (λ); c r =(-1) r+1 ;ζ j ,j=1,…,r, and is φ r (λ)=detE r+1 The zero point of (λ); φ r (λ) satisfies the following recursive relationship: φ r (λ)=-λφ r-1 (λ)+a r a r-1 φ r-2 (λ),r≥3,φ1=-1-λ, 7. The integrated circuit simulation method based on continuous time projection according to claim 6, characterized in that: The calculation is used to assemble or update the initial data of the sparse linear system matrix and the right-hand side term, and globally broadcast the initial data, including: For the first time interval: Generate the initial circuit matrix G based on the improved node analysis method n and the initial circuit matrix C n , and assemble the initial system matrix Set the polynomial coefficients to be solved The initial value of Generate the initial value right-hand side term using the power supply term that has been read, and use the circuit matrix G n Solve for the initial value x0; Calculate the projection coefficients of the circuit equation terms q(x) and f(x) on the Legendre basis function And the nonlinear equations in the initial polynomial coefficients The initial residual under And calculate the projection coefficient of the power term b(t) on the Legendre basis function Calculate the zero point of the recurrence relation Use a recursive algorithm to calculate the structure matrix E r+1 (λ) algebraic cofactor value; Using the recursive relation, we can calculate the derivative value φ′(ζ j ),j=1,…,r; Calculate the value of the polynomial ψ r-1 (ζ j ),j=1,…,r; The projection coefficients corresponding to the initial system matrix, initial value x0, and circuit equation terms are Initial residual Projection coefficient corresponding to the power item Zeros of the recurrence relation Structure Matrix E r+1 (λ) algebraic cofactor value and recursive relation derivative value φ′(ζ j ),j=1,…,r and the polynomial value ψ r-1 (ζ j ),j=1,…,r is sent as the initial data to the remaining r-1 processes; For time intervals other than the first one: according to Calculate the initial value X for this time interval r (t n+1 ), and update the initial value and the sparse linear system on each process.
8. The integrated circuit simulation method based on continuous time projection according to claim 7, characterized in that: For a certain time interval, each process assembles the sparse linear system matrix and right-hand side items to be solved by itself, solves the sparse linear system after the assembly is completed, and performs global reduction communication on the solution results until the stopping condition of the iterative solution is met, and obtains the polynomial coefficients corresponding to the time interval, including: Each process assembles its own sparse linear system matrix and right-hand side to be solved; Execute the right-hand side item update step; Solve the sparse linear system and obtain the intermediate variables The intermediate variables obtained from each process Perform global reduction and send it to each process; according to Calculate iterative update values of polynomial coefficients; If the nonlinear equations satisfy the convergence condition Then the polynomial coefficient currently calculated is used as the polynomial coefficient corresponding to the time interval, otherwise proceed to the next step; according to Update the coefficients of the polynomial to be solved and the renew And jump to the right-hand item update step; The right-end item update step is as follows: for each process, Update the right-hand side of the corresponding sparse linear system.
9. An integrated circuit simulation device based on continuous time projection, characterized in that: The device comprises: A differential algebraic system building module is used to build a differential algebraic system according to the original circuit equations satisfied by the state variables to be solved for the target circuit; A state variable solving module, used to solve the state variables of the determined nodes in the target circuit by using the constructed numerical solution model within a preset simulation time; A waveform recovery module, used for recovering the state variable waveform of a determined node; The solution process of the numerical solution model is as follows: Read the differential algebraic system and divide the simulation time into multiple time intervals; Solving the polynomial coefficients of the continuous time projection of the differential algebraic system using Legendre polynomials as basis functions, each time interval corresponds to a polynomial coefficient, when solving the polynomial coefficients, using the block Cramer rule to decouple the Jacobian matrix constructed when solving the projection equation, multiple sparse linear systems obtained by decoupling are assigned to multiple parallel processes for solution, and the solution results of each process are globally reduced and communicated; Based on the polynomial coefficients, a solution for the state variable is obtained.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the integrated circuit simulation method based on continuous time projection according to any one of claims 1 to 8 is implemented.
11. A machine-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the integrated circuit simulation method based on continuous time projection according to any one of claims 1 to 8 is implemented.
