fairuz

Untitled

May 9th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. SC_MODULE(NAME)
  2. {
  3. // Port declaration
  4. // Channel/sub module instances
  5.  
  6. SC_CTOR(NAME) : init var ...
  7. {
  8. // Connectivity
  9. // Registration
  10. }
  11.  
  12. // Process declarations
  13. void p1 method();
  14. void p2_thread();
  15.  
  16. // Helper Declarations
  17. int getValue();
  18.  
  19. };
Advertisement
Add Comment
Please, Sign In to add comment