When a line is entered, it is interpreted in one of several ways.
The following table lists all built-in commands understood by WRspice.
| Control Structures | |
| cdump | Dump control structures for debugging |
|---|---|
| String Comparison and Global Return Value | |
| strcmp | Compare strings |
| strcicmp | Compare strings, case insensitive |
| strprefix | Check if string is prefix of another |
| strciprefix | Check if string is prefix of another, case insensitive |
| retval | Set the global return value |
| User Interface Setup Commands | |
| mapkey | Create keyboard mapping |
| setcase | Check/set case sensitivity for name classes |
| setfont | Set graphical interface fonts |
| setrdb | Set X resources |
| tbupdate | Save tool window configuration |
| wrupdate | Download/install program updates |
| Shell Commands | |
| alias | Create alias |
| cd | Change directory |
| echo | Print string |
| echof | Print string to file |
| history | Print command history |
| pause | Pause script execution |
| pwd | Print the current working dirsctory |
| rehash | Update command database |
| set | Set a variable |
| shell | Execute operating system commands |
| shift | Shift argument list |
| unalias | Destroy alias |
| unset | Unset a variable |
| usrset | Print list of internally used variables |
| Input and Output Commands | |
| codeblock | Manipulate codeblocks |
| dumpnodes | Print node voltages and branch currents |
| edit | Edit text file |
| listing | List current circuit |
| load | Read plot data from file |
| Print vectors | |
| printf | Print vectors to logging file |
| return | Return from script immediately, possibly with a value |
| sced | Bring up Xic schematic editor |
| source | Read circuit or script input file |
| sprint | Print vectors to a string-type variable |
| write | Write data to rawfile |
| xeditor | Edit text file |
| Simulation Commands | |
| ac | Perform ac analysis |
| alter | Change circuit parameter |
| alterf | Dump alter list to Monte Carlo output file |
| aspice | Initiate asynchronous run |
| cache | Manipulate subcircuit/model cache |
| check | Initiate range analysis |
| dc | Initiate dc analysis |
| delete | Delete watchpoint |
| destroy | Delete plot |
| devcnt | Print device counts |
| devload | Load device module |
| devls | List available devices |
| devmod | Change device model levels |
| disto | Initiate distortion analysis |
| dump | Print circuit matrix |
| findlower | Find lower edge of operating range |
| findrange | Find edges of operating range |
| findupper | Find upper edge of operating range |
| free | Delete circuits and/or plots |
| jobs | Check asynchronous jobs |
| loop | Alias for sweep command |
| mctrial | Run a Monte Carlo trial |
| measure | Set up a measurement |
| noise | Initiate noise analysis |
| op | Compute operating point |
| pz | Initiate pole-zero analysis |
| reset | Reset simulator |
| resume | Resume run in progress |
| rhost | Identify remote SPICE host |
| rspice | Initiate remote SPICE run |
| run | Initiate simulation |
| save | List vectors to save during run |
| sens | Initiate sensitivity analysis |
| setcirc | Set current circuit |
| show | List parameters |
| state | Print circuit state |
| status | Print trace status |
| step | Advance simulator |
| stop | Specify stop condition |
| sweep | Perform analysis over parameter range |
| tf | Initiate transfer function analysis |
| trace | Set trace |
| tran | Initiate transient analysis |
| vastep | Advance Verilog simulator |
| where | Print nonconvergence information |
| Data Manipulation Commands | |
| compose | Create vector |
| cross | Vector cross operation |
| define | Define a macro function |
| deftype | Define a data type |
| diff | Compare plots and vectors |
| display | Print vector list |
| fourier | Perform spectral analysis |
| let | Create or assign vectors |
| linearize | Linearize vector data |
| pick | Create vector from reduced data |
| seed | Seed random number generator |
| setdim | Set current plot dimensions |
| setplot | Set current plot |
| setscale | Assign scale to vector |
| settype | Assign type to vector |
| spec | Perform spectral analysis |
| undefine | Undefine macro function |
| unlet | Undefine vector |
| Graphical Output Commands | |
| asciiplot | Generate line printer plot |
| combine | Combine plots |
| hardcopy | Send plot to printer |
| iplot | Plot during simulation |
| mplot | Plot range analysis output |
| plot | Plot simulation results |
| plotwin | Pop down and destroy plot windows |
| xgraph | Plot simulation results using xgraph |
| Miscellaneous Commands | |
| bug | Submit bug report |
| help | Enter help system |
| helpreset | Clear help system cache |
| qhelp | Print command summaries |
| quit | Exit program |
| rusage | Print resource usage statistics |
| stats | Print resource usage statistics |
| version | Print program version |