Chapter 5: Using the Emulation-Bus Analyzer
Saving and Restoring Trace Data and Specifications
Saving and Restoring Trace Data and
Specifications
The emulator/analyzer can save your trace data and trace specifications in a file for
later use. This can help you record measurement results that you can use for
comparison with other tests, and it is useful to automate measurements.
Suppose you're using the emulator in a manufacturing test application. The target
system is your product board. You might build a command file that recalls a trace
specification, makes the trace on the target board, and then recalls a previous
measurement result (from a working product) and compares it to the new
measurement (using the UNIX diff command).
To store a trace specification
• Choose File→Store→Trace Spec... In the dialog box, select an existing filename
or specify a new filename to contain the present trace specification. Then click OK.
• Using the command line, store the current trace specification by entering:
store trace_spec <filename>
<filename> is any UNIX file name including paths. The extension .TS is
automatically added to the file name.
The trace specification file is a binary file.
The store trace_spec command allows you to save a trace specification (effectively
the current trace command with all trigger, storage and sequence options) in a file
for later use. For example, you might have several trace commands that you want
to make every time your target system program is modified. You can store each
trace command in a separate file and recall it later using the load trace_spec
command.
254