Ngspice User Manual
User Manual:
Open the PDF directly: View PDF
Page Count: 370 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- I Ngspice User Manual
- Introduction
- Circuit Description
- Circuit Elements and Models
- General options and information
- Elementary Devices
- Resistors
- Semiconductor Resistors
- Semiconductor Resistor Model (R)
- Resistors, dependent on expressions
- Capacitors
- Semiconductor Capacitors
- Semiconductor Capacitor Model (C)
- Capacitors, dependent on expressions
- Inductors
- Inductor model
- Coupled (Mutual) Inductors
- Inductors, dependent on expressions
- Capacitor or inductor with initial conditions
- Switches
- Switch Model (SW/CSW)
- Voltage and Current Sources
- Linear Dependent Sources
- Non-linear Dependent Sources
- Transmission Lines
- DIODEs
- BJTs
- JFETs
- MESFETs
- MOSFETs
- Behavioral Modeling
- Code Model Element & .MODEL Cards
- Analog Models
- Gain
- Summer
- Multiplier
- Divider
- Limiter
- Controlled Limiter
- PWL Controlled Source
- Analog Switch
- Zener Diode
- Current Limiter
- Hysteresis Block
- Differentiator
- Integrator
- S-Domain Transfer Function
- Slew Rate Block
- Inductive Coupling
- Magnetic Core
- Controlled Sine Wave Oscillator
- Controlled Triangle Wave Oscillator
- Controlled Square Wave Oscillator
- Controlled One-Shot
- Capacitance Meter
- Inductance Meter
- Hybrid Models
- Digital Models
- Predefined Node Types
- Verilog A Device models
- Mixed-Level Simulation (ngspice with TCAD)
- Analyses and Output Control
- Simulator Variables (.options)
- Initial Conditions
- Analyses
- .AC: Small-Signal AC Analysis
- .DC: DC Transfer Function
- .DISTO: Distortion Analysis
- .NOISE: Noise Analysis
- .OP: Operating Point Analysis
- .PZ: Pole-Zero Analysis
- .SENS: DC or Small-Signal AC Sensitivity Analysis
- .TF: Transfer Function Analysis
- .TRAN: Transient Analysis
- .MEAS: Measurements after Op, Ac and Transient Analysis
- Batch Output
- Starting ngspice
- Introduction
- Where to obtain ngspice
- Command line options for starting ngspice and ngnutmeg
- Starting options
- Standard configuration file spinit
- User defined configuration file .spiceinit
- Environmental variables
- Memory usage
- Simulation time
- Ngspice on multi-core processors using OpenMP
- Server mode option -s
- Ngspice control via input, output fifos
- REPORTING ERRORS
- Interactive Interpreter
- Expressions, Functions, and Constants
- Plots
- Command Interpretation
- Commands
- Ac*: Perform an AC, small-signal frequency response analysis
- Alias: Create an alias for a command
- Alter*: Change a device or model parameter
- Altermod*: Change a model parameter
- Asciiplot: Plot values using old-style character plots
- Aspice*: Asynchronous ngspice run
- Bug: Mail a bug report
- Cd: Change directory
- Compose: Compose a vector
- Destroy: Delete a data set
- Dc*: Perform a DC-sweep analysis
- Define: Define a function
- Deftype: Define a new type for a vector or plot
- Delete*: Remove a trace or breakpoint
- Diff: Compare vectors
- Display: List known vectors and types
- Echo: Print text
- Edit*: Edit the current circuit
- FFT: fast Fourier transform of the input vector(s)
- Fourier: Perform a fourier transform
- Gnuplot: Graphics output via Gnuplot
- Hardcopy: Save a plot to a file for printing
- Help: Print summaries of Ngspice commands
- History: Review previous commands
- Iplot*: Incremental plot
- Jobs*: List active asynchronous ngspice runs
- Let: Assign a value to a vector
- Linearize: Interpolate to a linear scale
- Listing*: Print a listing of the current circuit
- Load: Load rawfile data
- Meas*: Mesurements on simulation data
- Noise*: Noise analysis
- Op*: Perform an operating point analysis
- Option*: Set a ngspice option
- Plot: Plot values on the display
- Print: Print values
- Quit: Leave Ngspice or Nutmeg
- Rehash: Reset internal hash tables
- Reset*: Reset an analysis
- Reshape: Alter the dimensionality or dimensions of a vector
- Resume*: Continue a simulation after a stop
- Rspice*: Remote ngspice submission
- Run*: Run analysis from the input file
- Rusage: Resource usage
- Save*: Save a set of outputs
- Sens*: Run a sensitivity analysis
- Set: Set the value of a variable
- Setcirc*: Change the current circuit
- Setplot: Switch the current set of vectors
- Setscale: Set the scale vector for the current plot
- Settype: Set the type of a vector
- Shell: Call the command interpreter
- Shift: Alter a list variable
- Show*: List device state
- Showmod*: List model parameter values
- Source: Read a ngspice input file
- Spec: Create a frequency domain plot
- Status*: Display breakpoint information
- Step*: Run a fixed number of timepoints
- Stop*: Set a breakpoint
- Strcmp: Compare two strings
- Sysinfo*: Print system information
- Tf*: Run a Transfer Function analysis
- Trace*: Trace nodes
- Tran*: Perform a transient analysis
- Transpose: Swap the elements in a multi-dimensional data set
- Unalias: Retract an alias
- Undefine: Retract a definition
- Unlet: Delete the specified vector(s)
- Unset: Clear a variable
- Version: Print the version of ngspice
- Where*: Identify troublesome node or device
- Wrdata: Write data to a file
- Write: Write data to a file
- Xgraph: use the xgraph(1) program for plotting.
- Control Structures
- Variables
- Scripts
- Monte-Carlo Simulation
- MISCELLANEOUS (old stuff, has to be checked for relevance)
- Bugs (old stuff, has to be checked for relevance)
- Graphical User Interfaces
- TCLspice
- Example Circuits
- Notes
- II XSPICE Software User's Manual
- III CIDER
- IV Appendices
- Model and Device Parameters
- Elementary Devices
- Voltage and current sources
- Transmission Lines
- BJTs
- MOSFETs
- MOS1 - Level 1 MOSfet model with Meyer capacitance model
- MOS2 - Level 2 MOSfet model with Meyer capacitance model
- MOS3 - Level 3 MOSfet model with Meyer capacitance model
- MOS6 - Level 6 MOSfet model with Meyer capacitance model
- MOS9 - Modified Level 3 MOSfet model
- BSIM1 - Berkeley Short Channel IGFET Model
- BSIM2 - Berkeley Short Channel IGFET Model
- BSIM3
- BSIM4
- Compilation notes
- Model and Device Parameters