INTERACTIVE ANALYSIS
Overview
The Interactive Analysis type combines the advantages of interactive and graph based simulation. The simulator is started in interactive mode, but the results are recorded and displayed on a graph as with Transient Analysis.
This analysis is especially useful in examining what happens when a particular control is operated in a design, and may be thought of as combining a storage oscilloscope and logic analyser into one device.
Method of Computation
- The method of computation is identical to that for a mixed mode transient analysis, except that the simulator is run in interactive mode. Consequently, the operation of switches, keypads and other actuators in the circuit will have an effect on the results. Also, the simulation will proceed at a speed determined by the animation timestep, rather than at the maximum rate possible.
- As with ordinary Interactive Simulation, multi-partitioning of the circuit is not supported and any tape objects not set to Play mode will be automatically removed from the circuit. See Tape Modes.
Beware that very large amounts of data may be captured. A processor clocking at realistic speeds will generate millions of events per second, and capturing them to a graph consumes memory for as long as the run continues, particularly if you are probing data or address buses. There is no limit at which capture stops of its own accord, so keep interactive runs short and probe only the signals you actually need.
Where it is not possible to capture the data you need in a short run, a virtual instrument such as the Logic Analyser is usually the better tool. See Virtual Instruments.
Using Interactive Graphs
The usual scenario for interactive analysis is that you are testing a design with interactive simulation, and find that something odd happens when particular controls are operated. In the first instance, you may try using the virtual instruments to see what is going on, but in some cases there is a need to capture the results to a graph and study them at your leisure.
To perform an interactive analysis:
- Add probe objects to the points of interest.
- Place an Interactive graph on a free part of the schematic and drag the probes onto it.
- Edit the graph and choose appropriate start and stop times. Note that PROSPICE will not capture data to the probes prior to the start time, which limits the amount of data pulled back into the schematic.
- Set any interactive controls on the schematic to suitable initial states.
- Get ready to perform any interactive operations and then press the SPACE bar. You have to operate the active components within the time you chose in step 3 if the effect of these actions is to be recorded. If this proves difficult, you can either increase the stop time, or reduce the Timestep Per Frame setting.
The graph fills in as the run proceeds, so you can see the effect of an action at the moment you take it. See Live Updates.
See Timestep Per Frame for control over the rate at which an interactive simulation advances.
See Also: