#include <HDLMain.h>
|
void | SCmodule2hcode (ModuleInstance *mod, hNodep &h_module, llvm::raw_fd_ostream &SCout) |
|
void | GenerateInstanceNames (ModuleInstance *smod, std::vector< std::string > &instnames) |
|
bool | isValidMethod (CXXMethodDecl *method) |
|
void | SCport2hcode (ModuleInstance::portMapType pmap, hNode::hdlopsEnum h_op, hNodep &h_info, hdecl_name_map_t &mod_vname_map) |
|
void | SCsig2hcode (ModuleInstance::signalMapType pmap, hNode::hdlopsEnum h_op, hNodep &h_info, hdecl_name_map_t &mod_vname_map) |
|
void | SCproc2hcode (ModuleInstance::processMapType pm, hNodep &h_top, hNodep &h_port, hdecl_name_map_t &mod_vname_map, overridden_method_map_t &overridden_method_map, resetvar_map_t &threadresetmap) |
|
void | SCportbindings2hcode (ModuleInstance *mod, hNodep &h_pb) |
|
void | MakeResetMap (resetvar_map_t &threadresetmap, hNodep h_allsenslists) |
|
Definition at line 24 of file HDLMain.h.
◆ HDLMain() [1/2]
systemc_hdl::HDLMain::HDLMain |
( |
CompilerInstance & | ci, |
|
|
std::string | topModule = "!none", |
|
|
const std::string & | hdl_file_out = "default_hdl.txt" ) |
|
inline |
Provide hdl_file_out as argument.
Definition at line 28 of file HDLMain.h.
◆ HDLMain() [2/2]
systemc_hdl::HDLMain::HDLMain |
( |
ASTUnit * | from_ast, |
|
|
std::string | topModule = "!none", |
|
|
const std::string & | hdl_file_out = "default_hdl.txt" ) |
|
inline |
◆ GenerateInstanceNames()
void systemc_hdl::HDLMain::GenerateInstanceNames |
( |
ModuleInstance * | smod, |
|
|
std::vector< std::string > & | instnames ) |
|
private |
◆ isValidMethod()
bool systemc_hdl::HDLMain::isValidMethod |
( |
CXXMethodDecl * | method | ) |
|
|
private |
◆ MakeResetMap()
◆ postFire()
bool systemc_hdl::HDLMain::postFire |
( |
| ) |
|
|
virtual |
Entry point for HDL generation
Starting with top level module, process systemc objects Generate hcode for modules and submodules, including their ports and variables, port bindings, sensitivity lists Generate hcode for SC_METHOD body declarations
File name passed from command line argument.
Reimplemented from systemc_clang::SystemCConsumer.
Definition at line 49 of file HDLMain.cpp.
◆ SCmodule2hcode()
void systemc_hdl::HDLMain::SCmodule2hcode |
( |
ModuleInstance * | mod, |
|
|
hNodep & | h_module, |
|
|
llvm::raw_fd_ostream & | SCout ) |
|
private |
map of overridden method decl and overriding method decl warning: only supporting single inheritance
Definition at line 135 of file HDLMain.cpp.
◆ SCport2hcode()
◆ SCportbindings2hcode()
◆ SCproc2hcode()
Get the diagnostic engine.
Definition at line 750 of file HDLMain.cpp.
◆ SCsig2hcode()
◆ allmethodecls
◆ hdl_file_out_
std::string systemc_hdl::HDLMain::hdl_file_out_ |
|
private |
Command line options.
Definition at line 78 of file HDLMain.h.
◆ HDLt
◆ main_diag_engine
clang::DiagnosticsEngine& systemc_hdl::HDLMain::main_diag_engine {getContext().getDiagnostics()} |
|
private |
◆ mod_name_map
◆ module_vars
std::unordered_set<string> systemc_hdl::HDLMain::module_vars |
|
private |
◆ mutil
util systemc_hdl::HDLMain::mutil |
|
private |
◆ threadresetmap
◆ xbodyp
HDLBody* systemc_hdl::HDLMain::xbodyp |
|
private |
The documentation for this class was generated from the following files: