next up previous contents index
Next: aspice Up: Simulation Control Commands Previous: ac   Contents   Index


alter

The alter command is used to change circuit parameter values.

alter device_list , parameter_name value ...
This command in its present form can be issued before a simulation is started, after the circuit has been loaded. It can be used to alter device and model parameters. The syntax is similar to that of the show command, however the parameter list contains (name value) pairs. The parameter names are expected to be recognized for each device in the list. A comma separates the device list from the parameters.

Example:

alter r* , resistance 50
This changes all resistors in the circuit to 50 ohms.

Currently, this command has no (or undefined) effect if a run is currently in progress.



Stephen R. Whiteley 2006-10-23