Parametric Alter functionality

004_parametric_alter : Parametric Alter functionality

Requires: SmartSpice & Smartview

Minimum Versions: SMARTSPICE 3.16.12.R

The Example "ParametricAlters.in" demonstrates how to optimize performance and memory usage for parametric alters. The following algorithm is used in this example.

1. SMARTSPICE reads the input file, up to the first .ALTER statement and creates basic circuit for simulation. In batch mode SMARTSPICE performs simulation or commands from .control block. In GUI mode SMARTSPICE performs commands only from .control block.

2. After that SMARTSPICE reads the input between .ALTER statement, and either the next .ALTERstatement or the .END statement. New block of statements will be used to modify basic circuit.

3. SMARTSPICE modifies the circuit and then resimulates.

4. SMARTSPICE repeats steps 2 and 3 until all netlist will be processed. SMARTSPICE performs the analyses on those that precede the first .ALTER statement as basic for all .ALTER statements.

To execute this example, do the following:

1. Source the simulation input deck "ParametricAlters.in" in SmartSpice. A control block automatically performs settings and starts the simulation.

2. When the simulation completes, the result waveforms "ParametricAlters.png" can be displayed in Smartview for postprocessing.

For more details, refer to the SmartSpice User's manual vol.1 Chapter 2.

The input deck shows the full test bench for the example. The final results can be examined in the output chart in Smartiew.