Download CoMET 5.14 User Guide

Transcript
Building and Simulating in Batch Mode
Simulating and Debugging a Model
Target Time Limits
You can set the maximum time for which the simulation runs.
•
Simulation: Limit batch run to the specified number of simulation time units.
Allowed units: [fs | ps | ns | us | ms | s ] e.g. /SimTime=30ms : stop after 30
milliseconds of simulation time
•
RealTime=time Limit batch run to the specified realtime seconds e.g.
/RealTime=5 :stop after 5 seconds
Saving the batch
When the batch mode options are specified, you can save the batch mode specifications by
clicking the Save button. The options are saved in the Windows Registry. CoMET can then
be invoked from the command line. See Command line batch mode below.
Exporting a CoMET Batch File
You can export the Batch Mode dialog batch specifications as a CoMET 5 batch file. Click
the Export button, browse to the required location and specify the file name to save. You can
then reload the batch file using the Import feature, or specify the CoMET batch mode as an
option when running CoMET in command line batch mode. See Command line batch mode,
page 150.
Importing a CoMET batch file
If you have created a batch file in the CoMET 4 batch file or CoMET 5 batch file format, you
can load it in the CoMET 5 batch dialog. Click the Import button and browse for the
CoMET batch file. CoMET imports the options and displays it in the Batch dialog
Workspace Paths list. You can then edit it using the editing features described above.
You can also run a CoMET 4 batch file from the command line. See Command line batch
mode using a CoMET 4 batch file, page 151.
Running the batch
When the batch mode options are created, you can run the batch mode by clicking the Run
button. Alternatively you can run the batch from the command line. See Command line batch
mode below.
If anything causes a halt, such as errors in building or simulating, or manual intervention,
batch mode ends.
You can use the Stop Build and Stop Simulation menu or toolbar items to stop execution.
Within each workspace, targets are built and simulated in the order in which they appear in
the workspace projects tree.
Confidential and Proprietary.
May not be used, disclosed or reproduced except as expressly
authorized in a written agreement with VaST.
149