sc-during home page : http://www-verimag.imag.fr/~moy/?sc-during-Parallel-Programming-on
The sc-during library targets loosely timed systems, for which most other SystemC parallelization approaches are ineffective. It runs on top of any (unmodified) SystemC implementation.
Installation instructions are available in the INSTALL file of the source distribution.
The testsuite also serves as a set of examples. Start, for example, with the file simple.cpp. An example of call to the during library is::
SC_MODULE(A), sc_during { void compute() { // ... during(10, SC_NS, boost::bind(&A::f, this)); // ... } // ... }
The boost::bind is a way to create a function from a pointer to method and a pointer to module. This function will be executed during 10 nanoseconds of simulated time.
The primitives usable from within a during task are described in the sc_during_if interface.
The build infrastructure generated several binaries for this source program: