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.
25: (C) 2012-17, DJ Greaves, University of Cambridge, Computer Laboratory. | ![]() |