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

6.4.8.  Notifying the Bus Thread of Transaction Activity

A function is needed for the TLM 2.0 callback function, busReadWrite to notify the thread handling data being sent for transmission (busThread). This is achieved with a SystemC event:

  sc_core::sc_event  txReceived;
	  

The callback function notifies on this event, to trigger behavior in the busThread.

Embecosm divider strip