# US 2001/0025231 A1 · System and method for converting a graphical program including a structure node into a hardware implementation

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

- Number: US 2001/0025231 A1
- Document ID: US20010025231A1
- Status: Published application
- Kind: A1
- Application number: 09/788,219
- Filed: 2001-02-16
- Published: 2001-09-27
- Earliest claimed: 1997-08-18
- Assignees: National Instruments Corporation
- Inventors: Jeffrey L. Kodosky; Hugo Andrade; Brian K. Odom; Cary P. Butler
- Web page: https://patentgrep.com/patent/US20010025231A1

## CPC

- G06F 8/34: Graphical or visual programming
- G06F 11/2294: {by remote test}
- G06F 11/2733: {Test interface between tester and unit under test}
- G06F 30/34: for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]
- G06F 2111/12: Symbolic schematics
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented system and method for generating a hardware implementation of graphical code. The method comprises first creating a graphical program. A first portion of the graphical program may optionally be compiled into machine code for execution by a CPU. A second portion of the graphical program is converted into a hardware implementation according to the present invention. The operation of converting the graphical program into a hardware implementation comprises exporting the second portion of the graphical program into a hardware description, wherein the hardware description describes a hardware implementation of the second portion of the graphical program, and then configuring a programmable hardware element utilizing the hardware description to produce a configured hardware element. The configured hardware element thus implements a hardware implementation of the second portion of the graphical program.

## Claims

### Claim 1

A. computer-implemented method for generating a hardware implementation of graphical code, the method comprising:
creating a graphical program, wherein the graphical program includes a plurality of nodes, wherein at least a subset of the plurality of nodes are connected to indicate data flow among the at least a subset of the plurality of nodes, wherein the plurality of nodes includes a structure node, wherein the structure node represents control flow of data among one or more of the plurality of nodes;
generating a hardware description based on the graphical program, wherein the hardware description describes a hardware implementation of the graphical program, wherein said generating includes generating the hardware description based on the structure node;
configuring a programmable hardware element utilizing the hardware description to produce a configured hardware element, wherein the configured hardware element implements a hardware implementation of the graphical program.

### Claim 2 (depends on 1)

The method of claim 1,
wherein the structure node indicates one of iteration, looping or conditional branching for the one or more of the plurality of nodes in the graphical program.

### Claim 3 (depends on 1)

The method of claim 1,
wherein the structure node indicates a first portion of the graphical program, wherein the structure node indicates one of iteration, looping or conditional branching for the first portion of the graphical program.

### Claim 4 (depends on 1)

The method of claim 1,
wherein the structure node contains a first portion of the graphical program, wherein the structure node indicates one of iteration, looping or conditional branching for the first portion of the graphical program.

### Claim 5 (depends on 4)

The method of claim 4,
wherein the structure node includes an interior portion, wherein nodes comprised in the interior portion of the structure node execute according to control flow as indicated by the structure node;
wherein the first portion of the graphical program is comprised in the structure node.

### Claim 6 (depends on 1)

The method of claim 1, wherein said generating includes examining one or more structure node parameters associated with the structure node, wherein said generating uses the one or more structure node parameters in generating the hardware description.

### Claim 7 (depends on 6)

The method of claim 6, wherein the structure node is one of an iteration node or a looping node;
wherein the structure node includes at least one of a period parameter and a phase delay parameter, wherein the period parameter indicates a period of execution for cycles of the structure node, and wherein the phase delay parameter indicates a phase delay of cycles of the structure node.

### Claim 8 (depends on 1)

The method of claim 1, wherein the structure node is an iteration node, wherein the iteration node indicates iteration of the one or more of the plurality of nodes in the graphical program for a plurality of times;
wherein the iteration node includes an iteration number which indicates a number of iterations for the first portion of the graphical program
wherein said generating uses the iteration number in generating the hardware description.

### Claim 9 (depends on 1)

The method of claim 1, wherein the structure node is a looping node, wherein the looping node indicates looping of the one or more of the plurality of nodes in the graphical program for a plurality of times;
wherein the looping node includes a loop condition which indicates a number of executions for the first portion of the graphical program
wherein said generating uses the loop condition in generating the hardware description.

### Claim 10 (depends on 1)

The method of claim 1, wherein said generating the hardware description based on the graphical program comprises converting each of said nodes into a hardware description format;
wherein, for said structure node, said converting comprises:
determining inputs and outputs to/from the structure node;
creating a hardware description of a control block which performs the control function indicated by the structure node;
traversing input dependencies of the node;
creating a hardware description of an AND gate, including listing connections of said input dependencies of the node to said AND gate.

### Claim 11 (depends on 1)

The method of claim 1, wherein said generating the hardware description based on the graphical program comprises converting each of said nodes into a hardware description format;
wherein, for said structure node, said converting comprises:
determining inputs and outputs to/from the structure node;
accessing a hardware description of a control block which performs the control function indicated by the structure node from a library of hardware descriptions;
traversing input dependencies of the node;
creating a hardware description of an AND gate, including listing connections of said input dependencies of the node to said AND gate.

### Claim 12 (depends on 1)

The method of claim 1,
wherein the graphical program implements a measurement function;
wherein the programmable hardware element is comprised in a device;
the method further comprising:
the device acquiring a signal from an external source after said configuring; and
the configured hardware element in the device executing to perform the measurement function on the signal.

### Claim 13 (depends on 12)

The method of claim 12,
wherein the graphical program includes a block diagram and one or more panels, wherein the one or more panels operate as a user interface for the graphical program;
the method further comprising:
storing executable code corresponding to the one or more panels in a memory, wherein the executable code is executable to display the one or more panels on a display;
executing the executable code from the memory to present the one or more panels on the display during the configured hardware element in the device executing to perform the measurement function on the signal.

### Claim 14 (depends on 13)

The method of claim 13,
wherein the one or more panels are useable for viewing the signal.

### Claim 15 (depends on 13)

The method of claim 13,
wherein the one or more panels are useable for viewing input to and output from the programmable hardware element.

### Claim 16 (depends on 13)

The method of claim 13,
wherein the one or more panels are useable for manipulating input to and viewing output from the programmable hardware element.

### Claim 17

A system which generates a hardware implementation of graphical code, the system comprising:
a computer system comprising a processor and memory, wherein the memory stores a graphical program, wherein the graphical program includes a plurality of nodes, wherein at least a subset of the plurality of nodes are connected to indicate data flow among the at least a subset of the plurality of nodes, wherein the plurality of nodes includes a structure node, wherein the structure node represents control flow of data among one or more of the plurality of nodes; wherein the memory also stores a software program which is executable to generate a hardware description based on at least a portion of the graphical program, wherein the hardware description describes a hardware implementation of the at least a portion of the graphical program, wherein the hardware description includes a hardware description of the structure node;
a device coupled to the computer system, wherein the device includes a programmable hardware element;
wherein the computer system is operable to configure the programmable hardware element utilizing the hardware description to produce a configured hardware element, wherein the configured hardware element implements a hardware implementation of the at least a portion of the graphical program.

### Claim 18 (depends on 17)

The system of claim 17,
wherein the structure node indicates one of iteration, looping or conditional branching for the one or more of the plurality of nodes in the graphical program.

### Claim 19 (depends on 17)

The system of claim 17,
wherein the structure node indicates a first portion of the graphical program, wherein the structure node indicates one of iteration, looping or conditional branching for the first portion of the graphical program.

### Claim 20 (depends on 17)

The system of claim 17,
wherein the structure node contains a first portion of the graphical program, wherein the structure node indicates one of iteration, looping or conditional branching for the first portion of the graphical program.

### Claim 21 (depends on 20)

The system of claim 20,
wherein the structure node includes an interior portion, wherein nodes comprised in the interior portion of the structure node execute according to control flow as indicated by the structure node;
wherein the first portion of the graphical program is comprised in the structure node.

### Claim 22 (depends on 17)

The system of claim 17, wherein the software program is operable to examine one or more structure node parameters associated with the structure node, wherein the software program uses the one or more structure node parameters in generating the hardware description.

### Claim 23 (depends on 22)

The method of claim 22, wherein the structure node is one of an iteration node or a looping node;
wherein the structure node includes at least one of a period parameter and a phase delay parameter, wherein the period parameter indicates a period of execution for cycles of the structure node, and wherein the phase delay parameter indicates a phase delay of cycles of the structure node.

### Claim 24 (depends on 17)

The system of claim 17, wherein the structure node is an iteration node, wherein the iteration node indicates iteration of the first portion of the graphical program for a plurality of times;
wherein the iteration node includes an iteration number which indicates a number of iterations for the first portion of the graphical program;
wherein the software program uses the iteration number in generating the hardware description.

### Claim 25 (depends on 17)

The system of claim 17, wherein the structure node is a looping node, wherein the looping node indicates looping of the first portion of the graphical program for a plurality of times;
wherein the looping node includes a loop condition which indicates a number of executions for the first portion of the graphical program;
wherein the software program uses the loop condition in generating the hardware description.

### Claim 26 (depends on 17)

The system of claim 17,
wherein the graphical program implements a measurement function;
wherein the device is operable to acquire a signal from an external source after being configured; and
wherein the configured hardware element in the device is operable to execute to perform the measurement function on the signal.

### Claim 27 (depends on 26)

The system of claim 26,
wherein the computer system further includes a display;
wherein the graphical program includes a block diagram and one or more panels, wherein the one or more panels operate as a user interface for the graphical program;
wherein the memory of the computer system stores executable code corresponding to the one or more panels;
wherein the processor is operable to execute the executable code from the memory to present the one or more panels on the display during the configured hardware element in the device executing to perform the measurement function on the signal.

### Claim 28 (depends on 27)

The system of claim 27,
wherein the one or more panels are useable for viewing the signal.

### Claim 29 (depends on 27)

The system of claim 27,
wherein the one or more panels are useable for viewing input to and output from the programmable hardware element.

### Claim 30 (depends on 27)

The system of claim 27,
wherein the one or more panels are useable for manipulating input to and viewing output from the programmable hardware element.

### Claim 31

A. memory medium comprising program instructions for generating a hardware implementation of graphical code, wherein the program instructions are executable to implement:
creating a graphical program, wherein the graphical program includes a plurality of nodes, wherein at least a subset of the plurality of nodes are connected to indicate data flow among the at least a subset of the plurality of nodes, wherein the plurality of nodes includes a structure node, wherein the structure node represents control flow of data among one or more of the plurality of nodes;
generating a hardware description based on the graphical program, wherein the hardware description describes a hardware implementation of the graphical program, wherein said generating includes generating a hardware description based on the structure node;
configuring a programmable hardware element utilizing the hardware description to produce a configured hardware element, wherein the configured hardware element implements a hardware implementation of the graphical program.

### Claim 32 (depends on 31)

The memory medium of claim 31,
wherein the structure node indicates one of iteration, looping or conditional branching for the one or more of the plurality of nodes in the graphical program.

### Claim 33 (depends on 31)

The memory medium of claim 31,
wherein the structure node indicates a first portion of the graphical program, wherein the structure node indicates one of iteration, looping or conditional branching for the first portion of the graphical program.

### Claim 34 (depends on 31)

The memory medium of claim 31,
wherein the structure node contains a first portion of the graphical program, wherein the structure node indicates one of iteration, looping or conditional branching for the first portion of the graphical program.

### Claim 35 (depends on 34)

The memory medium of claim 34,
wherein the structure node includes an interior portion, wherein nodes comprised in the interior portion of the structure node execute according to control flow as indicated by the structure node;
wherein the first portion of the graphical program is comprised in the structure node.

### Claim 36 (depends on 31)

The memory medium of claim 31, wherein said generating includes examining one or more structure node parameters associated with the structure node, wherein said generating uses the one or more structure node parameters in generating the hardware description.

### Claim 37 (depends on 36)

The memory medium of claim 36; wherein the structure node is one of an iteration node or a looping node;
wherein the structure node includes at least one of a period parameter and a phase delay parameter, wherein the period parameter indicates a period of execution for cycles of the structure node, and wherein the phase delay parameter indicates a phase delay of cycles of the structure node.

### Claim 38 (depends on 31)

The memory medium of claim 31, wherein the structure node is an iteration node, wherein the iteration node indicates iteration of the one or more of the plurality of nodes in the graphical program for a plurality of times;
wherein the iteration node includes an iteration number which indicates a number of iterations for the first portion of the graphical program
wherein said generating uses the iteration number in generating the hardware description.

### Claim 39 (depends on 31)

The memory medium of claim 31, wherein the structure node is a looping node, wherein the looping node indicates looping of the one or more of the plurality of nodes in the graphical program for a plurality of times;
wherein the looping node includes a loop condition which indicates a number of executions for the first portion of the graphical program
wherein said generating uses the loop condition in generating the hardware description.

### Claim 40 (depends on 31)

The memory medium of claim 31, wherein said generating the hardware description based on the graphical program comprises converting each of said nodes into a hardware description format;
wherein, for said structure node, said converting comprises:
determining inputs and outputs to/from the structure node;
creating a hardware description of a control block which performs the control function indicated by the structure node;
traversing input dependencies of the node;
creating a hardware description of an AND gate, including listing connections of said input dependencies of the node to said AND gate.

### Claim 41 (depends on 31)

The memory medium of claim 31, wherein said generating the hardware description based on the graphical program comprises converting each of said nodes into a hardware description format;
wherein, for said structure node, said converting comprises:
determining inputs and outputs to/from the structure node;
accessing a hardware description of a control block which performs the control function indicated by the structure node from a library of hardware descriptions;
traversing input dependencies of the node;
creating a hardware description of an AND gate, including listing connections of said input dependencies of the node to said AND gate.

### Claim 42 (depends on 31)

The memory medium of claim 31,
wherein the programmable hardware element is comprised in a device;
wherein the graphical program implements a measurement function for measuring a signal acquired by the device from an external source;
wherein the configured hardware element in the device is executable to perform the measurement function on the signal.

### Claim 43 (depends on 42)

The memory medium of claim 42,
wherein the graphical program includes a block diagram and one or more panels, wherein the one or more panels operate as a user interface for the graphical program;
wherein the program instructions are farther executable to implement:
storing executable code corresponding to the one or more panels in a memory, wherein the executable code is executable to display the one or more panels on a display; and
executing the executable code from the memory to present the one or more panels on the display during the configured hardware element in the device executing to perform the measurement function on the signal.

### Claim 44 (depends on 43)

The memory medium of claim 43,
wherein the one or more panels are useable for viewing the signal.

### Claim 45 (depends on 43)

The memory medium of claim 43,
wherein the one or more panels are useable for viewing input to and output from the programmable hardware element.

### Claim 46 (depends on 43)

The memory medium of claim 43,
wherein the one or more panels are useable for manipulating input to and viewing output from the programmable hardware element.

### Claim 47

A memory medium comprising program instructions for generating a hardware implementation of graphical code, wherein the memory medium stores:
a graphical program, wherein the graphical program includes a plurality of nodes, wherein at least a subset of the plurality of nodes are connected to indicate data flow among the at least a subset of the plurality of nodes, wherein the plurality of nodes includes a structure node, wherein the structure node represents control flow of data among one or more of the plurality of nodes;
a software program for generating a hardware description based on the graphical program, wherein the hardware description describes a hardware implementation of the graphical program, wherein the software program generates the hardware description based on the structure node;
wherein the software program is executable to configure a programmable hardware element utilizing the hardware description to produce a configured hardware element, wherein the configured hardware element implements a hardware implementation of the graphical program.
