Patent ID: 8855992

Claim:
A non-transitory computer-readable storage medium storing instructions, the instructions comprising: one or more instructions which, when executed by at least one processor, cause the at least one processor to: receive information associated with a block diagram model, the block diagram model including: one or more event-driven blocks operating in an event domain, and one or more time-driven blocks operating in a time domain; group, based on the received information, information associated with the one or more event-driven blocks in a first list; group, based on the received information, 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, and one or more input ports that are connected to the one or more determined output ports; determine, using the determined one or more input ports, if an input port, of the determined one or more input ports, is associated with the grouped information in the second list; set, when the input port is associated with the grouped information in the second list, the input port to an event-driven state; and execute, based on setting the input port to the event-driven state, a time block, of the one or more time-driven blocks, in the event domain, the time block connected to the input port.