# US 2015/0178136 A1 · Generating Hardware Accelerators and Processor Offloads

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

- Number: US 2015/0178136 A1
- Document ID: US20150178136A1
- Status: Published application
- Kind: A1
- Application number: 14/637,354
- Filed: 2015-03-03
- Published: 2015-06-25
- Earliest claimed: 2006-12-01
- Assignees: Synopsys, Inc.
- Applicants: Synopsys, Inc.
- Inventors: Navendu Sinha; William Charles Jordon; Bryon Irwin Moyer; Stephen John Joseph Fricke; Robert Attias; Akash Renukadas Deshpande; Vineet Gupta; Shobhit Sonakiya
- Web page: https://patentgrep.com/patent/US20150178136A1

## CPC

- G06F 9/5044: {considering hardware capabilities}
- G06F 9/54: Interprogram communication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

System and method for generating hardware accelerators and processor offloads. System for hardware acceleration. System and method for implementing an asynchronous offload. Method of automatically creating a hardware accelerator. Computerized method for automatically creating a test harness for a hardware accelerator from a software program. System and method for interconnecting hardware accelerators and processors. System and method for interconnecting a processor and a hardware accelerator. Computer implemented method of generating a hardware circuit logic block design for a hardware accelerator automatically from software. Computer program and computer program product stored on tangible media implementing the methods and procedures of the invention.

## Claims

### Claim 1

A method of generating a test harness for a hardware accelerator comprising:
accessing a template simulation script corresponding to the hardware accelerator, the hardware accelerator including a plurality of inputs, a clock input, and a plurality of outputs;
adding a first set of instructions to the simulation script to provide input parameters to the plurality of inputs during a test of the hardware accelerator;
adding a second set of instructions to the simulation script to provide clock inputs to the clock input during the text of the hardware accelerator;
adding a third set of instructions to the simulation script to access one or more output values from the plurality of outputs during the test of the hardware accelerator; and
accessing a waveform template script corresponding to the hardware accelerator, the waveform template script, when executed, configured to display the input parameters, the clock inputs, and the accessed output values.

### Claim 2 (depends on 1)

The method of claim 1, wherein the input parameters comprise initial values for the test of the hardware accelerator.

### Claim 3 (depends on 2)

The method of claim 2, wherein the initial values are chosen randomly, deterministically, or based on a design of the hardware accelerator.

### Claim 4 (depends on 1)

The method of claim 1, wherein the clock inputs include inputs for a number of clock cycles required to complete the test of the hardware accelerator.

### Claim 5 (depends on 1)

The method of claim 1, wherein the waveform template script is configured to display signals corresponding to ports of a highest hierarchical level of the hardware accelerator.

### Claim 6 (depends on 1)

The method of claim 1, wherein the hardware accelerator is coupled to a host processor, and wherein the host processor is configured to request a performance of a function by the hardware accelerator.

### Claim 7 (depends on 6)

The method of claim 6, wherein the accelerator includes a logic for:
carrying out a function in hardware based on the input parameters to generate the one or more output values, and
pushing the one or more output values to the plurality of outputs.

### Claim 8

A computer program stored on a non-transitory computer-readable media and including instructions for generating a test harness for a hardware accelerator that, when executed by a processor, perform steps comprising:
accessing a template simulation script corresponding to the hardware accelerator, the hardware accelerator including a plurality of inputs, a clock input, and a plurality of outputs;
adding a first set of instructions to the simulation script to provide input parameters to the plurality of inputs during a test of the hardware accelerator;
adding a second set of instructions to the simulation script to provide clock inputs to the clock input during the text of the hardware accelerator;
adding a third set of instructions to the simulation script to access one or more output values from the plurality of outputs during the test of the hardware accelerator; and
accessing a waveform template script corresponding to the hardware accelerator, the waveform template script, when executed, configured to display the input parameters, the clock inputs, and the accessed output values.

### Claim 9 (depends on 8)

The computer program of claim 8, wherein the input parameters comprise initial values for the test of the hardware accelerator.

### Claim 10 (depends on 9)

The computer program of claim 9, wherein the initial values are chosen randomly, deterministically, or based on a design of the hardware accelerator.

### Claim 11 (depends on 8)

The computer program of claim 8, wherein the clock inputs include inputs for a number of clock cycles required to complete the test of the hardware accelerator.

### Claim 12 (depends on 8)

The computer program of claim 8, wherein the waveform template script is configured to display signals corresponding to ports of a highest hierarchical level of the hardware accelerator.

### Claim 13 (depends on 8)

The computer program of claim 8, wherein the hardware accelerator is coupled to a host processor, and wherein the host processor is configured to request a performance of a function by the hardware accelerator.

### Claim 14 (depends on 13)

The computer program of claim 13, wherein the accelerator includes a logic for:
carrying out a function in hardware based on the input parameters to generate the one or more output values, and
pushing the one or more output values to the plurality of outputs.

### Claim 15

A system for generating a test harness for a hardware accelerator comprising:
a non-transitory computer-readable storage medium storing instructions that, when executed, perform steps comprising:
accessing a template simulation script corresponding to the hardware accelerator, the hardware accelerator including a plurality of inputs, a clock input, and a plurality of outputs;
adding a first set of instructions to the simulation script to provide input parameters to the plurality of inputs during a test of the hardware accelerator;
adding a second set of instructions to the simulation script to provide clock inputs to the clock input during the text of the hardware accelerator;
adding a third set of instructions to the simulation script to access one or more output values from the plurality of outputs during the test of the hardware accelerator; and
accessing a waveform template script corresponding to the hardware accelerator, the waveform template script, when executed, configured to display the input parameters, the clock inputs, and the accessed output values; and
a processor configured to execute the instructions.

### Claim 16 (depends on 15)

The system of claim 15, wherein the input parameters comprise initial values for the test of the hardware accelerator.

### Claim 17 (depends on 16)

The system of claim 16, wherein the initial values are chosen randomly, deterministically, or based on a design of the hardware accelerator.

### Claim 18 (depends on 15)

The system of claim 15, wherein the clock inputs include inputs for a number of clock cycles required to complete the test of the hardware accelerator.

### Claim 19 (depends on 15)

The system of claim 15, wherein the waveform template script is configured to display signals corresponding to ports of a highest hierarchical level of the hardware accelerator.

### Claim 20 (depends on 15)

The system of claim 15, wherein the hardware accelerator is coupled to a host processor, and wherein the host processor is configured to request a performance of a function by the hardware accelerator.

### Claim 21 (depends on 20)

The system of claim 20, wherein the accelerator includes a logic for:
carrying out a function in hardware based on the input parameters to generate the one or more output values, and
pushing the one or more output values to the plurality of outputs.
