::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.

-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

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 ?args?

Parameters

readLog

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

BATCHOBJ readLog ?args?

Parameters

runAndRead

Runs netlist circuit file.

OBJECT runAndRead circuitStr ?-nodelete?

Parameters

-nodelete:

Flag to forbid simulation file deletion.

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.

-runlocation:

Readable, writable. Inherited.

Superclasses

Batch

runAndRead

Runs netlist circuit file.

OBJECT runAndRead circuitStr ?-nodelete?

Parameters

-nodelete:

Flag to forbid simulation file deletion.

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

Gets data, 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.

-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

name:

Name of simulator object.

runLocation:

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

destructor

SHAREDOBJ destroy

readData

Gets data, create RawFile object and return it’s reference name.

SHAREDOBJ readData ?args?

Parameters

readLog

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

SHAREDOBJ readLog ?args?

Parameters

runAndRead

Runs circuit.

OBJECT runAndRead circuitStr

Parameters

circuitStr:

Top-level netlist string.


Copyright (c) George Yashin