def signed_lt(a, b):
    """ Return a single bit result of signed less than comparison. """
    a, b = match_bitwidth(as_wires(a), as_wires(b), signed=True)
    r = a - b
    return r[-1] ^ (~a[-1]) ^ (~b[-1])
def signed_lt ( a , b ) : a , b = match_bitwidth ( as_wires ( a ) , as_wires ( b ) , signed = True ) r = a - b return r [ - 1 ] ^ ( ~ a [ - 1 ] ) ^ ( ~ b [ - 1 ] )
Return a single bit result of signed less than comparison.