IP Library Granted Patent US 10,019,339
Granted Patent B2
US 10,019,339 · App. 14/973,981 · Granted Jul 10, 2018

Sequentially constructive model of computation

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,019,339
App. No.
14/973,981
Granted
Jul 10, 2018
Kind
B2
Abstract

System and method for validating a program under a specified model of computation. The model of computation may be related to the synchronous statechart model of computation. A program may be received that specifies a plurality of operations using a variable within a logical tick such that the variable has multiple values within the logical tick. The program may be statically analyzed according to a specified model of computation that specifies program execution based on logical ticks, which may include determining that the program has deterministic semantics that specify deterministic results for each logical tick during execution of the program, including specifying deterministic results of the plurality of operations performed within the logical tick. The program may be validated in accordance with the specified model of computation in response to the determining. Such techniques may allow validation of a larger set of programs than conventional models while maintaining deterministic results.

Claims (42)

1. A computer-implemented method, comprising:

utilizing a computing system to perform:

receiving a program, wherein the program specifies a plurality of operations using a variable within a logical tick such that the variable has multiple values within the logical tick, wherein said having multiple values comprises transitioning from an initial value to a second value within the logical tick, wherein all computations within the logical tick are interpreted as being instantaneous, and wherein logical ticks specify the resolution of functional synchronization for execution of the program;

statically analyzing the program according to a specified model of computation that specifies synchronous program execution based on logical ticks, wherein said statically analyzing the program includes:

determining that the program has deterministic semantics, wherein the deterministic semantics specify deterministic results for each logical tick during execution of the program, including specifying deterministic results of the plurality of operations performed within the logical tick, wherein the deterministic results comprise a final result of the variable within the logical tick and observable side effects of the multiple values of the variable during the logical tick; and

validating the program in accordance with the specified model of computation in response to said determining; and

using a compiler or interpreter, transforming the program to produce deterministically executable output code and executing the deterministically executable output code.

2. The method of claim 1 , wherein at least a portion of the plurality of operations are concurrent with respect to each other and wherein at least a portion of the plurality of operations are sequential with respect to each other.

3. The method of claim 1 , wherein the deterministic semantics is based on, within a given logical tick:

scheduling operations that are concurrent with each other such that assignments to the variable are performed before reads of the variable; and

scheduling assignment operations to a variable that are concurrent with each other such that a first assignment operation is scheduled before one or more other assignment operations, wherein the order of the one or more other assignment operations does not influence the final result of the variable for the logical tick.

4. The method of claim 1 , wherein said determining that the program has deterministic semantics is based on sequencing information specified by the program for at least a portion of the plurality of operations.

5. The method of claim 4 , wherein the program explicitly specifies the sequencing information.

6. The method of claim 4 , wherein the at least a portion of the plurality of operations do not specify the deterministic result without the sequencing information.

7. The method of claim 1 , wherein the plurality of operations include a read of the variable before an absolute assignment to the variable.

8. A non-transitory computer-readable storage medium having instructions stored thereon that are executable by a computing device to perform operations comprising:

receiving a program, wherein the program specifies a plurality of operations using a variable within a logical tick such that the variable has multiple values within the logical tick, wherein said having multiple values comprises transitioning from an initial value to a second value within the logical tick, wherein all computations within the logical tick are interpreted as being instantaneous, and wherein logical ticks specify the resolution of functional synchronization for execution of the program;

statically analyzing the program according to a specified model of computation that specifies synchronous program execution based on logical ticks, wherein said statically analyzing the program includes:

determining that the program has deterministic semantics, wherein the deterministic semantics specify deterministic results for each logical tick during execution of the program, including specifying deterministic results of the plurality of operations performed within the logical tick, wherein the deterministic results comprise a final result of the variable within the logical tick and observable side effects of the multiple values of the variable during the logical tick; and

validating the program in accordance with the specified model of computation in response to said determining; and

using a compiler or interpreter, transforming the program to produce deterministically executable output code and executing the deterministically executable output code.

9. The non-transitory computer-readable storage medium of claim 8 , wherein at least a portion of the plurality of operations are concurrent with respect to each other and wherein at least a portion of the plurality of operations are sequential with respect to each other.

10. The non-transitory computer-readable storage medium of claim 8 , wherein the deterministic semantics is based on, within a given logical tick:

scheduling operations that are sequential with respect to each other as specified by the program according to a specified sequence; and

scheduling assignment operations to a variable that are concurrent with each other such that a first assignment operation is scheduled before one or more other assignment operations, wherein the order of the one or more other assignment operations does not influence the final result of the variable for the logical tick.

11. The non-transitory computer-readable storage medium of claim 8 , wherein said determining that the program has deterministic semantics is based on sequencing information specified by the program for at least a portion of the plurality of operations.

12. The non-transitory computer-readable storage medium of claim 11 , wherein the at least a portion of the plurality of operations do not specify the deterministic result without the sequencing information.

13. The non-transitory computer-readable storage medium of claim 8 , wherein the plurality of operations include a read of the variable before an absolute assignment to the variable.

14. A computer system comprising:

one or more processors; and

memory storing program instructions, wherein the program instructions are executable by one or more processors to cause the computer system to perform operations including:

receiving a program, wherein the program specifies a plurality of operations using a variable within a logical tick such that the variable has multiple values within the logical tick wherein said having multiple values comprises transitioning from an initial value to a second value within the logical tick, wherein all computations within the logical tick are interpreted as being instantaneous, and wherein logical ticks specify the resolution of functional synchronization for execution of the program;

statically analyzing the program according to a specified model of computation that specifies synchronous program execution based on logical ticks, wherein said statically analyzing the program includes:

determining that the program has deterministic semantics, wherein the deterministic semantics specify deterministic results for each logical tick during execution of the program, including specifying deterministic results of the plurality of operations performed within the logical tick, wherein the deterministic results comprise a final result of the variable within the logical tick and observable side effects of the multiple values of the variable during the logical tick; and

validating the program in accordance with the specified model of computation in response to said determining; and

using a compiler or interpreter, transforming the program to produce deterministically executable output code and executing the deterministically executable output code.

15. The computer system of claim 14 , wherein at least a portion of the plurality of operations are concurrent with respect to each other and wherein at least a portion of the plurality of operations are sequential with respect to each other.

16. The computer system of claim 14 , wherein the deterministic semantics is based on, within a given logical tick:

scheduling operations that are sequential with respect to each other as specified by the program according to a specified sequence; and

scheduling operations that are concurrent with each other such that assignments to the variable are performed before reads of the variable.

17. The computer system of claim 14 ,

wherein said determining that the program has deterministic semantics is based on the program specifying sequencing information for at least a portion of the plurality of operations.

Assignments (5)
RELEASE OF SECURITY INTEREST IN PATENTS (REEL/FRAME 057280/0028) Recorded Oct 13, 2023
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS ADMINISTRATIVE AGENT
To: NATIONAL INSTRUMENTS CORPORATION
Reel/Frame 065231/0466 →
RELEASE OF SECURITY INTEREST IN PATENTS (REEL/FRAME 052935/0001) Recorded Oct 13, 2023
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS ADMINISTRATIVE AGENT
To: NATIONAL INSTRUMENTS CORPORATION; PHASE MATRIX, INC.
Reel/Frame 065653/0463 →
SECURITY INTEREST Recorded Jun 18, 2021
From: NATIONAL INSTRUMENTS CORPORATION
To: WELLS FARGO BANK, NATIONAL ASSOCIATION
Reel/Frame 057280/0028 →
SECURITY INTEREST Recorded Jun 14, 2020
From: NATIONAL INSTRUMENTS CORPORATION; PHASE MATRIX, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION
Reel/Frame 052935/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 18, 2015
From: VON HANXLEDEN, REINHARD; MENDLER, MICHAEL; MERCER, STEPHEN R.; O'BRIEN, OWEN B.
To: NATIONAL INSTRUMENTS CORPORATION
Reel/Frame 037324/0834 →
Cited By (18)
US 12,190,330 US 12,204,564 US 12,216,794 US 12,259,882 US 12,265,896 US 12,277,232 US 12,288,233 US 12,299,065 US 12,353,405 US 12,381,915 US 12,412,140 US 12,536,329 US 12,591,828 US 12,609,938 US 12,641,108 US 12,688,324 US 12,694,044 US 12,718,167