×

System and method for using execution contexts in block diagram modeling

  • US 7,809,545 B2
  • Filed: 04/16/2003
  • Issued: 10/05/2010
  • Est. Priority Date: 04/16/2003
  • Status: Active Grant
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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×