The main window
Circuit windows, the command line, the message window and the menus.
Circuit windows
Each circuit loaded is shown in its own window, where it can be edited. Several can be open at once; the Window menu arranges them and moves between them. The text is highlighted to make the structure clearer:
- device lines (resistors, capacitors, sources, transistors, subcircuit calls and so on), by their name;
- dot cards such as
.tranand.model; - comments, starting with
*, and control lines starting with*.; - quoted expressions such as
'2*rval', andname=valueparameters.
Right-click in a circuit window for the usual editing menu, with two more items: Plot and Print. Select a node name, such as out, and choose Plot to run plot out, or Print to run print out. The same items are on the Edit menu.
The command line and message window
Commands typed at the prompt are run as in the interactive interpreter; the prompt shows the command number. Up and Down step through the commands typed before. Each command, including those run from the menus and dialogs, is echoed in the message window with its output, so the menus also show the commands they use.
Menus
File
| item | shortcut | does |
|---|---|---|
| Load netlist... | Ctrl+O | Load a circuit file and show it in a window. The file is read with source, so the commands in its .control block are run. |
| New netlist | Ctrl+N | Open a new, empty circuit window. |
| (Re)load edits | Ctrl+R | Read the circuit from the current window, with any changes made in it, as a new circuit, and run its .control commands. |
| Save netlist | Ctrl+S | Save the current circuit window to its file. |
| Save As... | Ctrl+Shift+S | Save the current circuit window, asking for the file name. |
| Close netlist | Ctrl+Q | Close the circuit window, and delete the circuit (as delcirc). |
| Recent... | The circuit files opened recently. | |
| Exit | Close the window and leave Spice3f5. |
Edit
| item | shortcut | does |
|---|---|---|
| Undo, Redo | Ctrl+Z, Ctrl+Y | Undo or redo the last edit to the circuit. |
| Cut, Copy, Paste | Ctrl+X, Ctrl+C, Ctrl+V | The usual clipboard operations. |
| Find... | Ctrl+F | Find text in the circuit. |
| Find Next | F3 | Find the next occurrence. |
| Replace... | Ctrl+H | Find text and replace it. |
| Goto... | Ctrl+G | Go to a line number. |
| Select All | Ctrl+A | Select all the text in the circuit. |
| Plot | Ctrl+P | Plot the selected node: runs plot on the selected text. |
| Ctrl+Shift+P | Print the selected node's value: runs print on the selected text. |
Run
AC Analysis, DC Analysis, Disto Analysis, Noise Analysis, PZ Analysis, SENS Analysis, TF Analysis and TRAN Analysis each open a dialog for the analysis's settings, and then run it on the current circuit; see analysis dialogs. OP Analysis runs an operating point analysis straight away, as the op command.
Plot
Plot opens the Plot dialog, for choosing what to plot and how.
Window
| item | does |
|---|---|
| Close | Close the current circuit window, asking whether to save any changes. The circuit stays loaded; use File › Close netlist to delete it too. |
| Close All | Close all the circuit windows, as Close. |
| Tile | Arrange the circuit windows side by side. |
| Cascade | Arrange the circuit windows overlapping. |
| Next, Previous | Make the next or previous circuit window current. |
The menu also lists the open circuit windows, to choose between them.
Help
User Manual (F1) opens this manual in your web browser. The program looks for the manual, docs/html/index.html, beside itself, then in each directory above it (so a build in the source tree finds the source tree's manual), and on macOS first inside the application bundle's Resources. If it can't find it, it says where it looked.