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. |
•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. |
•Name the archive test1 and close the dialog. This will create a subdirectory called test1 under the project directory. |
•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. |
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 these results to an archive named test2 using the method described above. |
Switch back to the original test:
•Right click and choose Restore Archive as Current Simulation Result from the context menu to restore the results |
•Notice that the Stimulus and Results diagram has been replaced with the original test1 data |
•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. |