# US 2019/0377613 A1 · Synchronization of hardware units in data processing systems

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

- Number: US 2019/0377613 A1
- Document ID: US20190377613A1
- Status: Published application
- Kind: A1
- Application number: 16/033,985
- Filed: 2018-07-12
- Published: 2019-12-12
- Earliest claimed: 2018-06-11
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Pan Xuefeng; Yin Jianfeng
- Web page: https://patentgrep.com/patent/US20190377613A1

## CPC

- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 9/522: {Barrier synchronisation}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing system includes one or more producer processing units operable to produce data outputs, and one or more consumer processing units operable to use a data output produced by a producer processing unit, and a synchronization unit that is operable to communicate with the one or more producer processing units and the one or more consumer processing units, so as to synchronize the production and use of data outputs by the producer and consumer processing units.

## Claims

### Claim 1

A data processing system comprising:
one or more producer processing units operable to produce data outputs;
one or more consumer processing units operable to use a data output produced by a producer processing unit; and
a memory for storing data outputs produced by the producer processing unit or units;
wherein:
the one or more producer processing units each comprise processing circuitry operable to produce a data output and store the data output in the memory; and
the one or more consumer processing units each comprise processing circuitry operable to read a data output from the memory and use the read data output;
the data processing system further comprising:
a synchronization unit that is operable to communicate with the one or more producer processing units and the one or more consumer processing units, and that is operable to:
maintain a record of data outputs that are being generated by producer processing units of the data processing system;
receive from producer processing units of the data processing system messages relating to the progress that a producer processing unit has made when producing a data output; and
and to, in response to a message relating to the progress that a producer processing unit has made when producing a data output received from a producer processing unit:
send to one or more consumer processing units of the data processing system a message relating to the progress that a producer processing unit has made when producing a data output;
wherein:
the one or more producer processing units each further comprise processing circuitry operable to send to the synchronization unit messages relating to the progress that the producer processing unit has made when producing a data output; and
the one or more consumer processing units each further comprise processing circuitry operable to:
receive data output progress messages from the synchronization unit and to control the reading of a data output from the memory in accordance with data output progress messages received from the synchronization unit.

### Claim 2 (depends on 1)

The system of claim 1, wherein the record of data outputs that are being generated by producer processing units of the data processing system that is maintained by the synchronization unit comprises a set of plural record entries, with each entry having a respective entry identifier, and having associated with it an identifier for the producer processing unit that the entry has been allocated to.

### Claim 3 (depends on 2)

The system of claim 2, wherein each entry in the record of data outputs also has associated with it a progress indication that is indicative of the progress that the producer processing unit that the data output record entry has been allocated to has made when producing a data output or outputs.

### Claim 4 (depends on 3)

The system of claim 3, wherein the progress indication is in the form of a count of a number of progress update messages that the producer processing unit that the data output record entry has been allocated to has sent to the synchronization unit.

### Claim 5 (depends on 1)

The system of claim 1, wherein the synchronization unit is also operable to maintain a record of consumer processing units of the data processing system.

### Claim 6 (depends on 1)

The system of claim 1, wherein the producer processing units and the consumer processing units of the data processing system are operable to register with the synchronization unit before their operation is synchronized using the synchronization unit.

### Claim 7 (depends on 1)

The system of claim 1, wherein the progress messages sent by the producer processing units include at least one of: an indication of the identity of the producer processing unit in question; an indication of the identity of the producer processing unit data output record entry for the data output that the progress message relates to; and an indication of the progress that the producer processing unit has made when producing the data output that the progress message relates to.

### Claim 8 (depends on 1)

The system of claim 1, wherein the producer processing units are operable to send plural progress messages to the synchronization unit while producing a data output.

### Claim 9 (depends on 8)

The system of claim 8, wherein the number of progress messages to be provided for a data output is determined and set by the driver for the producer processing unit that is producing the data output.

### Claim 10 (depends on 1)

The system of claim 1, wherein the synchronization unit is operable to, when it receives a progress message from a producer processing unit, broadcast to plural consumer processing units, a message relating to the progress that the producer processing unit has made when producing the data output that indicates the data output that the message relates to.

### Claim 11 (depends on 1)

The system of claim 1, wherein:
the producer processing units are operable to associate with a data output that they are producing, the identity of the producer processing unit data output record for the data output;
and
the consumer processing units are operable to read the identity of a producer processing unit data output record associated with a data output to identify the producer processing unit data output record that the synchronization unit is maintaining for the data output.

### Claim 12

A method of operating a data processing system that comprises:
one or more producer processing units operable to produce data outputs;
one or more consumer processing units operable to use a data output produced by a producer processing unit;
a memory for storing data outputs produced by the producer processing unit or units; and
a synchronization unit that is operable to communicate with the one or more producer processing units and the one or more consumer processing units;
the method comprising:
a producer processing unit of the one or more producer processing units producing a data output and storing the data output in the memory; and
one or more of the one or more consumer processing units reading the data output from the memory and using the read data output;
the method further comprising:
the synchronization unit maintaining a record of the data output that is being generated by the producer processing unit;
the producer processing unit that is producing the data output sending to the synchronization unit a message relating to the progress that the producer processing unit has made when producing the data output;
the synchronization unit receiving from the producer processing unit the message relating to the progress that the producer processing unit has made when producing the data output, and, in response to the message relating to the progress that the producer processing unit has made when producing the data output from the producer processing unit, sending to one or more consumer processing units of the data processing system, a message relating to the progress that the producer processing unit has made when producing the data output;
and
one or more of the consumer processing units receiving the data output progress message from the synchronization unit and controlling their reading of the data output from the memory in accordance with the data output progress message received from the synchronization unit.

### Claim 13 (depends on 12)

The method of claim 12, wherein the record of data outputs that are being generated by producer processing units of the data processing system that is maintained by the synchronization unit comprises a set of plural record entries, with each entry having a respective entry identifier, and having associated with it an identifier for the producer processing unit that the entry has been allocated to.

### Claim 14 (depends on 13)

The method of claim 13, wherein each entry in the record of data outputs also has associated with it a progress indication that is indicative of the progress that the producer processing unit that the data output record entry has been allocated to has made when producing a data output or outputs.

### Claim 15 (depends on 14)

The method of claim 14, wherein the progress indication is in the form of a count of a number of progress update messages that the producer processing unit that the data output record entry has been allocated to has sent to the synchronization unit.

### Claim 16 (depends on 12)

The method of claim 12, wherein the synchronization unit also maintains a record of consumer processing units of the data processing system.

### Claim 17 (depends on 12)

The method of claim 12, further comprising:
a producer processing unit first requesting from the synchronization unit an allocation of an entry or entries in the producer processing unit data output record that is maintained by the synchronization unit; and
the synchronization unit, in response to such a request, allocating an entry or entries in the producer processing unit data output record maintained by the synchronization unit to the requesting producer processing unit.

### Claim 18 (depends on 12)

The method of claim 12, wherein the progress messages sent by the producer processing units include at least one of: an indication of the identity of the producer processing unit in question; an indication of the identity of the producer processing unit data output record entry for the data output that the progress message relates to; and an indication of the progress that the producer processing unit has made when producing the data output that the progress message relates to.

### Claim 19 (depends on 12)

The method of claim 12, comprising the producer processing unit sending a plurality of progress messages to the synchronization unit at intervals when generating the data output.

### Claim 20 (depends on 19)

The method of claim 19, comprising a driver for the producer processing unit that is producing the data output determining and setting the number of progress messages to be sent for the data output.

### Claim 21 (depends on 12)

The method of claim 12, comprising:
the synchronization unit, when it receives a progress message from the producer processing unit, broadcasting to plural consumer processing units, a message relating to the progress that the producer processing unit has made when producing the data output, that indicates the data output that the progress message relates to.

### Claim 22 (depends on 12)

The method of claim 12, comprising:
the producer processing unit associating with the data output that it is producing, the identity of the producer processing unit data output record for the data output;
and
one or more of the consumer processing units reading the identity of the producer processing unit data output record associated with the data output to identify the producer processing unit data output record that the synchronization unit is maintaining for the data output.

### Claim 23

A computer readable storage medium storing computer software code which when executing on a processor performs a method of operating a data processing system that comprises:
one or more producer processing units operable to produce data outputs;
one or more consumer processing units operable to use a data output produced by a producer processing unit;
a memory for storing data outputs produced by the producer processing unit or units; and
a synchronization unit that is operable to communicate with the one or more producer processing units and the one or more consumer processing units;
the method comprising:
a producer processing unit of the one or more producer processing units producing a data output and storing the data output in the memory; and
one or more of the one or more consumer processing units reading the data output from the memory and using the read data output;
the method further comprising:
the synchronization unit maintaining a record of the data output that is being generated by the producer processing unit;
the producer processing unit that is producing the data output sending to the synchronization unit a message relating to the progress that the producer processing unit has made when producing the data output;
the synchronization unit receiving from the producer processing unit the message relating to the progress that the producer processing unit has made when producing the data output, and, in response to the message relating to the progress that the producer processing unit has made when producing the data output from the producer processing unit, sending to one or more consumer processing units of the data processing system, a message relating to the progress that the producer processing unit has made when producing the data output;
and
one or more of the consumer processing units receiving the data output progress message from the synchronization unit and controlling their reading of the data output from the memory in accordance with the data output progress message received from the synchronization unit.
