Inferno
0.2
|
#include <to_sc_method.hpp>
Public Member Functions | |
ThreadToMethod () |
Convertsion from Thread to Method. We require that there are no local variables in the Thread, and that at it's top level it contains a do { ... } while(true) loop. We simply lose the loop, rename the Thread to Module, and rename all WaitX to NextTriggerX. I think it's also required that every iteration of superloop calls Wait exactly once.
Definition at line 37 of file to_sc_method.hpp.
Definition at line 135 of file to_sc_method.cpp.