def _check_versions(self):
        """
        Checks that sufficient versions of the firmware are available.
        """
        if self.geti('system/fwrevision') < ZI_PQSC.MIN_FWREVISION:
            raise zibase.ziVersionError(
                'Insufficient firmware revision detected! Need {}, got {}!'.
                format(ZI_PQSC.MIN_FWREVISION, self.geti('system/fwrevision')))

        if self.geti('system/fpgarevision') < ZI_PQSC.MIN_FPGAREVISION:
            raise zibase.ziVersionError(
                'Insufficient FPGA revision detected! Need {}, got {}!'.format(
                    ZI_PQSC.MIN_FPGAREVISION,
                    self.geti('system/fpgarevision')))