SynaptiCAD Tutorials

(Sim) 1.9 Archiving Stimulus and Results

(Sim) 1.9 Archiving Stimulus and Results

Previous topic Next topic  

(Sim) 1.9 Archiving Stimulus and Results

Previous topic Next topic  

So far we have only used a single Stimulus and Results diagram, however multiple diagrams can be switched in and out to test different aspects of the design, or archived off to be used as comparison diagrams for later simulations.

Archive off the simulation results:

Run the simulator to the end of the simulation so that the Stimulus and Results diagram and simulation log file are full of data.

Archive_0_oldtest

Right click on the Stimulus and Results node and choose Save Current Simulation Result in an Archive from the context menu, to open a dialog.

archive_1

Name the archive test1 and close the dialog. This will create a subdirectory called test1 under the project directory.

archive_2

Notice that a new node called Simulation Results Archive has been added to the tree. Both the Stimulus and Results diagram and the simulation log file have been copied to the new archive directory.

archive_3

Create a new test and archive that off:

Modify the stimulus and then simulate to see the changed waveforms. If you are in Debug Run mode you will have to press the Build then the Run button to restart the simulation.

Archive_4_newtest

Archive these results to an archive named test2 using the method described above.

Archive_5_test2

Switch back to the original test:

Right click and choose Restore Archive as Current Simulation Result from the context menu to restore the results

Archive_6_restore

Notice that the Stimulus and Results diagram has been replaced with the original test1 data

Archive_0_oldtest

The archive files remain untouched by the restore command. The data is copied from the archive into the working directory and you need to re-archive if you want to save the new data.

If you purchase the Compare Option, then you can use the archive diagrams to compare against new simulations of your design.

Multiple Stimulus and Results diagrams:

In the previous example, both archives used the default Stimulus and Results diagram name so it can get a little confusing. However, the diagram can be named any name.

Save the Stimulus and Results diagram to a new name using the File > Save Current Diagram menu option.

Right click on the Stimulus and Results node and choose Replace Current Result Diagram from the context menu, then choose the file that you saved.

Archive_7_replace