def METHOD_NAME(base):
    bdf = ''
    base_iomem = base.strip('0x').lower()
    with open(MEM_PATH[0], 'rt') as mem_info:
        while True:
            line = mem_info.readline().strip('\n')
            if not line:
                break
            if base_iomem in line and '0000:' in line:
                bdf = line.split(" ")[-1].lstrip("0000").lstrip(":")
                if not is_bdf_format(bdf):
                    continue
                else:
                    break
    return bdf