Step 10: Trace The Program - HP 64782 User Manual

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

Advertisement

Step 10: Trace the program

When the analyzer traces program execution, it looks at the data on the
emulation processor's bus and control signals at each clock cycle. The
information seen at a particular clock cycle is called a state.
When one of these states matches the "trigger state" you specify, the analyzer
stores states in trace memory. When trace memory is filled, the trace is said
to be "complete."
Click on the Recall button to the right of the entry buffer.
1
A selection dialog box appears. You can select from entry buffer values that
have been entered previously or that have been predefined.
Click on "main" in the selection dialog box, and click the "OK"
2
pushbutton.
Notice that the value "main" has been returned to the entry buffer.
To trigger on the address "main" and store states that occur after the
3
trigger, choose Trace→After ().
Or, using the command line, enter:
trace after main
Notice the message "Emulation trace started" appears on the status line.
This shows that the analyzer has begun to look for the trigger state which is
the address "main" on the processor's address bus.
Run the emulator demo program from its transfer address by
4
choosing Execution→Run→from Transfer Address.
Or, using the command line, enter:
run from transfer_address
Notice that now the message on the status line is "Emulation trace complete".
This shows the trigger state has been found and the analyzer trace memory
has been filled.
Getting Started
Step 10: Trace the program
41

Advertisement

Table of Contents
loading

Table of Contents