Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

9.5.  Modifying the UART to Support Temporal Decoupling

9.5.1. uartDecoupSC Module Class Definition
9.5.2. uartDecoupSC Module Class Implementation

Although the threads in the UART class are not temporarily decoupled, a small modification is needed. The callback for the target socket is part of this class, and it must handle delay data for the initiator in Or1ksimDecoupSC suitably.

A new class, UartDecoupSC, derived from UartSyncSC is defined to provide a modified TLM 2.0 convenience target socket blocking callback function.

Embecosm divider strip