To Specify A Global Restart State - HP 64782 User Manual

For the graphical user interface
Hide thumbs Also See for 64782:
Table of Contents

Advertisement

Using the Emulation Analyzer

To specify a global restart state

To specify a global restart state
Create your first specification form on the command line. That will
enter the proper format in the Trace Specification Selection dialog
box. Obtain the dialog box by choosing Trace→Trace Spec... You
can click on your specification in the dialog box, edit it if desired, and
click OK.
Using the command line, restart the search for the trace sequence
terms by including the restart parameter in
trace find_sequence <bus_state> occurs <#times>
then <bus_state> occurs <#times> restart
<bus_state> trigger <bus_state>
<bus_state> represents a combination of address, data and status
expressions that must be matched to satisfy the trigger or sequence qualifier.
<#times> is the number of times the selected bus state must occur to satisfy
the qualifier.
The restart qualifier allows you to restart the trace sequence whenever a
certain instruction or data access occurs. For example, you might have a
complicated trace sequence that searches for an intermittent failure
condition. You could set the restart term to restart the sequence whenever a
bus cycle occurred that ensures that the code segment would perform
correctly. Thus, the trace will be satisfied only when that restart term never
occurs and the code segment fails.
Examples
In the demo program, suppose you wish to trigger on the following sequence
of events: the "save_points" function, the "interrupt_sim" function, and the
"do_sort" function. However, you only want to trigger when the
"interrupt_sim" calls the "do_sort" function. In other words, if the
"proc_specific" function is entered before the "do_sort" function is entered,
you know "interrupt_sim" did not call "do_sort" this time, and the analyzer
should start searching again from the beginning.
Again, suppose you wish to store only opcode fetches of the assembly
language LINK A6,#0 instruction (data values that equal 4E56H).
226

Advertisement

Table of Contents
loading

Table of Contents