Synchronizing on-chip data processor trace and timing information for export
AssigneeTexas Instruments Incorporated
InventorsGary L. Swoboda, Robert A. McGowan
Life of this patent
Estimating the term…
Abstract
Emulation information indicative of internal operations of a data processor can be provided for use by an apparatus external to the data processor. A stream of emulation trace information indicative of data processing operations performed by the data processor is provided. A stream of timing information indicative of operation of a clock used by the data processor to perform data processing operations is also provided. The trace stream and the timing stream have inserted therein information indicative of a temporal relationship between the trace information and the timing information.
Claims18
A method of providing emulation information indicative of internal operations of a data processor for use by an apparatus external to the data processor, comprising:
- providing a stream of emulation trace information indicative of data processing operations performed by the data processor;
- providing a stream of timing information indicative of operation of a clock used by the data processor to perform data processing operations, said timing information including cycle bits each indicating whether the data processor performed data processing operations or stalled during a corresponding clock cycle;
- and
- inserting in the trace stream and in the timing stream temporal information indicative of a temporal relationship between the trace information and the timing information;
- and
- compressing at least one of said stream of emulation trace information and said stream of timing information.
An apparatus for providing emulation information indicative of internal operations of a data processor for use by an apparatus external to the data processor, comprising:
- a first input for coupling to the data processor;
- a trace generator coupled to said first input for providing a stream of emulation trace information indicative of data processing operations performed by the data processor, said trace generator having a trigger input for receiving a trigger signal;
- a second input for coupling to the data processor;
- a timing generator coupled to said second input for providing a stream of timing information indicative of operation of a clock used by the data processor to perform data processing operations, said timing information including cycle bits each indicating whether the data processor performed data processing operations or stalled during a corresponding clock cycle, said timing generator having a trigger input for receiving said trigger signal;
- a table of sync ID numbers;
- said trace generator operable when trigged by said trigger signal to insert temporal information corresponding to a next sync ID number from said table into the trace stream;
- said timing generator operable when trigged by said trigger signal to insert temporal information corresponding to said next sync ID number from said table into the timing stream;
- and
- a data compressor operable to compress data of at least one of said stream of emulation trace information and said stream of timing information.
An integrated circuit, comprising:
- a data processor for performing data processing operations;
- an apparatus coupled to said data processor for providing emulation information indicative of said data processing operations to an emulation apparatus located externally of said integrated circuit, including a trace generator for providing a stream of emulation trace information indicative of said data processing operations, a timing generator for providing a stream of timing information indicative of operation of a clock used by said data processor to perform said data processing operations, said timing information including cycle bits each indicating whether the data processor performed data processing operations or stalled during a corresponding clock cycle and a table of sync ID numbers;
- and
- said trace generator operable to insert temporal information corresponding to a next sync ID number from said table into the trace stream;
- said timing generator operable to insert temporal information corresponding to said next sync ID number from said table into the timing stream;
- and
- a data compressor operable to compress data of at least one of said stream of emulation trace information and said stream of timing information.
A data processing system, comprising:
- an integrated circuit including a data processor for performing data processing operations;
- an emulation controller located externally of said integrated circuit and coupled thereto for controlling emulation operations of said data processor;
- said integrated circuit including an apparatus coupled between said data processor and said emulation controller for providing to said emulation controller emulation information indicative of said data processing operations, said apparatus including a trace generator for providing a stream of emulation trace information indicative of said data processing operations, a timing generator for providing a stream of timing information indicative of operation of a clock used by said data processor to perform said data processing operations, said timing information including cycle bits each indicating whether the data processor performed data processing operations or stalled during a corresponding clock cycle and a table of sync ID numbers;
- and
- said trace generator operable to insert temporal information corresponding to a next sync ID number from said table into the trace stream;
- said timing generator operable to insert temporal information corresponding to said next sync ID number from said table into the timing stream;
- and
- a data compressor operable to compress data of at least one of said stream of emulation trace information and said stream of timing information.
Dependencies are inferred from the claim text.