HOME       UP       PREV       FURTHER NOTES       NEXT (Example using an SC_THREAD)  

Threads and Methods

SystemC enables a user module to keep a thread and a stack but prefers, for efficiency reasons if user code runs on its own upcalls in a trampoline style.

Comparing SC_THREADs with trampoline-style methods we can see the basis for two main programming TLM styles to be introduced later: blocking and non blocking.

(C) 2008-10, DJ Greaves, University of Cambridge, Computer Laboratory.