async def METHOD_NAME(self, device, args, xc6s_iface):
    idcode, xc6s_device = await xc6s_iface.identify()
    if xc6s_device is None:
        raise XC6SJTAGError("cannot operate on unknown device with IDCODE={:#10x}"
                            .format(idcode.to_int()))
    self.logger.info("found %s rev=%d", xc6s_device.name, idcode.version)
    if args.bit_file:
        self.logger.info("configuring from %r", args.bit_file.name)
        await xc6s_iface.reconfigure()
        await xc6s_iface.load_bitstream(args.bit_file.read())
        await xc6s_iface.start()