# US 2017/0255731 A1 · Event-driven design simulation

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

- Number: US 2017/0255731 A1
- Document ID: US20170255731A1
- Status: Published application
- Kind: A1
- Application number: 15/400,018
- Filed: 2017-01-06
- Published: 2017-09-07
- Earliest claimed: 2016-03-04
- Assignees: Montana Systems Inc.
- Applicants: Montana Systems Inc.
- Inventors: VIVIAN CHOU; JULIEN LAMOUREUX; SHERMAN LEE
- Web page: https://patentgrep.com/patent/US20170255731A1

## CPC

- G06F 9/3001: {Arithmetic instructions}
- G06F 9/30029: {Logical and Boolean instructions, e.g. XOR, NOT}
- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/3005: {to perform operations for flow control}
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/3802: {Instruction prefetching}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F 9/3885: {using a plurality of independent parallel functional units}
- G06F 12/023: {Free address space management}
- G06F 30/33: Design verification, e.g. functional simulation or model checking
- G06F 30/3308: using simulation
- G06F 30/331: with hardware acceleration, e.g. by using field programmable gate array [FPGA] or emulation
- G06F 30/367: Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
- G06F 30/39: Circuit design at the physical level (physical level design for reconfigurable circuits G06F30/347)
- G06F 2212/251: Local memory within processor subsystem
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A simulation system that includes a simulation accelerator that uses parallel processing to accelerate the simulation of register transfer level codes (RTLs) while minimizing memory access latency is disclosed. The accelerator has an array of parallel computing resources. The simulation accelerator receives compiled RTLs in which the components of the design are mapped to instructions. The instructions are divided into groups, in which instructions belonging to a same group are logically independent of each other. The simulation accelerator fetches instructions and data for processing by the parallel computing resources for one group of instructions at a time.

## Claims

### Claim 1

A method comprising:
receiving a specification of a digital circuit, the specification comprising a plurality of instructions for modeling behaviors of the digital circuit, each instruction specifying an operation and a set of fan-out destinations;
storing each instruction at a corresponding respective memory location in an instruction memory;
executing the plurality of instructions, wherein executing an instruction comprises:
(i) generating an instruction address;
(ii) using the generated instruction address to fetch the instruction from the instruction memory and to fetch the instruction's input data from a data memory;
(iii) performing the operation specified by the fetched instruction based on the fetched input data and producing an output data; and
(iv) storing the output data in a set of memory locations of the data memory according to the set of fan-out destinations specified by the instruction.

### Claim 2 (depends on 1)

The method of claim 1, wherein the instruction memory and the data memory are part of a same memory structure, wherein the instruction and the instruction's inputs are stored in a same memory location that is addressed by the same generated instruction address.

### Claim 3 (depends on 1)

The method of claim 1 further comprising generating simulation data based on the output data of each instruction stored in the data memory at different simulation time steps.

### Claim 4 (depends on 1)

The method of claim 1, wherein the set of fan-out destinations specifies at least one destination instruction in the plurality of instructions.

### Claim 5 (depends on 4)

The method of claim 4, wherein the output data of the executed instruction is stored in the data memory to serve as input data for the destination instruction, wherein the output data is stored at a location in the data memory that has the same address as the destination instruction in the instruction memory.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of instructions are divided into a plurality of groups of instructions, wherein each instruction belonging to a group of instructions is logically and temporally independent of any other instruction belonging to the group.

### Claim 7 (depends on 6)

The method of claim 6, wherein executing the plurality of instructions comprises selecting a group of instructions and executing the selected group of instructions.

### Claim 8

An integrated circuit (IC) comprising:
an instruction memory;
a data memory;
a set of processing unit configured to execute instructions stored in the instruction memory and produce output data, each instruction specifying an operation and a set of fan-out destinations;
a fetching circuit configured to fetch each instruction and its corresponding input data, wherein each instruction is stored in the instruction memory at a same address location as the instruction's input data in the data memory;
a data access circuit configured to store the output data of each instruction to a set of destination locations in the data memory according to the instruction's set of fan-out destinations.

### Claim 9 (depends on 8)

The IC of claim 8, wherein the instruction memory and the data memory are part of a same memory structure, wherein the instruction and the instruction's inputs are stored in a same memory location that is addressed by the same generated instruction address.

### Claim 10 (depends on 8)

The IC of claim 8, wherein the data access circuit is further configured to generate simulation data based on the output data of each instruction stored in the data memory at different simulation time steps.

### Claim 11 (depends on 8)

The IC of claim 8, wherein the set of fan-out destinations specifies at least one destination instruction in the plurality of instructions.

### Claim 12 (depends on 11)

The IC of claim 11, wherein data access circuit stores the output data of the executed instruction in the data memory to serve as input data for the destination instruction, wherein the output data is stored at a location in the data memory that has the same address as the destination instruction in the instruction memory.

### Claim 13 (depends on 8)

The IC of claim 8, wherein the plurality of instructions are sorted into a plurality of groups of instructions, wherein each instruction belonging to a group of instructions is logically and temporally independent of any other instruction belonging to the group.

### Claim 14 (depends on 13)

The IC of claim 13, wherein the fetching circuit is further configured to select a group of instructions for execution by the set of processing units.

### Claim 15

A simulation system comprising:
a simulation processor configured to execute a set of compiled models to generate stimulus for testing a design of a digital circuit; and
a simulation accelerator configured to perform acts comprising:
receiving a plurality of instructions emulating the behavior of the digital circuit by applying the generated stimulus,
storing each instruction at a corresponding respective memory location in an instruction memory;
executing the plurality of instructions, wherein executing an instruction comprises:
(i) generating an instruction address;
(ii) using the generated instruction address to fetch the instruction from the instruction memory and to fetch the instruction's input data from a data memory;
(iii) performing the operation specified by the fetched instruction based on the fetched input data and producing an output data; and
(iv) storing the output data in a set of memory locations of the data memory according to the set of fan-out destinations specified by the instruction.

### Claim 16 (depends on 15)

The simulation system of claim 15, wherein the instruction memory and the data memory are part of a same memory structure, wherein the instruction and the instruction's inputs are stored in a same memory location that is addressed by the same generated instruction address.

### Claim 17 (depends on 15)

The simulation system of claim 15, wherein the simulation accelerator is further configured to generate simulation data based on the output data of each instruction stored in the data memory at different simulation time steps.

### Claim 18 (depends on 15)

The simulation system of claim 15, wherein the set of fan-out destinations specifies at least one destination instruction in the plurality of instructions.

### Claim 19 (depends on 18)

The simulation system of claim 18, wherein the output data of the executed instruction is stored in the data memory to serve as input data for the destination instruction, wherein the output data is stored at a location in the data memory that has the same address as the destination instruction in the instruction memory.

### Claim 20 (depends on 15)

The simulation of claim 15, wherein the plurality of instructions are sorted into a plurality of groups of instructions, wherein each instruction belonging to a group of instructions is logically and temporally independent of any other instruction belonging to the group, wherein the accelerator executes the plurality of instructions by selecting a group of instructions and executing the selected group of instructions.
