摘要 |
An apparatus and method are provided for controlling event ordering in a mixed-language simulator that utilizes at least one model written in a source code language and at least one model written in a hardware description language (HDL). All event ordering for performing source code model interface tasks is controlled through the use of HDL constructs. The present invention comprises logic that is configured to generate a list of actions to be performed for each occurrence of a trigger event, and to map the list of actions for each trigger event being mapped into a list of objects. The objects are listed in an order that is consistent with the order in which statements appear in the HDL source. The ordering of the objects in the list controls the order of event processing of all source code model interface tasks.
|