hwt/synthesizer/rtlLevel/optimalizator.py
def checkIfIsTooSimple(proc):
    """check if process is just unconditional assignments
       and it is useless to merge them"""
    try:
        a, = proc.statements
        if isinstance(a, Assignment):
            return True
    except ValueError:
        pass
    return False
def checkIfIsTooSimple(proc):
    """check if process is just unconditional assignments
       and it is useless to merge them"""
    try:
        a, = proc.statements
        if isinstance(a, Assignment):
            return True
    except ValueError:
        pass
    return False
def checkIfIsTooSimple ( proc ) : try : a , = proc . statements if isinstance ( a , Assignment ) : return True except ValueError : pass return False
check if process is just unconditional assignments
       and it is useless to merge them
check if process is just unconditional assignments and it is useless to merge them