Examples of configureBitstream()


Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

    XilinxConfigurationSpecification partInfo = cmdLineParser.getPartInfoExitOnError(options, bitstream, true);
   
    // 3. Create FPGA object
    FPGA fpga = new FPGA(partInfo);   
    // Configure FPGA
    fpga.configureBitstream(bitstream);
   
    String outputBitstreamFileName = cmdLineParser.getOutputFileNameStringExitOnError(options);
   
    /////////////////////////////////////////////////////////////////////
    // Perform Bitstreams Operations
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

      Bitstream opBitstream = BitstreamParser.parseBitstreamExitOnError(operationalBitstreamFileName);     
      System.out.print("Successfully loaded operational bitstream - ");
     
      // TODO: Make sure the two bitstreams are the same size. Same part?     
      FPGA fpga2 = new FPGA(partInfo);
      fpga2.configureBitstream(opBitstream);

     
      if(options.has(XOR_STRING))
      {
        FPGAOperation.operation(fpga, fpga2, FPGAOperation.OPERATORS.XOR );
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

    Bitstream maskBitstream = cmdLineParser.parseOptionalBitstreamFromOptionsExitOnError(options, MASK_BITSTREAM_OPTION, true);
    if (maskBitstream != null) {
      XilinxConfigurationSpecification partInfo = cmdLineParser.getPartInfoExitOnError(options, maskBitstream, true);
      FPGA maskFPGA = new FPGA(partInfo);   
      // Configure FPGA
      maskFPGA.configureBitstream(maskBitstream);
     
      // Now mask the two FPGAs
      FPGAOperation.MASKoperation(fpga1, maskFPGA);
      FPGAOperation.MASKoperation(fpga2, maskFPGA);
    }
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

 
  public static void main(String[] args){
    Bitstream bitstream = BitstreamParser.parseBitstreamExitOnError(args[0]);
    XilinxConfigurationSpecification spec = DeviceLookup.lookupPartFromPartnameOrBitstreamExitOnError(bitstream);
    FPGA fpga = new FPGA(spec);
    fpga.configureBitstream(bitstream);
     
    Bitstream bitstreamMask = BitstreamParser.parseBitstreamExitOnError(args[1]);
    XilinxConfigurationSpecification specMask = DeviceLookup.lookupPartFromPartnameOrBitstreamExitOnError(bitstream);
    FPGA fpgaMask = new FPGA(specMask);
    fpgaMask.configureBitstream(bitstreamMask);
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

    fpga.configureBitstream(bitstream);
     
    Bitstream bitstreamMask = BitstreamParser.parseBitstreamExitOnError(args[1]);
    XilinxConfigurationSpecification specMask = DeviceLookup.lookupPartFromPartnameOrBitstreamExitOnError(bitstream);
    FPGA fpgaMask = new FPGA(specMask);
    fpgaMask.configureBitstream(bitstreamMask);
    int correct = 0, incorrect = 0, close = 0;
   
    for(Frame frame : fpga.getAllFrames()){
      if(frame.getData().isEmpty()) continue;
      Frame maskFrame = fpgaMask.getFrame(frame.getFrameAddress());
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

   
    // Create FPGA object
    FPGA fpga = new FPGA(partInfo);   
    // Configure FPGA
    fpga.configureBitstream(bitstream);

    FrameAddressRegister far = new FrameAddressRegister(partInfo, 0);
   
    boolean empty = false;
    boolean nonempty = false;
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

    FPGA partialFPGA = new FPGA(partInfo);   

    // Configure FPGA
    fullFPGA.configureBitstream(fullBitstream);
    staticFPGA.configureBitstream(staticBitstream);
    partialFPGA.configureBitstream(partialBitstream);
   
    boolean staticChanged = false;
    boolean partialChanged = false;
   
    // Iterate over all of the frames
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.FPGA.configureBitstream()

      // 2. Obtain part information
      /////////////////////////////////////////////////////////////////////
      XilinxConfigurationSpecification partInfo = getPartInfoExitOnError(options, bitstream, true);
      fpga = new FPGA(partInfo);   
      // Configure FPGA
      fpga.configureBitstream(bitstream);
    }
    return fpga;
  }

  public FPGA createFPGAFromBitstreamOrReadbackFileExitOnError(OptionSet options) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.