# US 2024/0201729 A1 · Event logging based on global clock in system with multiple components

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0201729 A1
- Document ID: US20240201729A1
- Status: Published application
- Kind: A1
- Application number: 18/067,307
- Filed: 2022-12-16
- Published: 2024-06-20
- Earliest claimed: 2022-12-16
- Assignees: Cirrus Logic International Semiconductor Ltd.
- Applicants: Cirrus Logic International Semiconductor Ltd.
- Inventors: Trenton Henry; Nariankadu D. Hemkumar
- Web page: https://patentgrep.com/patent/US20240201729A1

## CPC

- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F 1/14: Time supervision arrangements, e.g. real time clock
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure relates to instrumenting of integrated circuits, and particularly with providing synchronized time stamps for logging data from multiple components. An example method includes injecting code in a read only memory (ROM) that performs the logging with time stamps. The method may include receiving, from a first component, data describing a first event with a first time stamp synchronized to a global clock; receiving, from a second component, data describing a second event with a second time stamp synchronized to the global clock; and generating a report comprising the first event and the second event, wherein the first event is synchronized with the second event. Other aspects are also disclosed.

## Claims

### Claim 1

A method, comprising:
receiving, from a first component, data describing a first event with a first time stamp synchronized to a global clock;
receiving, from a second component, data describing a second event with a second time stamp synchronized to the global clock; and
generating a report comprising the first event and the second event, wherein the first event is synchronized with the second event.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
modifying the first component to report the first event; and
modifying the second component to report the second event.

### Claim 3 (depends on 2)

The method of claim 2, wherein modifying the first component comprises injecting a code segment into a first software module of the first component configuring the first component to transmit the first event with the first time stamp.

### Claim 4 (depends on 3)

The method of claim 3, wherein injecting the code segment into the first software module comprises replacing a pointer to a function in read only memory (ROM).

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the first time stamp is based on a register value of the global clock and the register value is related to a clock cycle count of the global clock, and
the second time stamp is based on the register value of the global clock.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first component comprises a first processor of an integrated circuit and the second component comprises a second processor of the integrated circuit.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first component comprises a first processor of a first integrated circuit and the second component comprises a second processor of a second integrated circuit on a separate semiconductor die from the first integrated circuit, wherein the first time stamp is synchronized with the second time stamp across the first integrated circuit and the second integrated circuit.

### Claim 8 (depends on 1)

The method of claim 1, further comprising determining a behavioral pattern for the first component and the second component based on the report indicating a failure of the first component or the second component.

### Claim 9 (depends on 1)

The method of claim 1, further comprising determining a decrease of performance for the first component or the second component based on the report indicating a failure of the first component or the second component.

### Claim 10

An electronic device, comprising:
an instrumentation module configured to communicate with a first electronic component and to a second electronic component, wherein the instrumentation module is configured to perform operations comprising:
receiving, from the first electronic component, data describing a first event with a first time stamp synchronized to a global clock;
receiving, from the second electronic component, data describing a second event with a second time stamp synchronized to the global clock; and
generating a report comprising the first event and the second event, wherein the first event is synchronized with the second event.

### Claim 11 (depends on 10)

The electronic device of claim 10, wherein the instrumentation module is further configured to perform operations comprising:
modifying the first electronic component to report the first event; and
modifying the second electronic component to report the second event.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein modifying the first electronic component comprises injecting a code segment into a first software module of the first electronic component configuring the first electronic component to transmit the first event with the first time stamp.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein injecting the code segment into the first software module comprises replacing a pointer to a function in read only memory (ROM).

### Claim 14 (depends on 11)

The electronic device of claim 11, wherein:
the first time stamp is based on a register value of the global clock and the register value is related to a clock cycle count of the global clock, and
the second time stamp is based on the register value of the global clock.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein the instrumentation module is further configured to perform operations comprising:
determining a behavioral pattern for the first electronic component and the second electronic component based on the report indicating a failure of the first electronic component or the second electronic component.

### Claim 16

An apparatus, comprising:
a first processor;
a second processor;
a memory coupled to the first processor and the second processor; and
an instrumentation module coupled to the first processor and to the second processor, wherein the instrumentation module is configured to perform operations comprising:
receiving, from the first processor, data describing a first event with a first time stamp synchronized to a global clock;
receiving, from the second processor, data describing a second event with a second time stamp synchronized to the global clock; and
generating a report comprising the first event and the second event, wherein the first event is synchronized with the second event.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the first processor and the second processor are on a single semiconductor die.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein:
modifying the first processor comprises injecting a first code segment into a first software module in the memory executed by the first processor configuring the first processor to transmit the first event with the first time stamp, and
modifying the second processor comprises injecting a second code segment into a second software module in the memory executed by the second processor configuring the second processor to transmit the second event with the second time stamp.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein:
injecting the first code segment into the first software module comprises replacing a pointer to a function in read only memory (ROM) in the first software module with a first address to the first code segment,
injecting the second code segment into the second software module comprises replacing a pointer to a function in read only memory (ROM) in the second software module with a second address to the second code segment.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the instrumentation module is configured to perform operations comprising:
determining a behavioral pattern for the first processor and the second processor based on the report indicating a failure of the first processor or the second processor.
