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

9.4.  Temporal Decoupling the Or1ksim Wrapper Class

9.4.1. Adding a Function to the Or1ksim Library to Support Temporal Decoupling
9.4.2. Or1ksimDecoupSC Module Class Definition
9.4.3. Or1ksimDecoupSC Module Class Implementation

The only thread that can be decoupled in the current model is the Or1ksim wrapper class, Or1ksimDecoupSC, since it is the only thread with a TLM 2.0 initiator socket.

ISS are natural candidates for temporal decoupling, since they often can run large blocks of code without any need for hardware interaction. This is particularly important for modern compiling ISS (e.g ARM SystemGenerator, ARC xISS), which achieve their performance by executing thousands of instructions at a time.

The changes needed to add temporal decoupling are:

A new class, Or1ksimDecoupSC is derived from Or1ksimSyncSC to implement the required functionality.

Embecosm divider strip