# US 2017/0293703 A1 · Safety features for high level design

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

- Number: US 2017/0293703 A1
- Document ID: US20170293703A1
- Status: Published application
- Kind: A1
- Application number: 15/633,461
- Filed: 2017-06-26
- Published: 2017-10-12
- Earliest claimed: 2015-11-02
- Assignees: Altera Corporation
- Applicants: Altera Corporation
- Inventors: Adam Titley
- Web page: https://patentgrep.com/patent/US20170293703A1

## CPC

- G06F 30/343: Logical level
- G06F 30/327: Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
- G06F 30/34: for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]
- G06F 30/30: Circuit design
- G06F 2115/02: System on chip [SoC] design
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of this disclosure relate generally to electronic design automation, and more specifically, to electronic design automation using high level synthesis techniques to generate circuit designs that include safety features. Some innovative aspects can be implemented in computer-readable media, systems and methods capable of accessing an algorithmic description representation of a circuit design. The algorithmic description representation can be specified in a first language and include at least one programming language construct associated with a first safety data type. The media, systems and methods also are capable of compiling the algorithmic description representation of the circuit design. In some implementations, the compiling includes identifying the at least one construct, accessing a first safety data type definition associated with the first safety data type, and generating a second representation of the circuit design based on the algorithmic description representation and the first safety data type definition. The second representation can be provided in a second language and include at least one safety feature for a portion of the circuit design associated with the at least one construct.

## Claims

### Claim 1

Tangible computer-readable media storing non-transitory code executable by one or more processors, the code being configured to, when executed by the one or more processors, cause operations to be performed including:
accessing an algorithmic description representation of a circuit design, the algorithmic description representation being specified in a first language and including at least one programming language construct associated with a first safety data type; and
compiling the algorithmic description representation of the circuit design, the compiling including:
identifying the at least one construct,
accessing a first safety data type definition associated with the first safety data type, and
generating a second representation of the circuit design based on the algorithmic description representation and the first safety data type definition, the second representation being provided in a second language and including at least one safety feature for a portion of the circuit design associated with the at least one construct.

### Claim 2 (depends on 1)

The media of claim 1, wherein the algorithmic description representation is a control-flow-based representation and wherein the second representation is a data-flow-based representation.

### Claim 3 (depends on 1)

The media of claim 1, wherein the first language is an OpenCL-compatible programming language.

### Claim 4 (depends on 1)

The media of claim 1, wherein the second representation of the circuit design is a register-transfer level (RTL) representation.

### Claim 5 (depends on 1)

The media of claim 1, wherein the algorithmic description representation includes one or more directives identifying one or more header files, the one or more header files defining one or more safety data types including the first safety data type.

### Claim 6 (depends on 5)

The media of claim 5, wherein the compiling further includes:
identifying the one or more directives;
identifying the one or more header files;
accessing the one or more header files;
retrieving the contents of the one or more header files; and
including the contents of the one or more header files in the algorithmic description representation prior to generating the second representation.

### Claim 7 (depends on 1)

The media of claim 1, wherein the at least one construct includes at least one variable defined using the first safety data type.

### Claim 8 (depends on 1)

The media of claim 1, wherein the at least one construct includes at least one function having a return type defined using the first safety data type.

### Claim 9 (depends on 1)

The media of claim 1, wherein the at least one construct includes at least one function including at least one parameter defined using the first safety data type.

### Claim 10 (depends on 1)

The media of claim 1, wherein the at least one construct includes at least one pragma directive identifying a function as a safety-critical function.

### Claim 11

A system comprising:
one or more memory devices storing non-transitory processor-executable code configured to implement instructions;
one or more processing devices to execute the processor-executable code to implement the instructions, the instructions configured to cause operations to be performed including:
accessing an algorithmic description representation of a circuit design, the algorithmic description representation being specified in a first language and including at least one programming language construct associated with a first safety data type; and
compiling the algorithmic description representation of the circuit design, the compiling including:
identifying the at least one construct,
accessing a first safety data type definition associated with the first safety data type, and
generating a second representation of the circuit design based on the algorithmic description representation and the first safety data type definition, the second representation being provided in a second language and including at least one safety feature for a portion of the circuit design associated with the at least one construct.

### Claim 12 (depends on 11)

The system of claim 11, wherein the algorithmic description representation is a control-flow-based representation and wherein the second representation is a data-flow-based representation.

### Claim 13 (depends on 11)

The system of claim 11, wherein the algorithmic description representation includes one or more directives identifying one or more header files, the one or more header files defining one or more safety data types including the first safety data type.

### Claim 14 (depends on 13)

The system of claim 13, wherein the compiling further includes:
identifying the one or more directives;
identifying the one or more header files;
accessing the one or more header files;
retrieving the contents of the one or more header files; and
including the contents of the one or more header files in the algorithmic description representation prior to generating the second representation.

### Claim 15 (depends on 11)

The system of claim 11, wherein the at least one construct includes at least one variable defined using the first safety data type.

### Claim 16 (depends on 11)

The system of claim 11, wherein the at least one construct includes at least one function having a return type defined using the first safety data type.

### Claim 17 (depends on 11)

The system of claim 11, wherein the at least one construct includes at least one function including at least one parameter defined using the first safety data type.

### Claim 18 (depends on 11)

The system of claim 11, wherein the at least one construct includes at least one pragma directive identifying a function as a safety-critical function.

### Claim 19

A method comprising:
accessing, by a computer system, an algorithmic description representation of a circuit design, the algorithmic description representation being specified in a first language and including at least one programming language construct associated with a first safety data type; and
compiling, by the computer system, the algorithmic description representation of the circuit design, the compiling including:
identifying the at least one construct,
accessing a first safety data type definition associated with the first safety data type, and
generating a second representation of the circuit design based on the algorithmic description representation and the first safety data type definition, the second representation being provided in a second language and including at least one safety feature for a portion of the circuit design associated with the at least one construct.

### Claim 20 (depends on 19)

The method of claim 19, wherein the algorithmic description representation is a control-flow-based representation and wherein the second representation is a data-flow-based representation.
