hwt/serializer/ip_packager.py
def getVectorFromType(self, dtype) -> Union[bool, None, Tuple[int, int]]:
        """
        :see: doc of method on parent class
        """
        if dtype == BIT:
            return False
        elif isinstance(dtype, Bits):
            return [evalParam(dtype.width) - 1, hInt(0)]
def getVectorFromType(self, dtype) -> Union[bool, None, Tuple[int, int]]:
        """
        :see: doc of method on parent class
        """
        if dtype == BIT:
            return False
        elif isinstance(dtype, Bits):
            return [evalParam(dtype.width) - 1, hInt(0)]
def getVectorFromType ( self , dtype ) -> Union [ bool , None , Tuple [ int , int ] ] : if dtype == BIT : return False elif isinstance ( dtype , Bits ) : return [ evalParam ( dtype . width ) - 1 , hInt ( 0 ) ]
:see: doc of method on parent class
: see : doc of method on parent class