hwt/synthesizer/interface.py
def _loadDeclarations(self):
        """
        load declaratoins from _declr method
        This function is called first for parent and then for children
        """
        if not hasattr(self, "_interfaces"):
            self._interfaces = []
        self._setAttrListener = self._declrCollector
        self._declr()
        self._setAttrListener = None

        for i in self._interfaces:
            i._isExtern = self._isExtern
            i._loadDeclarations()

        for p in self._params:
            p.setReadOnly()
        
        if self._isExtern:
            # direction from inside of unit (reverset compared to outside direction)
            if self._direction == INTF_DIRECTION.UNKNOWN:
                self._direction = INTF_DIRECTION.MASTER
            self._setDirectionsLikeIn(self._direction)
def _loadDeclarations(self):
        if not hasattr(self, "_interfaces"):
            self._interfaces = []
        self._setAttrListener = self._declrCollector
        self._declr()
        self._setAttrListener = None

        for i in self._interfaces:
            i._isExtern = self._isExtern
            i._loadDeclarations()

        for p in self._params:
            p.setReadOnly()
        
        if self._isExtern:
            # direction from inside of unit (reverset compared to outside direction)
            if self._direction == INTF_DIRECTION.UNKNOWN:
                self._direction = INTF_DIRECTION.MASTER
            self._setDirectionsLikeIn(self._direction)
def _loadDeclarations ( self ) : if not hasattr ( self , "_interfaces" ) : self . _interfaces = [ ] self . _setAttrListener = self . _declrCollector self . _declr ( ) self . _setAttrListener = None for i in self . _interfaces : i . _isExtern = self . _isExtern i . _loadDeclarations ( ) for p in self . _params : p . setReadOnly ( ) if self . _isExtern : # direction from inside of unit (reverset compared to outside direction) if self . _direction == INTF_DIRECTION . UNKNOWN : self . _direction = INTF_DIRECTION . MASTER self . _setDirectionsLikeIn ( self . _direction )
load declaratoins from _declr method
        This function is called first for parent and then for children
load declaratoins from _declr method This function is called first for parent and then for children