Inferno  0.2
Steps::ThreadToMethod Class Reference

#include <to_sc_method.hpp>

Inheritance diagram for Steps::ThreadToMethod:
[legend]
Collaboration diagram for Steps::ThreadToMethod:
[legend]

List of all members.

Public Member Functions

 ThreadToMethod ()

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 135 of file to_sc_method.cpp.


The documentation for this class was generated from the following files: