systemc-clang 2.0.0
Parsing SystemC constructs
|
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 |
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.
parselib.transforms.structure_collector.StructureCollector.__init__ | ( | self | ) |
Reimplemented from parselib.transforms.top_down.TopDown.
Definition at line 17 of file structure_collector.py.
parselib.transforms.structure_collector.StructureCollector.hmodule | ( | self, | |
tree ) |
Definition at line 34 of file structure_collector.py.
parselib.transforms.structure_collector.StructureCollector.moddecl | ( | self, | |
tree ) |
Definition at line 22 of file structure_collector.py.
parselib.transforms.structure_collector.StructureCollector.start | ( | self, | |
tree ) |
Definition at line 30 of file structure_collector.py.
dict parselib.transforms.structure_collector.StructureCollector.current = self.hier |
Definition at line 20 of file structure_collector.py.
dict parselib.transforms.structure_collector.StructureCollector.hier = {} |
Definition at line 19 of file structure_collector.py.