systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
parselib.transforms.structure_collector.StructureCollector Class Reference
Inheritance diagram for parselib.transforms.structure_collector.StructureCollector:
Collaboration diagram for parselib.transforms.structure_collector.StructureCollector:

Public Member Functions

 __init__ (self)
 
 moddecl (self, tree)
 
 start (self, tree)
 
 hmodule (self, tree)
 
- Public Member Functions inherited from parselib.transforms.top_down.TopDown
 __default__ (self, t)
 

Public Attributes

dict hier = {}
 
dict current = self.hier
 

Detailed Description

Collect structural information, such as:
module_name: list of port name

We could leverage this to facilitate generation of assign of ports

Definition at line 11 of file structure_collector.py.

Constructor & Destructor Documentation

◆ __init__()

parselib.transforms.structure_collector.StructureCollector.__init__ ( self)

Reimplemented from parselib.transforms.top_down.TopDown.

Definition at line 17 of file structure_collector.py.

Member Function Documentation

◆ hmodule()

parselib.transforms.structure_collector.StructureCollector.hmodule ( self,
tree )

Definition at line 34 of file structure_collector.py.

◆ moddecl()

parselib.transforms.structure_collector.StructureCollector.moddecl ( self,
tree )

Definition at line 22 of file structure_collector.py.

◆ start()

parselib.transforms.structure_collector.StructureCollector.start ( self,
tree )

Definition at line 30 of file structure_collector.py.

Member Data Documentation

◆ current

dict parselib.transforms.structure_collector.StructureCollector.current = self.hier

Definition at line 20 of file structure_collector.py.

◆ hier

dict parselib.transforms.structure_collector.StructureCollector.hier = {}

Definition at line 19 of file structure_collector.py.


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