ACMatch Analysis (acmatch)
Description
ACMatch analysis linearizes the circuit about the DC operating point and computes the variations of AC responses due to the statistical parameters defined in statistical blocks. Only mismatch parameters are taken into account.
Syntax
Name [node1] [node2] acmatch parameter=value ...
Parameters
AC frequency sweeping parameters
|
Degree of annotation. Possible values are no, title, sweep, status and steps. |
||
ACMatch takes each parameter defined in the statistics blocks and applies variation one at a time to find the sensitivity of the output with respect to the parameter. Based on the sensitivities computed by this procedure, the total variation of the output is computed by adding up variation contributions from each parameter, assuming that the parameters are mutually independent.
You can define sweep limits by specifying the end points or the center value and span of the sweep. Steps can be linear or logarithmic, and you can specify the number of steps or the size of each step. You can specify a step size parameter (step, lin, log or dec) to determine whether the sweep is linear or logarithmic. If you do not specify a step size parameter, the sweep is linear when the ratio of stop to start values is less than 10 and logarithmic when this ratio is 10 or greater. All frequencies are in Hertz.
The small-signal analysis begins by linearizing the circuit about an operating point. By default, this analysis computes the operating point, if it is not known, or recomputes it if any significant component or circuit parameter has changed. However, if an operating point was computed during a previous analysis, you can set prevoppoint=yes to avoid recomputing it. For example, if prevoppoint=yes and the previous analysis was a transient analysis, the operating point is the state of the circuit at the final time point.
Nodesets help find the DC or the initial transient solution. You can specify nodesets in the circuit description file with nodeset statements or in a separate file by using the readns parameter. When nodesets are specified, Spectre computes an initial guess of the solution by performing DC analysis, while forcing the specified values on to nodes by using a voltage source in series with a resistor whose resistance is rforce. Spectre then removes these voltage sources and resistors and computes the required solution from this initial guess.
Nodesets have two important uses. First, if a circuit has two or more solutions, nodesets can bias the simulator towards computing the required solution. Second, this is a convergence aid. By estimating the solution of the largest possible number of nodes, you might be able to eliminate a convergence problem or significantly speed up convergence.
When you simulate the same circuit multiple times, it is recommended that you use both write and readns parameters and assign the same file name to both parameters. DC analysis then converges quickly even if the circuit has changed since the last simulation, and the nodeset file is automatically updated.
During the initial operating point DC analysis, you may force some of the circuit variables to the values given in the ic file, ic statements, or ic parameter on the capacitors and inductors. The ic parameter controls the interaction of various methods of setting the force values. The effects of individual settings are as follows:
force=none: All initial conditions are ignored.
force=node: The ic statements are used, and the ic parameters on the capacitors and inductors are ignored.
force=dev: The ic parameters on the capacitors and inductors are used, and the ic statements are ignored.
force=all: Both ic statements and ic parameters are used, with the ic parameters overriding the ic statements.
If you specify an ic file with the readforce parameter, force values from the file are used and any ic statements are ignored.
After you specify the initial conditions, Spectre computes the DC operating point with the specified nodes forced to the given value by using a voltage source in series with a resistor whose resistance is rforce (see spectre -h options).
Return to top