IP Library Granted Patent US 9,158,720
Granted Patent B2
US 9,158,720 · App. 13/964,089 · Granted Oct 13, 2015

System and method for scalable trace unit timestamping

Inventors: Martyn Ryan Shirlen (San Diego, CA); Victor Wong (San Diego, CA)
Assignee: QUALCOMM INCORPORATED
G06F13/36G06F11/3466G06F11/364G06F11/3648
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,158,720
App. No.
13/964,089
Granted
Oct 13, 2015
Kind
B2
Abstract

An integrated circuit includes a trace subsystem that provides timestamps for events occurring in a trace source that does not natively support time stamping trace data. A timestamp inserter is coupled to such a trace source. The timestamp inserter generates a modified trace data stream by arranging a reference or references with the trace information from the trace source on a trace bus. A trace destination receives the modified trace data stream including the reference(s). In some embodiments, a timestamp inserter receives a timestamp request and stores a reference in a buffer. Upon later receipt of trace information associated with the request, the timestamp inserter inserts the reference, a current reference and the received trace information into the trace data stream.

Claims (22)

1. A system for providing timestamps from trace sources that do not natively support time stamping trace data, the system comprising:

a trace source arranged to communicate trace information using a trace protocol that does not support a timestamp;

a timestamp inserter coupled to the trace source via a trace bus and responsive to a timestamp request associated with a trace data generated by the trace source, the timestamp inserter configured to:

forward a first current reference to a trace destination in response to receipt of the timestamp request;

monitor the trace bus for arrival of the trace data;

upon arrival of the trace data, modify the trace data to include the first current reference and a second current reference; and

forward the modified trace data to the trace destination;

wherein the trace source and the timestamp inserter are arranged on an integrated circuit; and

wherein the modified trace data is useful for correcting timing error resulting from the trace data residing in the trace destination.

2. The system of claim 1 , wherein the trace source is a hardware core trace unit.

3. The system of claim 2 , wherein the trace information is interleaved with additional trace information from at least one additional source of trace information.

4. The system of claim 3 , wherein the trace protocol used by the trace source is different from a second trace protocol used by the at least one additional source of trace information.

5. The system of claim 1 , wherein the trace source communicates the timestamp request.

6. The system of claim 5 , wherein the trace source waits for an acknowledgement signal before communicating the trace information to the timestamp inserter.

7. The system of claim 6 , wherein the trace source communicates an identifier with the trace information.

8. The system of claim 1 , wherein the trace destination is a first-in first-out buffer.

9. The system of claim 1 , wherein the first current reference and the second current reference are counts generated from a system clock signal.

10. The system of claim 1 , wherein the trace destination is a trace sink.

11. The system of claim 10 , wherein the trace sink is selected from the group consisting of a trace protocol interface unit (TPIU), a universal serial bus (USB), a double-data rate (DDR) bus, a peripheral component interconnect express (PCIe) interface and a memory element.

12. The system of claim 1 , wherein the timestamp inserter is arranged with timestamp request logic responsive to one or more of events that occur in the trace source and an interaction between a hardware core trace element and a processing core, the timestamp request logic arranged to insert an identifier in a timestamp request.

13. The system of claim 12 , wherein timestamp insertion logic inserts a first current value responsive to the reference and the timestamp request into a first-in first-out buffer.

14. The system of claim 13 , wherein the timestamp insertion logic inserts a second current value responsive to the reference when the trace information marked with the identifier arrives at the timestamp insertion logic.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE INVENTOR NAME, MARTYN RYAN SHIRLEN, IN WHICH FIRST NAME WAS OMITTED WHERE INVENTOR NAME WAS FILED AS "RYAN SHIRLEN," PREVIOUSLY RECORDED ON REEL 031131 FRAME 0195. ASSIGNOR(S) HEREBY CONFIRMS THE THE INVENTORS ASSIGNED TO QUALCOMM INCORPORATED U.S. APP.NO. 13/964,089 FILED AUGUST 11, 2013.. Recorded Sep 30, 2014
From: SHIRLEN, MARTYN RYAN; WONG, VICTOR
To: QUALCOMM INCORPORATED
Reel/Frame 034431/0556 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2013
From: SHIRLEN, RYAN; WONG, VICTOR
To: QUALCOMM INCORPORATED
Reel/Frame 031131/0195 →
Continuity (1)
Related Publication 20150046617A1 · Feb 12, 2015