System and method for using execution contexts in block diagram modeling
First Claim
Patent Images
1. A method comprising:
- creating an execution context that is represented as a data structure associated with a first element in a time-based block diagram, the execution context containing information used to control execution of the first element based on a satisfaction of a pre-condition;
specifying that a second element in the time-based block diagram is an inheriting element that inherits the execution context associated with the first element;
propagating, during compilation of the time-based block diagram, the execution context from the first element to the inheriting second element, the propagating associating the execution context associated with the first element with the inheriting second element, the propagating including;
creating a hierarchical data structure for the block diagram that includes a reference to the first element,identifying whether the inheriting second element can inherit the execution context via its input ports and/or output ports, andgrouping a reference to the inheriting second element with the reference to the first element in the hierarchical data structure for the block diagram;
determining an order of execution for the time-based block diagram using the execution context associated with the inheriting element;
executing the first element and the inheriting element according to the order of execution after the satisfaction of the pre-condition.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of controlling the conditional execution of elements and subsystems in a block diagram is disclosed. Data structures known as Execution Contexts are created and associated with individual block diagram elements and subsystems. The Execution Contexts allow execution of the associated element or subsystem upon satisfaction of a specified pre-condition. The Execution Contexts may be inherited by other elements and subsystems in the block diagram and propagated programmatically throughout the block diagram. The use of the Execution Contexts allows for efficient code generation and block diagram execution, as well as supporting modular design concepts.
-
Citations
35 Claims
-
1. A method comprising:
-
creating an execution context that is represented as a data structure associated with a first element in a time-based block diagram, the execution context containing information used to control execution of the first element based on a satisfaction of a pre-condition; specifying that a second element in the time-based block diagram is an inheriting element that inherits the execution context associated with the first element; propagating, during compilation of the time-based block diagram, the execution context from the first element to the inheriting second element, the propagating associating the execution context associated with the first element with the inheriting second element, the propagating including; creating a hierarchical data structure for the block diagram that includes a reference to the first element, identifying whether the inheriting second element can inherit the execution context via its input ports and/or output ports, and grouping a reference to the inheriting second element with the reference to the first element in the hierarchical data structure for the block diagram; determining an order of execution for the time-based block diagram using the execution context associated with the inheriting element; executing the first element and the inheriting element according to the order of execution after the satisfaction of the pre-condition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 30, 31)
-
-
15. A system comprising:
-
means for creating an execution context that is represented as a data structure associated with a first element in a time-based block diagram, the execution context containing information used to control execution of the first element based on the satisfaction of a pre-condition; means for specifying that a second element in the time-based block diagram is an inheriting element that inherits the execution context associated with the first element; means for propagating, during compilation of the time-based block diagram, the execution context from the first element to the inheriting second element, the propagating associating the execution context associated with the first element with the inheriting second element, the propagating including; creating a hierarchical data structure for the block diagram that includes a reference to the first element, identifying whether the inheriting second element can inherit the execution context via its input ports and/or output ports, and grouping a reference to the inheriting second element with the reference to the first element in the hierarchical data structure for the block diagram; means for determining an order of execution for the time-based block diagram using the execution context associated with the inheriting element; means for executing the first element and the inheriting element according to the order of execution after the satisfaction of the pre-condition. - View Dependent Claims (34, 35)
-
-
16. A physical medium for use with a computing device, the medium holding computer-executable instructions for propagating execution context information, the medium comprising one or more instructions that when executed cause the computing device to:
-
create an execution context that is represented as a data structure associated with a first element in a time-based block diagram, the execution context containing information used to control execution of the first element based on a satisfaction of a pre-condition; specify that a second element in the time based block diagram is an inheriting element that inherits the execution context associated with the first element; propagate, during compilation of the time-based block diagram, the execution context from the first element to the inheriting second element, the propagating associating the execution context associated with the first element with the inheriting second element, the propagation including; creating a hierarchical data structure for the block diagram that includes a reference to the first element, identifying whether the inheriting second element can inherit the execution context via its input ports and/or output ports, and grouping a reference to the inheriting second element with the reference to the first element in the hierarchical data structure for the block diagram; determine an order of execution for the time-based block diagram using the execution context associated with the inheriting element; and execute the first element and the inheriting element according to the order of execution after the satisfaction of the pre-condition. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32, 33)
-
Specification