Logic and circuit simulation
Problems
- DC operating point analysis
Find the node voltages and branch currents of a circuit at rest, with capacitors open and inductors shorted, by solving the nonlinear MNA equations.
intro - Logic simulation
Compute the signal values of a gate-level or register-transfer design over time for given input stimuli, under a chosen delay model and value system.
intro - Transient circuit analysis
Compute the waveforms of a nonlinear circuit over time by integrating its differential-algebraic MNA equations with an implicit method and adaptive steps.
intro
Algorithms
- AC small-signal analysis
Linearizes the circuit at its DC operating point and solves the complex MNA system at each frequency to get gains, phases and transfer functions.
1 languagesintro - Adjoint sensitivity analysis
Director and Rohrer's method that gets the sensitivity of one output to every circuit parameter from a single solve of the adjoint network built by Tellegen's theorem.
1 languagescore - Compiled-code logic simulation
Levelizes a combinational netlist once and turns it into straight-line code with one statement per gate; with bit-parallel words, one run evaluates W input vectors.
1 languagescore - Cycle-based simulation
Simulates a synchronous design one clock cycle at a time, evaluating the logic between registers once per cycle in levelized order, with no timing inside the cycle.
1 languagescore - Event-driven logic simulation
Evaluates only the gates whose inputs changed, taking events in time order from a time wheel and scheduling new events for outputs that change after their delays.
1 languagescore - Small-signal noise analysis
Sums the thermal, shot and flicker noise of every device at an output, using one adjoint solve per frequency as in Rohrer, Nagel, Meyer and Weber.
1 languagescore - Gilbert-Peierls sparse LU
Sparse LU with partial pivoting that builds each column of L and U from the earlier columns, finding its pattern by depth-first search, in time proportional to the arithmetic.
1 languagesadvanced - Harmonic balance analysis
Finds the periodic steady state of a nonlinear circuit by writing node voltages as truncated Fourier series and solving KCL in the frequency domain with Newton.
1 languagesadvanced - Iterated timing analysis
Saleh, Kleckner and Newton's event-driven Gauss-Seidel-Newton relaxation that solves the backward Euler node equations of a circuit node by node at each time point.
1 languagesadvanced - KLU
Davis and Palamadai Natarajan's sparse LU for circuit matrices, using block triangular form, AMD ordering of each block and Gilbert-Peierls factorization with fast refactoring.
1 languagesadvanced - Pade via Lanczos
Feldmann and Freund's reduced-order model of a linear circuit that matches 2q moments of the transfer function stably using the nonsymmetric Lanczos process.
1 languagesadvanced - Shooting Newton periodic steady state
Aprille and Trick's method that searches for the initial state whose transient over one period returns to itself, solved by Newton with the sensitivity matrix.
1 languagesadvanced - Switch-level simulation
Bryant's simulation of MOS circuits as networks of switch transistors and charged nodes with discrete strengths, between gate-level and circuit simulation.
1 languagesadvanced - TR-BDF2
An L-stable second-order one-step integrator that does a trapezoidal stage to t + gamma h and a BDF2 stage to t + h, with gamma = 2 - sqrt(2) so both stages share one matrix.
1 languagesadvanced - Ternary simulation
Eichelberger's two-phase simulation with X for signals that may change: it finds static hazards and critical races, and each 0 or 1 it reports holds for all gate and wire delays.
1 languagesadvanced - Timing simulation
Chawla, Gummel and Kozak's fast transistor simulation that updates node voltages one at a time with simple models and events, skipping the full Newton solve.
1 languagesadvanced - Oscillator phase noise analysis
Demir, Mehrotra and Roychowdhury's nonlinear analysis that projects noise on the oscillator's perturbation projection vector to get its phase diffusion and Lorentzian spectrum.
1 languagesresearch
Techniques
- Modified nodal analysis
Write a circuit as linear equations in the node voltages plus the currents of voltage sources and inductors, each element adding a fixed stamp to the matrix.
1 languagesintro - Companion model
Replace each capacitor or inductor, at one step of an implicit integration formula, by a conductance and a current source, so a transient step becomes a resistive circuit solve.
1 languagescore - Gmin stepping
Adds a large conductance from every node to ground and reduces it in steps to zero, solving the DC equations at each step from the last answer to reach convergence.
core - Markowitz pivoting
Chooses as pivot the entry that minimizes (r - 1)(c - 1), with r and c its row and column counts, subject to a size threshold, to limit fill-in in sparse LU.
1 languagescore - Source stepping
Ramps all independent sources from zero to their full values and solves the DC operating point at each step, a continuation method for hard circuits.
1 languagescore - Junction voltage limiting
Limits the change of a diode or transistor junction voltage between Newton iterations, as SPICE does, so the exponential device law does not overflow or diverge.
advanced - Mixed-mode simulation
Simulates analog parts by numerical integration and digital parts by events in one run, passing signals across converters at the boundaries.
advanced - Pseudo-transient analysis
Finds a DC operating point by adding artificial capacitors and inductors and running a transient simulation until the circuit settles at a steady state.
advanced - Sparse tableau analysis
Write a circuit with all node voltages, branch voltages and branch currents as unknowns, a larger but sparser system that a sparse solver orders as a whole.
advanced
Definitions
- Inertial and transport delay
Two delay models of logic simulation, where transport delay passes every pulse after a delay, inertial delay also swallows pulses shorter than the gate delay.
intro - Kirchhoff's circuit laws
The currents into a node sum to zero and the voltages around a loop sum to zero, the constraints that every circuit simulator writes as equations.
intro - Multi-valued logic for simulation
Value systems beyond 0 and 1, such as X for unknown and Z for high impedance and IEEE 1164's nine values, used to model initialization, buses and conflicts.
intro - Delta cycle
An infinitesimal step of the VHDL and Verilog simulation cycle in which zero-delay assignments take effect, so events at one time are ordered without advancing time.
core - Channel-connected component
A maximal set of transistors joined through source and drain terminals, the unit that switch-level simulators, timing simulators and transistor-level timers evaluate.
advanced
Theorems
- Tellegen's theorem
For any branch voltages that obey KVL and any branch currents that obey KCL on the same graph, the sum of their products is zero, whatever the elements are.
core
Models
- Shichman-Hodges model
The square-law MOSFET model of Shichman and Hodges that gives drain current in the cutoff, linear and saturation regions, the first MOS model of SPICE.
intro