systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc_hdl Namespace Reference

Classes

class  HDLAXN
 
class  HDLBody
 
class  HDLConstructorHcode
 
class  HDLFrontendActionFactory
 
class  HDLMain
 
class  HDLPluginAction
 
class  HDLThread
 
class  StmtVisitor
 

Enumerations

enum  HDLBodyMode {
  rnomode , rmethod , rmodinit , rthread ,
  ruserdefclass
}
 

Functions

bool is_numeric (string &s)
 
std::unique_ptr< clang::tooling::FrontendActionFactory > newFrontendActionFactory (const std::string &top_module)
 

Detailed Description

Entry point for SC_METHOD body generation

Starting with outer compount statement, generate hcode for each statement, recursively traversing expressions

Re-write hcode generated from CXXConstructorDecl for an SC_MODULE: Pass variable initialization statements through Unroll for loops enclosing port bindings and generate unrolled port bindings Discard instantiations of SC_METHOD and similar decls

Enumeration Type Documentation

◆ HDLBodyMode

Enumerator
rnomode 
rmethod 
rmodinit 
rthread 
ruserdefclass 

Definition at line 32 of file HDLBody.h.

Function Documentation

◆ is_numeric()

bool systemc_hdl::is_numeric ( string & s)

Definition at line 24 of file HDLHnode.cpp.

◆ newFrontendActionFactory()

std::unique_ptr< clang::tooling::FrontendActionFactory > systemc_hdl::newFrontendActionFactory ( const std::string & top_module)

Definition at line 35 of file HDLMain.cpp.