摘要 |
<p>A trace circuit 8 is configured to generate a stream of trace data elements indicative of processing operations performed by a processing circuit 4. The trace circuit 8 has a plurality of reference address registers 30-1 configured to store corresponding reference addresses. When the processing circuit 4 performs a processing operation associated with an associated memory address, the trace circuit 8 selects one of the reference address registers 30-1 as a selected reference address register, and generates a trace data element indicating: (i) which of the reference address registers 30-1 is the selected reference address register, and (ii) a difference, if any, between the associated memory address and the reference address of the selected reference address register. A diagnostic apparatus 20 for analyzing the trace stream has a similar set of reference address registers 30-2 which are used to reconstruct the associated memory address from the generated trace data element.</p> |