主权项 |
1. A non-transitory computer-readable storage medium storing instructions, the instructions including:
one or more instructions which, when executed by at least one processor, cause the at least one processor to: receive first information associated with a block diagram model, the block diagram model including:
one or more event-driven blocks executable in an event domain, andone or more time-driven blocks executable in a time domain; receive second information associated with the one or more event-driven blocks in a first list; receive third information associated with the one or more time-driven blocks in a second list,
the second list being different than the first list; analyze, from the first list, information associated with an event-driven block, of the one or more event-driven blocks, to determine:
one or more output ports of the event-driven block, andone or more input ports that are connected to the one or more determined output ports; determine if an input port, of the determined one or more input ports, is associated with information in the second list; set, when the input port is associated with the information in the second list, the input port to an event-driven state; and cause, based on setting the input port to the event-driven state, a time-driven block, of the one or more time-driven blocks, to be executed in the event domain,
the time-driven block connected to the input port. |