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

9.4.2.  Or1ksimDecoupSC Module Class Definition

The new class, Or1ksimDecoupSC is derived from or1ksimSyncSC, whose header it includes. A custom constructor is defined with the same arguments as the base class constructor.

The ISS thread, run and the transport function, doTrans are both reimplemented to add temporal decoupling.

A pointer to the system global quantum, tgq, and a quantum keeper for the ISS thread, issQk are defined.

  tlm::tlm_global_quantum      *tgq;
  tlm_utils::tlm_quantumkeeper  issQk;
	  

The definition of the Or1ksim ISS wrapper module class with decoupled timing, Or1ksimDecoupSC may be found in sys-models/decoup-soc/Or1ksimDecoupSC.h in the distribution.

Embecosm divider strip