To Specify A Global Restart State - HP 64746 User Manual

Emulation/analysis
Table of Contents

Advertisement

Chapter 7: Using the Emulation Analyzer
Using the Sequencer

To specify a global restart state

• Use the restart option to the trace command.
When using the analyzer's sequencer, an additional sequence restart term is also
allowed. This restart is a "global restart"; that is, it applies to all the sequence terms.
The restart term is a state which, when captured before the analyzer has found the
trigger state, causes the search for the sequence of states to start over. You can use
the restart term to make certain some state does not occur in the sequence that
triggers the analyzer.
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).
To set up this sequencing trace specification, enter the following trace command.
trace find_sequence save_points then interrupt_sim
restart proc_specific trigger about do_sort only data
4e56h <RETURN>
set source off <RETURN>
268

Advertisement

Table of Contents
loading

This manual is also suitable for:

68302

Table of Contents