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

Chapter 4.  Wrapping the ISS

4.1. Modifying the Or1ksim ISS for TLM 2.0
4.1.1. Converting Or1ksim to a Library
4.1.2. Additional Functionality for Or1ksim
4.2. Or1ksim Wrapper Module Class Definition
4.2.1. Included Headers
4.2.2. Module Declaration
4.2.3. Constructor and Destructor
4.2.4. Public Interface
4.2.5. Threads
4.2.6. Upcalls
4.3. Or1ksim Wrapper Module Class Implementation
4.3.1. Headers and Macros
4.3.2. Constructor
4.3.3. Thread
4.3.4. Upcalls
4.3.5. Blocking Transport

The conversion of an existing ISS to a SystemC module with TLM 2.0 sockets involves several steps.

The code for the Or1ksim wrapper module (Or1ksimSC.cpp and Or1ksimSC.h) may be found in the sysc-models/logger directory of the distribution.

Embecosm divider strip