systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc_clang::FindNetlist Class Reference

#include <FindNetlist.h>

Inheritance diagram for systemc_clang::FindNetlist:
Collaboration diagram for systemc_clang::FindNetlist:

Public Types

typedef pair< string, string > instanceModulePairType
 
typedef map< string, string > instanceModuleMapType
 
typedef pair< string, string > portSignalPairType
 
typedef map< string, string > portSignalMapType
 
typedef pair< string, portSignalMapTypeinstancePortSignalPairType
 
typedef map< string, portSignalMapTypeinstancePortSignalMapType
 
typedef pair< string, vector< string > > instanceListModulePairType
 
typedef map< string, vector< string > > instanceListModuleMapType
 

Public Member Functions

 FindNetlist (FunctionDecl *)
 
 FindNetlist (const FindNetlist &)
 
virtual ~FindNetlist ()
 
virtual bool VisitCXXOperatorCallExpr (CXXOperatorCallExpr *ce)
 
void updateInstanceListModuleMap (const std::string &, const std::string &)
 
const instanceModuleMapTypegetInstanceModuleMap ()
 
const instancePortSignalMapTypegetInstancePortSignalMap ()
 
const instanceListModuleMapTypegetInstanceListModuleMap ()
 
const portSignalMapTypegetPortSignalMap ()
 
int getNumInstances (std::string)
 
void dump ()
 

Private Attributes

int _pass
 
instanceModuleMapType inst_module_map_
 
portSignalMapType port_signal_map_
 
instancePortSignalMapType inst_port_signal_map_
 
instanceListModuleMapType inst_list_module_map_
 

Detailed Description

Definition at line 13 of file FindNetlist.h.

Member Typedef Documentation

◆ instanceListModuleMapType

Definition at line 34 of file FindNetlist.h.

◆ instanceListModulePairType

Definition at line 33 of file FindNetlist.h.

◆ instanceModuleMapType

Definition at line 25 of file FindNetlist.h.

◆ instanceModulePairType

Definition at line 24 of file FindNetlist.h.

◆ instancePortSignalMapType

◆ instancePortSignalPairType

◆ portSignalMapType

Definition at line 28 of file FindNetlist.h.

◆ portSignalPairType

Definition at line 27 of file FindNetlist.h.

Constructor & Destructor Documentation

◆ FindNetlist() [1/2]

FindNetlist::FindNetlist ( FunctionDecl * fdecl)

Definition at line 4 of file FindNetlist.cpp.

◆ FindNetlist() [2/2]

FindNetlist::FindNetlist ( const FindNetlist & from)

Definition at line 15 of file FindNetlist.cpp.

◆ ~FindNetlist()

FindNetlist::~FindNetlist ( )
virtual

Definition at line 9 of file FindNetlist.cpp.

Member Function Documentation

◆ dump()

void FindNetlist::dump ( )

Definition at line 124 of file FindNetlist.cpp.

◆ getInstanceListModuleMap()

const FindNetlist::instanceListModuleMapType & FindNetlist::getInstanceListModuleMap ( )

Definition at line 111 of file FindNetlist.cpp.

◆ getInstanceModuleMap()

const FindNetlist::instanceModuleMapType & FindNetlist::getInstanceModuleMap ( )

Definition at line 115 of file FindNetlist.cpp.

◆ getInstancePortSignalMap()

const FindNetlist::instancePortSignalMapType & FindNetlist::getInstancePortSignalMap ( )

Definition at line 120 of file FindNetlist.cpp.

◆ getNumInstances()

int FindNetlist::getNumInstances ( std::string )

Definition at line 93 of file FindNetlist.cpp.

◆ getPortSignalMap()

const FindNetlist::portSignalMapType & FindNetlist::getPortSignalMap ( )

Definition at line 106 of file FindNetlist.cpp.

◆ updateInstanceListModuleMap()

void FindNetlist::updateInstanceListModuleMap ( const std::string & instanceName,
const std::string & moduleName )

Definition at line 23 of file FindNetlist.cpp.

◆ VisitCXXOperatorCallExpr()

bool FindNetlist::VisitCXXOperatorCallExpr ( CXXOperatorCallExpr * ce)
virtual

Definition at line 41 of file FindNetlist.cpp.

Member Data Documentation

◆ _pass

int systemc_clang::FindNetlist::_pass
private

Definition at line 49 of file FindNetlist.h.

◆ inst_list_module_map_

instanceListModuleMapType systemc_clang::FindNetlist::inst_list_module_map_
private

Definition at line 53 of file FindNetlist.h.

◆ inst_module_map_

instanceModuleMapType systemc_clang::FindNetlist::inst_module_map_
private

Definition at line 50 of file FindNetlist.h.

◆ inst_port_signal_map_

instancePortSignalMapType systemc_clang::FindNetlist::inst_port_signal_map_
private

Definition at line 52 of file FindNetlist.h.

◆ port_signal_map_

portSignalMapType systemc_clang::FindNetlist::port_signal_map_
private

Definition at line 51 of file FindNetlist.h.


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