APPARATUS AND METHOD FOR TRACING INSTRUCTIONS WITH SIMPLIFIED INSTRUCTION STATE DESCRIPTORS
A method of tracing processor instructions includes characterizing processor state changes in accordance with simplified instruction state descriptors. The simplified instruction state descriptors are then traced with processor instructions, but processor data is not traced.
1 . A method of tracing processor instructions, comprising:
characterizing processor state changes in accordance with simplified instruction state descriptors; and
tracing simplified instruction state descriptors.
2 . The method of claim 1 wherein the simplified instruction state descriptors are operative to reduce traced information.
3 . The method of claim 1 wherein the simplified instruction state descriptors include a no instruction executed in this cycle descriptor.
4 . The method of claim 1 wherein the simplified instruction state descriptors include a sequential instruction executed in this cycle descriptor.
5 . The method of claim 1 wherein the simplified instruction state descriptors include a branch executed, destination predictable cycle descriptor.
6 . The method of claim 1 wherein the simplified instruction state descriptors include a discontinuous instruction executed, program counter offset is small cycle descriptor.
7 . The method of claim 1 wherein the simplified instruction state descriptors include a discontinuous instruction executed, program counter offset is large cycle descriptor.
8 . The method of claim 1 wherein the simplified instruction state descriptors include a discontinuous instruction cycle descriptor.
9 . The method of claim 1 wherein the simplified instruction state descriptors include an internal overflow cycle descriptor.
10 . The method of claim 1 further comprising selectively delivering program counter information with sub-sets of simplified instruction state descriptors.
11 . The method of claim 1 further comprising combining simplified instruction state descriptors with a program memory image to provide complete execution state history.
12 . A computer readable storage medium storing executable instructions to characterize a circuit, comprising executable instructions to:
characterize processor state changes in accordance with simplified instruction state descriptors; and
deliver simplified instruction state descriptors.
13 . The computer readable storage medium of claim 12 further comprising executable instructions to process a trace on signal.
14 . The computer readable storage medium of claim 12 further comprising executable instructions to generate a no instruction executed in this cycle signal.
15 . The computer readable storage medium of claim 12 further comprising executable instructions to process a stall signal.
16 . A processor, comprising:
circuitry to characterize processor state changes in accordance with simplified instruction state descriptors; and
a port to route simplified instruction state descriptors.
17 . The processor of claim 16 further comprising circuitry to process a trace on signal.
18 . The processor of claim 16 further comprising circuitry to generate a no instruction executed in this cycle signal.
19 . The processor of claim 16 further comprising circuitry to process a stall signal.
20 . The processor of claim 16 , wherein the processor is embodied in hardware description language software.
21 . The processor of claim 16 , wherein the processor is embodied in one of Verilog hardware description language software and VHDL hardware description language software.
22 . A system, comprising:
a processor with
circuitry to characterize processor state changes in accordance with simplified instruction state descriptors, and
a port to route simplified instruction state descriptors; and
an instruction trace control block to route the simplified instruction state descriptors to a memory.
23 . The system of claim 22 wherein the instruction trace control block routes a trace on signal to the processor.
24 . The system of claim 22 wherein the instruction trace control block generates a stall signal for application to the processor.
25 . The system of claim 22 further comprising FIFO control circuitry connected to the instruction trace control block.
26 . The system of claim 25 further comprising a probe interface block connected to the FIFO control circuitry and the memory.
27 . The system of claim 26 wherein the instruction trace control block, the memory, the FIFO control circuitry and the probe interface block form a probe.
28 . A probe, comprising:
a memory;
an instruction trace control block to write simplified instruction state descriptors to the memory and selectively deliver program counter information with sub-sets of simplified instruction state descriptors.
29 . The probe of claim 28 wherein the instruction trace control block processes a trace on signal.
30 . The probe of claim 28 wherein the instruction trace control block generates a stall signal.
31 . The probe of claim 28 further comprising a FIFO control circuit connected to the instruction trace control block.
32 . The probe of claim 31 further comprising a probe interface block connected to the memory and the FIFO control circuit.