HOME       UP       PREV       NEXT (TLM Modelling: Adding Approximate Timing Annotations)  

Timed Transactions: Adding delays to TLM calls.

A TLM call does not interact with the SystemC kernel or advance time.

To study system performance, however, we must model the time taken by the real transaction over the bus or network-on chip (NoC).

We continue to use SystemC EDS kernel with its tnow variable defined by the head of the event queue.

Desire to only entering EDS kernel when inter-thread communication is needed.

We want to minimise context SystemC thread context switches for good performance.

Note: In SystemC, we can always print the kernel tnow with:

  cout << ``Time now is : `` << simcontext()->time_stamp() << `` \n'';

21: (C) 2008-13, DJ Greaves, University of Cambridge, Computer Laboratory.