def METHOD_NAME(self, name='openocd'):
    if name == 'openocd':
        return OpenOCD("openocd_xc7_ft232.cfg", "bscan_spi_xc7a200t.bit")
    elif name == 'vivado':
        # TODO: some board versions may have s25fl128s
        return VivadoProgrammer(flash_part='s25fl256sxxxxxx0-spi-x1_x2_x4')