next up previous contents
Next: B.3 Conditional Stepping Up: B. The Stepping Module Previous: B.1 The Basic Stepping

B.2 The Special-Purpose Stepping Functions

The stepTbl function can be used to step through the values of an array. All values contained in the array will be subsequently assigned to the parameter. As for the additive stepping the type of the values given in the array must be of the same type, or must be convertible to the same type. The type of the return value is determined by this conversion operation.

B = stepTbl([ 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.55, 0.6, 0.65, 0.7 ]);

To get stepping information from a curve file the stepCrv function is available.

G = stepCrv("init.crv", "G", "Vg", pri=4, slot=2, prev = 8 V, post = 5 V);

The simple stepping function stepSingle can be used to introduce a single value into the stepping configuration. Such a function is essentially required by a single frequency AC simulation, but can also be used by other variables in combination with useful values of arguments slot, prev, and post. This function must not be used for transient simulations (variable time).

frequency = stepSingle(100 MHz, slot=0);  // single frequency ac simulation


next up previous contents
Next: B.3 Conditional Stepping Up: B. The Stepping Module Previous: B.1 The Basic Stepping

S. Wagner: Small-Signal Device and Circuit Simulation