Next:
Introduction to WRspice
Up:
wrsmanual
Previous:
wrsmanual
Index
Contents
Introduction to WRspice
History of WRspice
WRspice Overview
Types of Analysis
Multi-threading
Multi-Threaded Loading
Multi-Threaded Looping
Program Control
Post-Processing and Run Control
Introduction to Interactive Simulation
WRspice Input Format
Input Format
Case Sensitivity
Numeric Values
Units
Variable Expansion in Input
Title, Comments, Job Separation, and Inclusions
Title Line
Comments
.title Line
.end Line
.newjob Line
.include or .inc Line
.lib Line
.mosmap Line
Initialization
.global Line
.ic Line
.nodeset Line
.options Line
.table Line
.temp Line
Parameters and Expressions
Single-Quoted Expressions
.param Line
.if, .elif, .else, and .endif Lines
Subcircuits
.subckt Line
.ends Line
Subcircuit Calls
Subcircuit/Model Cache
Analysis Specification
Chained Sweep Analysis
.ac Line
.dc Line
.disto Line
.noise Line
.op Line
.pz Line
.sens Line
.tf Line
.tran Line
Output Generation
.save Line
.print Line
.plot Line
.four Line
.width Line
Parameter Measurement and Testing
.measure Line
.stop Line
Control Script Execution
.exec, .control, .postrun, and .endc Lines
.check, .checkall, .monte, and .noexec Lines
Verilog Interface
.verilog, .endv Lines
.adc Line
Circuit Elements
Device Models
Default Models
Analysis at Different Temperatures
Passive Element Lines
Capacitors
Capacitor Model
Inductors
Inductor Model
Coupled (Mutual) Inductors
Resistors
Resistor Model
Switches
Switch Model
Transmission Lines (General)
Transmission Line Model
Uniform RC Line
Uniform Distributed RC Model
Voltage and Current Sources
Device Expressions
POLY Expressions
Tran Functions
Dependent Sources
Semiconductor Devices
Junction Diodes
Diode Model
Bipolar Junction Transistors (BJTs)
BJT Models (both NPN and PNP)
Junction Field-Effect Transistors (JFETs)
JFET Models (both N and P Channel)
MESFETs
MESFET Models (both N and P Channel)
MOSFETs
MOSFET Models (both N and P channel)
Superconductor Devices
Josephson Junctions
Josephson Junction Model
The WRspice User Interface
Starting WRspice
Environment Variables
Unix/Linux
Microsoft Windows
WRspice Environment Variables
Sparse Matrix Package
Initialization Files
The tbsetup Command
The Tool Control Window
Text Entry Windows
Single-Line Text Entry
Selections and Clipboards
GTK Text Input Key Bindings
The File Manager
The Text Editor
The Mail Client
The Tools Menu Tools and Panels
The Fonts Tool
The Files Tool
The Circuits Tool
The Plots Tool
Plot Options Panel
Plot Colors Panel
The Vectors Tool
The Variables Tool
Shell Options Panel
Simulation Options Panel
Command Options Panel
The Runops Tool
Debug Options
The Plot Panel
Zooming in
Text String Selection
Trace Drag and Drop
Multidimensional Traces
Scale Icons
Field Width Icons
The Mplot Panel
The Print Control Panel
Print Drivers
The WRspice Help System
XicTools Update
The HTML Viewer
The Help Database
Help System Forms Processing
Help System Initialization File
The WRspice Shell
Command Line Editing
Command Completion
History Substitution
Alias Substitution
Global Substitution
Quoting
I/O Redirection
Semicolon Termination
Variables and Variable Substitution
Commands and Scripts
The FIFO
Plots, Vectors and Expressions
Plots and Vectors
Vector Characteristics
Vector Creation and Assignment
Analysis Vectors and Access Mapping
Special Vectors
Vector Expressions
Operators in Expressions
Math Functions
Statistical Functions
Measurement Functions
HSPICE Compatibility Functions
Expression Lists
Set and Let
Batch Mode
Scripts and Batch Mode
Loadable Device Modules
Creating Loadable Modules from Veriolog-A
Support for AMDS/Verilog-A
The WRspice Daemon and Remote SPICE Runs
WRspice Commands
Control Structures
The cdump Command
String Comparison and Global Return Value
The strcmp Command
The strcicmp Command
The strprefix Command
The strciprefix Command
The retval Command
User Interface Setup Commands
The mapkey Command
The setcase Command
The setfont Command
The setrdb Command
The tbupdate Command
The wrupdate Command
Shell Commands
The alias Command
The cd Command
The echo Command
The echof Command
The history Command
The pause Command
The pwd Command
The rehash Command
The set Command
The shell Command
The shift Command
The unalias Command
The unset Command
The usrset Command
Input and Output Commands
The codeblock Command
The dumpnodes Command
The edit Command
The listing Command
The load Command
The print Command
The printf Command
The return Command
The sced Command
The source Command
The sprint Command
The write Command
The xeditor Command
Simulation Control Commands
The ac Command
The alter Command
The alterf Command
The aspice Command
The cache Command
The check Command
The dc Command
The delete Command
The destroy Command
The devcnt Command
The devload Command
The devls Command
The devmod Command
The disto Command
The dump Command
The findlower Command
The findrange Command
The findupper Command
The free Command
The jobs Command
The mctrial Command
The measure Command
The noise Command
The op Command
The pz Command
The reset Command
The resume Command
The rhost Command
The rspice Command
The run Command
The save Command
The sens Command
The setcirc Command
The show Command
The state Command
The status Command
The step Command
The stop Command
The sweep Command
The tf Command
The trace Command
The tran Command
The vastep Command
The where Command
Data Manipulation Commands
The compose Command
The cross Command
The define Command
The deftype Command
The diff Command
The display Command
The fourier Command
The let Command
The linearize Command
The pick Command
The seed Command
The setdim Command
The setplot Command
The setscale Command
The settype Command
The spec Command
The undefine Command
The unlet Command
Graphical Output Commands
The asciiplot Command
The combine Command
The hardcopy Command
The iplot Command
The mplot Command
The plot Command
The plotwin Command
The xgraph Command
Miscellaneous Commands
The bug Command
The help Command
The helpreset Command
The qhelp Command
The quit Command
The rusage Command
The stats Command
The version Command
Variables
Shell Variables
Command-Specific Variables
Plot Variables
Simulation Option Variables
Syntax Control Variables
Batch Mode Option Variables
Unused Option Variables
Debugging Variables
Margin Analysis
Operating Range Analysis
Operating Range Analysis File Format
Initializing Header
Control Statements
Circuit Description
Example Operating Range Analysis Control File
Monte Carlo Analysis
Example Monte Carlo Analysis Control File
Atomic Monte Carlo and Range Analysis
Circuit Margin Optimization
File Formats
Rawfile Format
Help Database Files
Anchor Text
.mozyrc File
Example Data Files
Circuit 1: Simple Differential Pair
Circuit 2: MOS Output Characteristics
Circuit 3: Simple RTL Inverter
Circuit 4: Four-Bit Adder
Circuit 5: Transmission Line Inverter
Circuit 6: Function and Table Demo
Circuit 7: MOS Convergence Test
Circuit 8: Verilog Pseudo-Random Sequence
Circuit 9: Josephson Junction I-V Curve
Circuit 10: Josephson Gap Potential Modulation
Utility Programs
The csvtoraw Utility: CSV to Rawfile Conversion
The mmjco Utility: Tunnel Junction Model Calculator
Running mmjco
File Formats
References
The multidec Utility: Coupled Lossy Transmission Lines
The printtoraw Utility: Print to Rawfile Conversion
The proc2mod Utility: BSIM1 Model Generation
The wrspiced Daemon: Remote SPICE Controller
SPICE Server Configuration
Starting the Daemon
Client Configuration
Bibliography
Index
Stephen R. Whiteley 2024-10-26