System and method of generating equation-level diagnostic error messages for use in circuit simulation
AssigneeThe MathWorks, Inc.
InventorsJoseph Daniel Kanapka, Nathan E. Brewton
Life of this patent
Estimating the term…
Abstract
A mechanism for providing equation-level diagnostic error messages for system models undergoing circuit simulations is discussed. The components in a model of a system being simulated are converted into multiple numerical equations where each equation corresponds to a component in the system being simulated or a topology equation for the system model. Each numerical equation is numerically analyzed in order to identify illegal configurations in the system. Upon detection of an error, an error message listing the components associated with the illegal configuration is generated for the user.
Claims35
A computer-implemented method for identifying errors in a system model, the method comprising:
- identifying at least one matrix corresponding to a plurality of numerical equations, a numerical equation corresponding to at least one of a component of the system model and a topology equation of the system model;
- performing, using a processor, a numerical analysis of the identified at least one matrix to identify at least one illegal configuration in the system model, the numerical analysis comprising:
- identifying a first numerical equation from the plurality of numerical equations,
- identifying a second numerical equation from the plurality of numerical equations, and
- operating on the matrix to identify the illegal configuration, the illegal configuration being identified if it is determined that a dependency exists between the first numerical equation and the second numerical equation;
- and
- providing an indication of the identified at least one illegal configuration of the system model.
A system for identifying errors in a system model, the system comprising:
- a processor configured to perform a numerical analysis of at least one matrix to identify an illegal configuration in the system model, the at least one matrix corresponding to a plurality of numerical equations, a numerical equation corresponding to at least one of a component of the system model and a topology equation of the system model, the numerical analysis comprising:
- identifying a first numerical equation from the plurality of numerical equations,
- identifying a second numerical equation from the plurality of numerical equations, and
- operating on the matrix to identify an illegal configuration, the illegal configuration being identified if it is determined that a dependency exists between the first numerical equation and the second numerical equation;
- and
- a display configured to provide an indication of the identified illegal configuration.
A non-transitory machine-readable medium having stored thereon a plurality of instructions for performing a method, the medium comprising one or more instructions for:
- identifying a plurality of equations, an identified equation corresponding to at least one of a component of a system model and a topology equation of the system model;
- performing an analysis comprising at least one of a matrix analysis of the identified plurality of equations and a symbolic analysis of the identified plurality of equations, the analysis comprising:
- identifying a first numerical equation from the plurality of numerical equations,
- identifying a second numerical equation from the plurality of numerical equations, and
- identifying the illegal configuration, the illegal configuration being identified if it is determined that a dependency exists between the first numerical equation and the second numerical equation;
- and
- providing an indication of the identified at least one illegal configuration.
Dependencies are inferred from the claim text.