SpiceGenTcl

Contents:

  • General concept
  • Usage examples
  • Supported simulators
  • Installing
    • From git repo
    • From archive
  • Dependencies
  • Documentation and tutorials
  • Supported platforms
  • Quick start
    • Packages imports
    • Circuit definition
    • Plotting data
  • List of devices
  • Availible devices and it’s corresponding classes
    • Basic devices
      • Resistor
      • Capacitor
      • Inductor
      • Subcircuit instance
    • Sources
      • Constant voltage source
      • RF voltage source
      • AC voltage source
      • Pulse voltage source
      • Sinusoidal voltage source
      • Exponential voltage source
      • Piece-wise linear (PWL) voltage source
      • Frequency modulated voltage source
      • Amplitude modulated voltage source
      • Constant current source
      • AC current source
      • Pulse current source
      • Sinusoidal current source
      • Exponential current source
      • Piece-wise linear (PWL) current source
      • Frequency modulated current source
      • Amplitude modulated current source
      • Voltage-controlled current source
      • Voltage-controlled voltage source
      • Current-controlled current source
      • Current-controlled voltage source
    • Semiconductor devices
      • Diode
      • Bipolar junction transistor
      • Junction field-effect transistor
      • Metal-semiconductor FET
      • MOS field effect transistor
  • FAQ
    • Where to find list of availible arguments for devices, models and analyses?
    • How to use different simulators for the same circuit (managing namespaces)?
    • How to change parameter of existing element?
    • Is scaling suffixes allowed?
    • How to change node name connected to pin of existing element?
    • How to find the list of optional parameters for elements?
    • How to get raw data after simulation?
    • How to get the names of all vectors in raw file?
    • How to get log file after simulation?
    • How to save result traces in comma-separated file format (csv)?
  • Tutorials
    • Netlist manipulations
      • Delete element
      • Get element
      • Print list of all elements
      • Temporarly remove of element
    • Subcircuit definition
    • Diode current simualtion
    • Diode capacitance simualtion
    • Sensitive analysis of differential pair
    • Transient simulation of ring oscillator
    • Transient simulation of four-bit adder
    • S-parameter simulation of pass-band filter
  • Tips
    • Define custom element
  • Advanced
    • Monte-Carlo simulation
    • Parameters extraction of diode model parameters
      • Fitting in first region
      • Fitting in second region
      • Fitting the whole curve
      • Plotting resulted data
    • Inverter performance optimization
  • Parser
    • Simple netlist parsing
    • Parse of large circuit
    • Parse of nested subcircuits
  • ::SpiceGenTcl
    • Commands
      • forgetCommon
      • forgetLtspice
      • forgetNgspice
      • forgetXyce
      • importCommon
      • importLtspice
      • importNgspice
      • importXyce
    • Classes
      • Analysis
        • constructor
        • destructor
        • actOnParam
        • genSPICEString
      • Axis
      • BinaryReader
        • readComplex
        • readFloat32
        • readFloat64
        • skip4bytes
        • skip8bytes
        • skip16bytes
      • Circuit
        • constructor
        • add
        • del
        • detachSimulator
        • genSPICEString
        • getDataCsv
        • getDataDict
        • runAndRead
      • Comment
        • constructor
        • genSPICEString
      • ConstructorHelp
        • create
        • new
      • Dataset
        • constructor
        • appendDataPoints
        • getDataPoints
        • getStr
        • setDataPoints
      • Device
        • constructor
        • destructor
        • actOnParam
        • actOnPin
        • checkFloatingPins
        • genSPICEString
      • EmptyTrace
        • getDataPoints
      • Function
        • constructor
        • genSPICEString
      • Global
        • constructor
        • addNets
        • deleteNet
        • genSPICEString
      • Ic
        • constructor
        • destructor
        • actOnParam
        • genSPICEString
      • Include
        • constructor
        • genSPICEString
      • Library
        • constructor
        • genSPICEString
      • Model
        • constructor
        • destructor
        • actOnParam
        • genSPICEString
      • Netlist
        • constructor
        • add
        • del
        • genSPICEString
        • getAllElemNames
        • getElement
      • Nodeset
        • genSPICEString
      • Options
        • constructor
        • destructor
        • actOnParam
        • genSPICEString
      • Parameter
        • constructor
        • genSPICEString
      • ParameterDefault
        • constructor
        • resetValue
      • ParameterEquation
        • constructor
        • genSPICEString
      • ParameterNoCheck
        • constructor
      • ParameterNode
        • constructor
        • genSPICEString
      • ParameterNodeEquation
        • constructor
        • genSPICEString
      • ParameterPositional
        • constructor
        • genSPICEString
      • ParameterPositionalEquation
        • constructor
        • genSPICEString
      • ParameterPositionalNoCheck
        • constructor
        • genSPICEString
      • ParameterSwitch
        • constructor
        • genSPICEString
      • ParameterVector
      • ParamStatement
        • constructor
        • destructor
        • actOnParam
        • genSPICEString
      • Parser
        • constructor
        • buildTopNetlist
        • readAndParse
        • readFile
      • Pin
        • constructor
        • checkFloating
        • genSPICEString
        • unsetNodeName
      • RawFile
        • constructor
        • destructor
        • getCurrentsNames
        • getTrace
        • getTracesCsv
        • getTracesData
        • getTracesStr
        • getVariablesNames
        • getVoltagesNames
        • measure
      • RawString
        • constructor
        • genSPICEString
      • Save
        • constructor
        • destructor
        • addVector
        • deleteVector
        • genSPICEString
        • getVectors
      • Simulator
        • destructor
        • getLog
        • readData
        • readLog
        • run
      • SPICEElement
        • genSPICEString
      • Subcircuit
        • constructor
        • destructor
        • actOnParam
        • actOnPin
        • add
        • genSPICEString
      • Temp
        • constructor
        • genSPICEString
      • Trace
        • constructor
      • Utility
  • ::SpiceGenTcl::Common::BasicDevices
    • Classes
      • C
      • Capacitor
        • constructor
      • CSwitch
        • constructor
      • Inductor
        • constructor
      • L
      • R
      • Resistor
        • constructor
      • SubcircuitInstance
        • constructor
      • SubcircuitInstanceAuto
        • constructor
      • VSw
      • VSwitch
        • constructor
      • W
      • X
      • XAuto
  • ::SpiceGenTcl::Common::Analyses
    • Classes
      • Ac
        • constructor
      • Dc
        • constructor
      • Op
        • constructor
      • Tran
        • constructor
  • ::SpiceGenTcl::Common::Sources
    • Classes
      • Cccs
        • constructor
      • Ccvs
        • constructor
      • E
      • F
      • G
      • H
      • Iac
        • constructor
      • Idc
        • constructor
      • Iexp
        • constructor
      • Ipulse
        • constructor
      • Ipwl
        • constructor
      • Isffm
        • constructor
      • Isin
        • constructor
      • Vac
        • constructor
      • Vccs
        • constructor
      • Vcvs
        • constructor
      • Vdc
        • constructor
      • Vexp
        • constructor
      • Vpulse
        • constructor
      • Vpwl
        • constructor
      • Vsffm
        • constructor
      • Vsin
        • constructor
  • ::SpiceGenTcl::Ngspice
    • Classes
      • NgspiceParser
        • constructor
        • readFile
  • ::SpiceGenTcl::Ngspice::BasicDevices
    • Classes
      • C
      • Capacitor
        • constructor
      • CModel
        • constructor
      • Coupling
        • constructor
      • CSwitch
      • CSwitchModel
        • constructor
      • Inductor
        • constructor
      • K
      • L
      • LModel
        • constructor
      • N
      • R
      • Resistor
        • constructor
      • RModel
        • constructor
      • S
      • SubcircuitInstance
        • constructor
      • SubcircuitInstanceAuto
        • constructor
      • VerilogA
        • constructor
      • VSwitch
      • VSwitchModel
        • constructor
      • W
      • X
      • XAuto
  • ::SpiceGenTcl::Ngspice::Sources
    • Classes
      • B
      • BehaviouralSource
        • constructor
      • Cccs
      • Ccvs
      • E
      • F
      • G
      • H
      • Iac
      • Iam
        • constructor
      • Idc
      • Iexp
      • Ipulse
        • constructor
      • Ipwl
      • Isffm
        • constructor
      • Isin
      • Vac
      • Vam
        • constructor
      • Vccs
      • Vcvs
      • Vdc
      • Vexp
      • Vport
        • constructor
      • Vpulse
        • constructor
      • Vpwl
      • Vsffm
        • constructor
      • Vsin
  • ::SpiceGenTcl::Ngspice::SemiconductorDevices
    • Classes
      • Bjt
        • constructor
      • BjtGPModel
        • constructor
      • D
      • Diode
        • constructor
      • DiodeModel
        • constructor
      • J
      • Jfet
        • constructor
      • Jfet1Model
        • constructor
      • Jfet2Model
        • constructor
      • M
      • Mesfet
        • constructor
      • Mesfet1Model
        • constructor
      • Mosfet
        • constructor
      • Q
      • Z
  • ::SpiceGenTcl::Ngspice::Analyses
    • Classes
      • Ac
      • Dc
      • Op
      • SensAc
        • constructor
      • SensDc
        • constructor
      • Sp
        • constructor
      • Tran
  • ::SpiceGenTcl::Ngspice::Simulators
    • Classes
      • Batch
        • constructor
        • readData
        • readLog
        • runAndRead
      • BatchLiveLog
        • runAndRead
      • Shared
        • constructor
        • destructor
        • readData
        • readLog
        • runAndRead
  • ::SpiceGenTcl::Ngspice::Misc
    • Classes
      • OptionsNgspice
        • constructor
  • ::SpiceGenTcl::Xyce::BasicDevices
    • Classes
      • C
      • Capacitor
        • constructor
      • CModel
        • constructor
      • CSwitch
      • CSwitchModel
        • constructor
      • GenS
      • GenSwitch
        • constructor
      • Inductor
        • constructor
      • L
      • LModel
        • constructor
      • R
      • Resistor
        • constructor
      • RModel
        • constructor
      • SubcircuitInstance
        • constructor
      • SubcircuitInstanceAuto
        • constructor
      • VSw
      • VSwitch
      • VSwitchModel
        • constructor
      • W
      • X
      • XAuto
  • ::SpiceGenTcl::Xyce::Sources
    • Classes
      • B
      • BehaviouralSource
        • constructor
      • Cccs
      • Ccvs
      • E
      • F
      • G
      • H
      • Iac
      • Idc
      • Iexp
      • Ipulse
      • Ipwl
      • Isffm
      • Isin
      • Vac
      • Vccs
      • Vcvs
      • Vdc
      • Vexp
      • Vpulse
      • Vpwl
      • Vsffm
      • Vsin
  • ::SpiceGenTcl::Xyce::SemiconductorDevices
    • Classes
      • Bjt
        • constructor
        • genSPICEString
      • BjtGPModel
        • constructor
      • D
      • Diode
        • constructor
      • DiodeModel
        • constructor
      • J
      • Jfet
        • constructor
      • Jfet1Model
        • constructor
      • Jfet2Model
        • constructor
      • M
      • Mesfet
        • constructor
      • Mesfet1Model
        • constructor
      • Mosfet
        • constructor
      • Q
      • Z
  • ::SpiceGenTcl::Xyce::Analyses
    • Classes
      • Ac
      • Dc
      • Op
      • Sens
        • constructor
      • Tran
  • ::SpiceGenTcl::Xyce::Simulators
    • Classes
      • Batch
        • constructor
        • readData
        • readLog
        • runAndRead
  • ::SpiceGenTcl::Ltspice::BasicDevices
    • Classes
      • C
      • Capacitor
        • constructor
      • CSwitch
      • CSwitchModel
        • constructor
      • Inductor
        • constructor
      • L
      • R
      • Resistor
      • SubcircuitInstance
        • constructor
      • SubcircuitInstanceAuto
        • constructor
      • VSw
      • VSwitch
      • VSwitchModel
        • constructor
      • W
      • X
      • XAuto
  • ::SpiceGenTcl::Ltspice::Sources
    • Classes
      • B
      • BehaviouralSource
        • constructor
      • Cccs
      • Ccvs
      • E
      • F
      • G
      • H
      • Iac
        • constructor
      • Idc
        • constructor
      • Iexp
        • constructor
      • Ipulse
        • constructor
      • Ipwl
        • constructor
      • Isffm
        • constructor
      • Isin
        • constructor
      • Vac
        • constructor
      • Vccs
      • Vcvs
      • Vdc
        • constructor
      • Vexp
        • constructor
      • Vpulse
        • constructor
      • Vpwl
        • constructor
      • Vsffm
        • constructor
      • Vsin
        • constructor
  • ::SpiceGenTcl::Ltspice::SemiconductorDevices
    • Classes
      • Bjt
        • constructor
      • BjtGPModel
        • constructor
      • D
      • Diode
        • constructor
      • DiodeIdealModel
        • constructor
      • DiodeModel
        • constructor
      • J
      • Jfet
        • constructor
      • JfetModel
        • constructor
      • M
      • Mesfet
        • constructor
      • MesfetModel
        • constructor
      • Mosfet
        • constructor
      • Q
      • Z
  • ::SpiceGenTcl::Ltspice::Analyses
    • Classes
      • Ac
      • Dc
      • Op
      • Tran
  • ::SpiceGenTcl::Ltspice::Simulators
    • Classes
      • Batch
        • constructor
        • readData
        • readLog
        • runAndRead
  • Index
SpiceGenTcl
  • Search


© Copyright George Yashin.

Built with Sphinx using a theme provided by Read the Docs.