::SpiceGenTcl::Ngspice::Simulators

Classes

Batch

Method summary

constructor

Constructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

getLog

Inherited from ::SpiceGenTcl::Simulator.

run

Inherited from ::SpiceGenTcl::Simulator.

readData

Reads raw data file, create RawFile object and return it’s reference name.

readLog

Reads log file of last simulation and save it’s content to Log variable.

runAndRead

Runs netlist circuit file.

Properties

-data:

Readable, writable.

-log:

Readable, writable.

-name:

Readable, writable. Inherited.

-nocleanup:

Readable, writable. Inherited.

-runlocation:

Readable, writable.

Superclasses

::SpiceGenTcl::Simulator

Subclasses

BatchLiveLog

constructor

Creates batch ngspice simulator that can be attached to top-level Circuit.

Batch create OBJNAME ?args?
Batch new ?args?

Parameters

-nocleanup:

If provided, retains RawFile object from the previous simulation.

name:

Name of simulator object.

runLocation:

Location at which input netlist is stored and all output files will be saved, default is current directory.

readData

Reads raw data file, create RawFile object and return it’s reference name.

BATCHOBJ readData ?vector?

Parameters

vector:

Flag to enable RBC vector storage.

readLog

Reads log file of last simulation and save it’s content to Log variable.

BATCHOBJ readLog ?args?

Parameters

runAndRead

Runs netlist circuit file.

BATCHOBJ runAndRead circuitStr ?-nodelete? ?-vector?

Parameters

-nodelete:

Flag to forbid simulation file deletion.

-vector:

Flag to enable RBC vector storage.

circuitStr:

Top-level netlist string.

BatchLiveLog

Method summary

configure

Configure properties. See ::oo::configuresupport::configurable.

getLog

Inherited from ::SpiceGenTcl::Simulator.

run

Inherited from ::SpiceGenTcl::Simulator.

readData

Inherited from Batch.

readLog

Inherited from Batch.

runAndRead

Runs netlist circuit file.

Properties

-data:

Readable, writable. Inherited.

-log:

Readable, writable. Inherited.

-name:

Readable, writable. Inherited.

-nocleanup:

Readable, writable. Inherited.

-runlocation:

Readable, writable. Inherited.

Superclasses

Batch

runAndRead

Runs netlist circuit file.

BATCHLIVELOGOBJ runAndRead circuitStr ?-nodelete? ?-vector?

Parameters

-nodelete:

Flag to forbid simulation file deletion.

-vector:

Flag to enable RBC vector storage.

circuitStr:

Top-level netlist string.

Shared

Method summary

constructor

Constructor for the class.

destructor

Destructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

getLog

Inherited from ::SpiceGenTcl::Simulator.

run

Inherited from ::SpiceGenTcl::Simulator.

readData

Reads raw data file, create RawFile object and return it’s reference name.

readLog

Gets log of last simulation and save it’s content to Log variable.

runAndRead

Runs circuit.

Properties

-data:

Readable, writable.

-liblocation:

Readable, writable.

-log:

Readable, writable.

-name:

Readable, writable. Inherited.

-nocleanup:

Readable, writable. Inherited.

-simhandle:

Readable, writable.

Superclasses

::SpiceGenTcl::Simulator

constructor

Creates batch ngspice simulator that can be attached to top-level Circuit.

Shared create OBJNAME ?args?
Shared new ?args?

Parameters

-nocleanup:

If provided, retains RawFile object from the previous simulation.

liblocation:

Path to .so/.dll library.

name:

Name of simulator object.

destructor

SHAREDOBJ destroy

readData

Reads raw data file, create RawFile object and return it’s reference name.

SHAREDOBJ readData ?vector?

Parameters

vector:

Flag to enable RBC vector storage.

readLog

Gets log of last simulation and save it’s content to Log variable.

SHAREDOBJ readLog ?args?

Parameters

runAndRead

Runs circuit.

SHAREDOBJ runAndRead circuitStr ?-vector?

Parameters

-vector:

Flag to enable RBC vector storage.

circuitStr:

Top-level netlist string.


Copyright (c) George Yashin