hwt/hdl/statements.py
def isSameHVal(a: Value, b: Value) -> bool:
    """
    :return: True if two Value instances are same
    :note: not just equal
    """
    return a is b or (isinstance(a, Value)
                      and isinstance(b, Value)
                      and a.val == b.val
                      and a.vldMask == b.vldMask)
def isSameHVal(a: Value, b: Value) -> bool:
    """
    :return: True if two Value instances are same
    :note: not just equal
    """
    return a is b or (isinstance(a, Value)
                      and isinstance(b, Value)
                      and a.val == b.val
                      and a.vldMask == b.vldMask)
def isSameHVal ( a : Value , b : Value ) -> bool : return a is b or ( isinstance ( a , Value ) and isinstance ( b , Value ) and a . val == b . val and a . vldMask == b . vldMask )
:return: True if two Value instances are same
    :note: not just equal
: return : True if two Value instances are same : note : not just equal