def loc_cell(name, c, leaf, lut):
        bel = '{c}{lut}LUT'.format(c=c.upper(), lut=lut)
        print(
            'set {name} [get_cells {root_cell}/{c}lut_i/{leaf}]'.format(
                root_cell=root_cell, name=name, c=c, leaf=leaf),
            file=f)
        print(
            'set_property BEL {bel} ${name}'.format(bel=bel, name=name),
            file=f)
        print(
            'set_property LOC {site} ${name}'.format(site=site, name=name),
            file=f)
        print('', file=f)