Using the Bus Models

TEMU comes with several transactional bus models bundled. This section will show how you can interface with these bus models from your device models. We will also introduce the concepts of ports and interface arrays in this section.

In general, responses from a bus device over the bus a message was received on should never be sent directly from the receiving function. The sending device and the bus model are still updating their state and need to finish executing the current send path first. Direct responses can otherwise recursively activate the bus model, or recursively activate a controller that starts another transmission before the previous transaction has unwound. Thus, responses should always be posted using events.