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

Public Member Functions

 __init__ (self, ports)
 
 hmodule (self, tree)
 
 forinit (self, tree)
 
 hvarref (self, tree)
 
 forstmt (self, tree)
 
 stmt (self, tree)
 
 stmts (self, tree)
 
 hmodinitblock (self, tree)
 
 moduleinst (self, tree)
 
 modulearrayinst (self, tree)
 
 get_module_name_in_portbinding (self, tree)
 
 get_port_name_in_portbinding (self, tree)
 
 portbinding (self, tree)
 
- Public Member Functions inherited from parselib.transforms.top_down.TopDown
 __default__ (self, t)
 

Public Attributes

 ctx = ContextManager()
 
 ports = ports
 

Detailed Description

This pass collects portbinding nodes and transform them into a portbindinglist node.
We have this pass because portbindings are scattered in hModinitblock
These blocks cannot be directly translated to verilog uniformly

Definition at line 15 of file portbinding_recollect.py.

Constructor & Destructor Documentation

◆ __init__()

parselib.transforms.portbinding_recollect.PortbindingRecollect.__init__ ( self,
ports )

Reimplemented from parselib.transforms.top_down.TopDown.

Definition at line 21 of file portbinding_recollect.py.

Member Function Documentation

◆ forinit()

parselib.transforms.portbinding_recollect.PortbindingRecollect.forinit ( self,
tree )

Definition at line 33 of file portbinding_recollect.py.

◆ forstmt()

parselib.transforms.portbinding_recollect.PortbindingRecollect.forstmt ( self,
tree )

Definition at line 43 of file portbinding_recollect.py.

◆ get_module_name_in_portbinding()

parselib.transforms.portbinding_recollect.PortbindingRecollect.get_module_name_in_portbinding ( self,
tree )

Definition at line 127 of file portbinding_recollect.py.

◆ get_port_name_in_portbinding()

parselib.transforms.portbinding_recollect.PortbindingRecollect.get_port_name_in_portbinding ( self,
tree )

Definition at line 135 of file portbinding_recollect.py.

◆ hmodinitblock()

parselib.transforms.portbinding_recollect.PortbindingRecollect.hmodinitblock ( self,
tree )

Definition at line 87 of file portbinding_recollect.py.

◆ hmodule()

parselib.transforms.portbinding_recollect.PortbindingRecollect.hmodule ( self,
tree )

Definition at line 28 of file portbinding_recollect.py.

◆ hvarref()

parselib.transforms.portbinding_recollect.PortbindingRecollect.hvarref ( self,
tree )

Definition at line 38 of file portbinding_recollect.py.

◆ modulearrayinst()

parselib.transforms.portbinding_recollect.PortbindingRecollect.modulearrayinst ( self,
tree )

Definition at line 118 of file portbinding_recollect.py.

◆ moduleinst()

parselib.transforms.portbinding_recollect.PortbindingRecollect.moduleinst ( self,
tree )

Definition at line 111 of file portbinding_recollect.py.

◆ portbinding()

parselib.transforms.portbinding_recollect.PortbindingRecollect.portbinding ( self,
tree )

Definition at line 150 of file portbinding_recollect.py.

◆ stmt()

parselib.transforms.portbinding_recollect.PortbindingRecollect.stmt ( self,
tree )

Definition at line 66 of file portbinding_recollect.py.

◆ stmts()

parselib.transforms.portbinding_recollect.PortbindingRecollect.stmts ( self,
tree )

Definition at line 81 of file portbinding_recollect.py.

Member Data Documentation

◆ ctx

parselib.transforms.portbinding_recollect.PortbindingRecollect.ctx = ContextManager()

Definition at line 24 of file portbinding_recollect.py.

◆ ports

parselib.transforms.portbinding_recollect.PortbindingRecollect.ports = ports

Definition at line 25 of file portbinding_recollect.py.


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