# US 2022/0019668 A1 · Hardware Autoloader

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

- Number: US 2022/0019668 A1
- Document ID: US20220019668A1
- Status: Published application
- Kind: A1
- Application number: 17/338,942
- Filed: 2021-06-04
- Published: 2022-01-20
- Earliest claimed: 2020-07-14
- Assignees: Graphcore Limited
- Applicants: Graphcore Limited
- Inventors: Daniel John Pelham WILKINSON
- Web page: https://patentgrep.com/patent/US20220019668A1

## CPC

- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/575: {Secure boot}
- G06F 9/3802: {Instruction prefetching}
- G06F 9/4405: {Initialisation of multiprocessor systems}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A new apparatus and method for securely distributing an application to processors of a processing unit. The processing unit is formed as part of an integrated circuit and comprises a plurality of processors (referred to as tiles), each having their own execution unit and storage for storing application data and additional executable instructions. The integrated circuit comprises a hardware module (referred to herein as the autoloader) that is configured to distribute a set of bootloader instructions (referred to herein as a secondary bootloader) to each of at least some of the tiles. Each of the tiles then executes instructions of the received secondary bootloader, which causes each tile to issue read requests to read a set of executable application instructions from a memory external to the integrated circuit. Each tile then performs operations using the received set of executable application instructions so as execute the application using the processing unit.

## Claims

### Claim 1

An integrated circuit comprising a plurality of processors, each of the plurality of processors comprising:
at least one memory for storing application data and a set of executable application instructions; and
at least one execution unit,
wherein the integrated circuit comprises a hardware module comprising memory comprising a set of executable boot instructions, wherein the hardware module comprises processing circuitry configured at runtime by trusted software to cause the set of executable boot instructions to be dispatched over an interconnect of the integrated circuit to at least some of the plurality of processors,
wherein for each of the at least some of the plurality of processors, the respective at least one execution unit is configured to:
execute the set of executable boot instructions to cause read requests to be issued to at least one memory external to the integrated circuit to fetch the set of executable application instructions; and
execute the set of executable application instructions to perform operations using the application data.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, wherein for each of the at least some of the plurality of processors:
executing the set of executable boot instructions comprising calculating an address of the external memory in dependence upon an identifier of the respective processor in the integrated circuit,
the causing the read requests to be issued comprises causing the read requests to be issued to fetch the set of executable application instructions from the calculated address in the external memory.

### Claim 3 (depends on 1)

The integrated circuit of claim 1, wherein the hardware module comprises processing circuitry configured to cause one or more write requests to be dispatched to each of the at least some of the plurality of processors to cause memory space not occupied by the set of executable boot instructions to be cleared.

### Claim 4 (depends on 1)

The integrated circuit of claim 1, wherein for each of the at least some of the plurality of processors:
the respective at least one execution unit is arranged to cause checkpoint data generated during execution of the respective set of executable application instructions to be dispatched in write requests to a storage.

### Claim 5 (depends on 4)

The integrated circuit of claim 4, wherein the processing circuitry of the hardware module is configured to, following the causing the checkpoint data to be dispatched, cause the set of executable boot instructions to again be dispatched over an interconnect of the integrated circuit to at least some of the plurality of processors,
wherein for each of the at least some of the plurality of processors, the respective at least one execution unit is configured to subsequently:
execute the set of executable boot instructions to cause read requests to be issued to fetch the set of executable application instructions and a further set of application data including the checkpoint data; and
execute the set of executable application instructions to perform operations using values of the checkpoint data.

### Claim 6 (depends on 5)

The integrated circuit of claim 5, wherein the further set of application data comprises a set of invariant data, wherein the invariant data is part of the application data fetched prior to dispatch of the checkpoint data,
wherein the further set of application data comprises the checkpoint data in place of variant data that is part of the application data fetched prior to dispatch of the checkpoint data.

### Claim 7 (depends on 1)

The integrated circuit of claim 1, wherein for each of the at least some of the plurality of processors, the respective at least one execution unit is configured to execute the respective set of executable application instructions to load at least part of the application data from the at least one memory external to the integrated circuit.

### Claim 8 (depends on 1)

The integrated circuit of claim 1, wherein for each of the at least some of the plurality of processors, the respective at least one execution unit is configured to execute the set of executable boot instructions to cause read requests to be issued to at least one memory external to the integrated circuit to fetch at least part of the application data.

### Claim 9 (depends on 1)

The integrated circuit of claim 1, wherein the hardware module comprises a volatile memory configured to store the set of executable boot instructions, wherein the processing circuitry of the hardware module is configured to, following a reset of the integrated circuit:
receive the set of executable boot instructions from a device external to the integrated circuit; and
store the set of executable boot instructions in the volatile memory.

### Claim 10 (depends on 9)

The integrated circuit of claim 9, wherein the receiving the set of executable boot instructions from the device external to the integrated circuit comprises receiving the set of executable boot instructions via a Joint Test Action Group (JTAG) interface.

### Claim 11 (depends on 1)

The integrated circuit of claim 1, wherein the hardware module comprises a non-volatile memory configured to store the set of executable boot instructions.

### Claim 12 (depends on 1)

The integrated circuit of claim 1, wherein the memory of the hardware module is configured to store a plurality of sets of executable boot instructions, wherein the processing circuitry is configured to cause each of the plurality of sets of executable boot instruction to be dispatched to a subset of the processors of the integrated circuit.

### Claim 13 (depends on 1)

The integrated circuit of claim 1, implemented as part of a data processing system that includes a data provision system having the memory external to the integrated circuit.

### Claim 14 (depends on 13)

The integrated circuit of claim 13, wherein the data provision system comprises at least one processor configured to, in response to receipt at the data provision system of a sync request from the integrated circuit, cause application data for a group of the processors to be loaded into the memory external to the integrated circuit.

### Claim 15 (depends on 13)

The integrated circuit of claim 13, wherein at least one processor of the data provision system is configured to, arrange the application data in the memory external to the integrated circuit in an arrangement depending upon an identifier of the group of the processors received from the integrated circuit.

### Claim 16

A method implemented in an integrated circuit having a plurality of processors, the method comprising:
storing executable boot instructions in a hardware module of the integrated circuit;
configuring, at runtime by software, processing circuitry of the hardware module to cause the executable boot instructions to be dispatched over an interconnect of the integrated circuit to a first processor of the plurality of processors;
executing the executable boot instructions, by the first processor, to cause a read request to be issued to a memory external to the integrated circuit to fetch executable application instructions; and
executing the executable application instructions to perform operations using application data.

### Claim 17 (depends on 16)

The method of claim 16, wherein executing the executable boot instructions includes:
calculating an address of the memory in dependence upon an identifier of the first processor, and
wherein causing the read request to be issued comprises fetching the executable application instructions from the calculated address in the memory.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
causing a write request to be dispatched to the first processor to cause memory space not occupied by the executable boot instructions to be cleared.

### Claim 19 (depends on 1)

The method of claim 1, further comprising:
causing checkpoint data generated during execution of the executable application instructions to be dispatched in write requests to a storage.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
following the checkpoint data being dispatched, causing further executable boot instructions to be dispatched over the interconnect to a second processor of the plurality of processors,
the method further comprising the second processor performing the following actions:
executing the further executable boot instructions to cause read requests to be issued to fetch further executable application instructions and further application data including the checkpoint data; and
executing the further executable application instructions to perform operations using values of the checkpoint data.

### Claim 21 (depends on 16)

The method of claim 16, wherein executing the executable application instructions includes loading at least part of the application data from storage external to the integrated circuit.

### Claim 22 (depends on 16)

The method of claim 16, wherein executing the executable boot instructions includes causing a further read request to be issued to storage external to the integrated circuit to fetch at least part of the application data.

### Claim 23 (depends on 16)

The method of claim 16, wherein the hardware module comprises a volatile memory configured to store the executable boot instructions, the method further comprising:
following a reset of the integrated circuit, receiving the executable boot instructions from a device external to the integrated circuit; and
storing the executable boot instructions in the volatile memory.

### Claim 24 (depends on 23)

The method of claim 23, wherein the executable boot instructions are received via a Joint Test Action Group (JTAG) interface.

### Claim 25 (depends on 16)

The method of claim 16, wherein the hardware module comprises a non-volatile memory configured to store the executable boot instructions.

### Claim 26

A non-transitory computer readable storing a computer program comprising computer executable instructions which when executed by processing circuitry of a hardware module of an integrated circuit comprising a plurality of processors causes a method to be carried out, the method comprising:
storing a set of executable boot instructions in a hardware module of the integrated circuit;
configuring, at runtime by software, processing circuitry of the hardware module to cause the set of executable boot instructions to be dispatched over an interconnect of the integrated circuit to a first processor of the plurality of processors;
executing the set of executable boot instructions to cause a read request to be issued to a memory external to the integrated circuit to fetch executable application instructions; and
executing the executable application instructions to perform operations using application data.
