def METHOD_NAME(f):
    segbits = {}
    for l in f:
        # CLBLM_L.SLICEL_X1.ALUT.INIT[10] 29_14
        l = l.strip()
        if not l:
            continue
        parts = l.split(' ')
        assert len(parts) > 1, l
        segbits[parts[0]] = [parsebit(val) for val in parts[1:]]
    return segbits