systemc-clang 2.0.0
Parsing SystemC constructs
|
Public Member Functions | |
__init__ (self) | |
hmodule (self, tree) | |
hprocess (self, tree) | |
hmodinitblock (self, tree) | |
vardecl (self, tree) | |
forstmt (self, tree) | |
stmt (self, tree) | |
hnamedsensvar (self, tree) | |
Public Member Functions inherited from parselib.transforms.top_down.TopDown | |
__default__ (self, t) | |
Public Attributes | |
bool | is_in_initblock = False |
bool | is_for_stmt = False |
bool | only_sensevar = False |
current_for_stmt = None | |
current_module = None | |
list | initblock_vardecls = [] |
dict | sensevar_dict = {}: return |
processes = dict() | |
bool | current_for_stmt = self.is_in_initblock and self.is_for_stmt |
Private Member Functions | |
__decl_referred_in_sensvar (self, sensvar, vardecl) | |
__create_sensevar_generate_block (self, tree) | |
This pass moves sensevar declaration within a for loop to the top of the module, and generate a generate block for each sensevar
Definition at line 9 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.__init__ | ( | self | ) |
Reimplemented from parselib.transforms.top_down.TopDown.
Definition at line 12 of file sensevar_movement.py.
|
private |
Definition at line 28 of file sensevar_movement.py.
|
private |
Definition at line 21 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.forstmt | ( | self, | |
tree ) |
Definition at line 87 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.hmodinitblock | ( | self, | |
tree ) |
Definition at line 71 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.hmodule | ( | self, | |
tree ) |
Definition at line 51 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.hnamedsensvar | ( | self, | |
tree ) |
Definition at line 125 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.hprocess | ( | self, | |
tree ) |
Definition at line 66 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.stmt | ( | self, | |
tree ) |
Definition at line 108 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.vardecl | ( | self, | |
tree ) |
Definition at line 78 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.current_for_stmt = None |
Definition at line 17 of file sensevar_movement.py.
bool parselib.transforms.sensevar_movement.SensevarMovement.current_for_stmt = self.is_in_initblock and self.is_for_stmt |
Definition at line 90 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.current_module = None |
Definition at line 18 of file sensevar_movement.py.
list parselib.transforms.sensevar_movement.SensevarMovement.initblock_vardecls = [] |
Definition at line 19 of file sensevar_movement.py.
bool parselib.transforms.sensevar_movement.SensevarMovement.is_for_stmt = False |
Definition at line 15 of file sensevar_movement.py.
bool parselib.transforms.sensevar_movement.SensevarMovement.is_in_initblock = False |
Definition at line 14 of file sensevar_movement.py.
bool parselib.transforms.sensevar_movement.SensevarMovement.only_sensevar = False |
Definition at line 16 of file sensevar_movement.py.
parselib.transforms.sensevar_movement.SensevarMovement.processes = dict() |
Definition at line 55 of file sensevar_movement.py.
dict parselib.transforms.sensevar_movement.SensevarMovement.sensevar_dict = {}: return |
Definition at line 30 of file sensevar_movement.py.