hwt/serializer/ip_packager.py
def getTypeWidth(self, dtype: HdlType, do_eval=False) -> Tuple[int, Union[int, RtlSignal], bool]:
        """
        :see: doc of method on parent class
        """
        width = dtype.width
        if isinstance(width, int):
            widthStr = str(width)
        else:
            widthStr = self.getExprVal(width, do_eval=do_eval)

        return width, widthStr, False
def getTypeWidth(self, dtype: HdlType, do_eval=False) -> Tuple[int, Union[int, RtlSignal], bool]:
        """
        :see: doc of method on parent class
        """
        width = dtype.width
        if isinstance(width, int):
            widthStr = str(width)
        else:
            widthStr = self.getExprVal(width, do_eval=do_eval)

        return width, widthStr, False
def getTypeWidth ( self , dtype : HdlType , do_eval = False ) -> Tuple [ int , Union [ int , RtlSignal ] , bool ] : width = dtype . width if isinstance ( width , int ) : widthStr = str ( width ) else : widthStr = self . getExprVal ( width , do_eval = do_eval ) return width , widthStr , False
:see: doc of method on parent class
: see : doc of method on parent class