Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

          @staticmethod
  def save_processed(name, processed_bitstream, chain):
    processed_name = name.split('.')[0] + ".bit." + str(chain)
    if processed_bitstream is not None:
      pickle.dump(processed_bitstream, open(processed_name, "wb"), pickle.HIGHEST_PROTOCOL)
        


src/f/t/FT232R-JTAG-HEAD/program.py   FT232R-JTAG(Download)
    logger.log("Saving pre-processed bitstream...", False)
    start_time = time.time()
    BitFile.save_processed(bitfileName, processed_bitstream, settings.chain)
    logger.log("Saved pre-processed bitstream in %f seconds" % (time.time() - start_time), False)