System, method, and computer program product for applying a callback function to data values
First Claim
Patent Images
1. A method, comprising:
- identifying, by a processor, a callback function and a plurality of data values corresponding to signals of a hardware design;
providing the plurality of data values and the callback function to a compute construct, wherein the compute construct is configured to check that an unconnected data flow is indicated as a deferred data flow and comprises a first parameter configured to perform control of data flow through the hardware design by automatically stalling an input data flow within the compute construct; and
executing, by the processor, the compute construct to recursively apply the callback function to the plurality of data values in order to determine a result.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method, and computer program product are provided for applying a callback function to data values. In use, a plurality of data values and a callback function are identified. Additionally, the callback function is recursively applied to the plurality of data values in order to determine a result. Further, the result is returned.
-
Citations
19 Claims
-
1. A method, comprising:
-
identifying, by a processor, a callback function and a plurality of data values corresponding to signals of a hardware design; providing the plurality of data values and the callback function to a compute construct, wherein the compute construct is configured to check that an unconnected data flow is indicated as a deferred data flow and comprises a first parameter configured to perform control of data flow through the hardware design by automatically stalling an input data flow within the compute construct; and executing, by the processor, the compute construct to recursively apply the callback function to the plurality of data values in order to determine a result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product embodied on a non-transitory computer readable medium, comprising:
-
code for identifying a callback function and a plurality of data values corresponding to signals of a hardware design; code for providing the plurality of data values and the callback function to a compute construct, wherein the compute construct is configured to check that an unconnected data flow is indicated as a deferred data flow and comprises a first parameter configured to perform control of data flow through the hardware design by automatically stalling an input data flow within the compute construct; and code for recursively applying the callback function to the plurality of data values in order to determine a result.
-
-
19. A system, comprising:
-
a processor configured to; identify a callback function and a plurality of data values corresponding to signals of a hardware design, provide the plurality of data values and the callback function to a compute construct, wherein the compute construct is configured to check that an unconnected data flow is indicated as a deferred data flow and comprises a first parameter configured to perform control of data flow through the hardware design by automatically stalling an input data flow within the compute construct; and execute the compute construct to recursively apply the callback function to the plurality of data values in order to determine a result.
-
Specification