systemc-clang 2.0.0
Parsing SystemC constructs
|
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) |
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
bool systemc_hdl::is_numeric | ( | string & | s | ) |
Definition at line 24 of file HDLHnode.cpp.
std::unique_ptr< clang::tooling::FrontendActionFactory > systemc_hdl::newFrontendActionFactory | ( | const std::string & | top_module | ) |
Definition at line 35 of file HDLMain.cpp.