Once Spice has been run, you can see a plot of the simulation by reading the Spice output file back into Electric. Since there are may formats of Spice output, you must first set the "Spice Engine" and the "Output format" fields of the "Spice" Preferences (in menu File / Preferences..., "Tools" section, "Spice" tab). The "Output format" field is "Standard" for the default output of the Spice engine; "Raw" for rawfile dumps; and "Raw/Smart" for the rawfile dumps from SmartSpice.

When Electric knows what type of Spice output file to expect, use the Plot Spice Listing... command (in menu Tool / Simulation (Spice)) to read the file . If the file has the same name as the current cell, you can more simply use Plot Spice for This Cell, which does not need to prompt for a file name. The waveforms will appear in a window:

Figure 9.4

Wave Panels

The waveform window contains a list of panels, each with one or more signals and waveforms. In the waveform window, signal names are shown on the left, and their waveform on the right. Above the signal names in each panel are 5 names and controls:

You can select a signal by selecting either its name or the actual waveform. Note that when you click on a signal, the equivalent network in the associated schematic or layout window is also highlighted.

You can rearrange the order of the signals by dragging their names to their desired location. You can change the color of a signal by right-clicking on its name.

You can add a signal to the list by double-clicking on its name in the "SIGNALS" area (or by dragging that name to the waveform part on the right). The signal will be added to the highlighted panel (the one with the bold vertical axis). You can create a new panel, with no signals in it, by clicking on the button in the upper-left of the waveform window (looks like: Figure 9.29 a panel-with-waveform icon being dropped down).

If the simulation had sweeps, those values are shown in the explorer tree in the "SWEEPS" area. You can right-click on a sweep and choose to include or exclude it from the display. You can also request that a sweep signal be highlighted. Right-clicking on the "SWEEPS" icon lets you include or exclude all of them.

If the layout or schematics cell that produced the Spice is being displayed in another window, and the currently selected network in that window is found in the Spice output, then that output can be added to the waveform window with the Add to Waveform in New Panel command (in menu Edit / Selection). The command Add to Waveform in Current Panel overlays the signal on top of others in the currently selected waveform panel.

The order of signals in the waveform window is saved in the original cell so that subsequent simulations will show the same signals.

Time Control

Two vertical cursors appear in the window, called "main" and "extension" (the extension cursor is yellow). Their time values and their difference are shown at the top of the window. You can click over the cursors and drag them to different time locations.

The time axis of the simulation window can be controlled with the appropriate Window menu commands. Use Zoom Out and Zoom In to scale the time axis by a factor of two. Use Focus on Highlighted to display the range between the main and extension cursors.

Figure 4.9
Besides controlling time with menu commands, you can also use the Pan and Zoom tools of the toolbar to change the view.
Figure 4.8

The pan tool lets you smoothly shift time when you click and drag. In the zoom tool, you zoom into an area by clicking and dragout out that area. To zoom out, hold the shift key and click in the center of the desired area.

You can control the horizontal and vertical range precisely by double-clicking in the vertical scale area. The dialog lets you type exact values into the ranges.
Figure 9.13

The different panels in the waveform window are locked in time: they all show the same range of time, as shown at the top of the waveform window. If you click on the "time lock" button at the top of the waveform window (looks like:  Figure 9.18  a lock with the time on it) then time is unlocked, and each panel has its own time scale. Now individual panels can be show a different range of time than the rest.

A set of VCR buttons is available to animation the main time cursor. The Play rate can be controlled by the "F" and "S" buttons which make it go faster or slower. As the time cursor sweeps across the waveform window, the original circuit can be seen to change levels.

These window functions apply to the digital simulation windows:


Other Controls

At the top of the waveform window, above the signal names, are many useful controls. Those relating to time have already been discussed. Here are the remaining buttons: