# US 2019/0317742 A1 · Java Verilog Cross Compiler

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

- Number: US 2019/0317742 A1
- Document ID: US20190317742A1
- Status: Published application
- Kind: A1
- Application number: 16/179,899
- Filed: 2018-11-03
- Published: 2019-10-17
- Earliest claimed: 2017-11-03
- Inventors: Jeffrey Gregg Schoen
- Web page: https://patentgrep.com/patent/US20190317742A1

## CPC

- G06F 8/42: {Syntactic analysis}
- G06F 8/447: {Target code generation}
- G06F 8/443: {Optimisation}
- G06F 9/30079: {Pipeline control instructions, e.g. multicycle NOP}
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 9/45504: {Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for generating code for multiple hardware platforms from a common high-level source is disclosed. The method apparatus includes a language specification, JavaVerilog, that contains the information necessary to automatically generate efficient Java, C, and SystemVerilog code for various hardware platforms. The method also includes a code generator to automatically translate the JavaVerilog code into the components necessary to configure and control the execution on the desired hardware platform. The method further defines the protocol for configuring and controlling peripheral hardware objects, such as those on a Field Programmable Gate Array (FPGA) accelerator board.

## Claims

### Claim 1

A method for developing a processing algorithm on multiple hardware platforms from a common high-level code source, the method comprising:
reading a source file conforming to the JavaVerilog language syntax defining the processing algorithm, wherein: the JavaVerilog language syntax conforms to Java 1.6 with the addition of SystemVerilog data types and SystemVerilog bit manipulation syntax;
reading configuration files defining data types, math functions, and
optimization preferences;
producing a pure Java implementation for execution on a JVM;
producing a pure C implementation for execution on a CPU;
producing a pure C implementation for controlling an accelerator platform; and
producing a pure SystemVerilog implementation for execution on an FPGA accelerator platform, wherein: the SystemVerilog implementation includes object instantiation and initialization, control flow sequencing, math function implementation, instruction pipelining, loop unrolling, and clock doubling.
