Package edu.byu.ece.rapidSmith.device

Examples of edu.byu.ece.rapidSmith.device.Device


  public static void main(String[] args){
    MessageGenerator.printHeader(" RapidSmith Device Browser");   
    if(args.length != 1){
      MessageGenerator.briefMessageAndExit("USAGE: <device part name, ex: xc4vfx12ff668 >");
    }
    Device dev = (Device) FileTools.loadDevice(args[0]);
    WireEnumerator we = FileTools.loadWireEnumerator(args[0]);   
   
    run(dev, we);
  }
View Full Code Here


 
  public static void main(String[] args){
    String partName = "xc5vlx30t";
    String packageName = "ff665";
    // Load up all the RapidSmith data structures
    Device dev = FileTools.loadDevice(partName + packageName);
   
    XilinxConfigurationSpecification spec = DeviceLookup.lookupPartV4V5V6(partName);

    FPGA fpga = new FPGA(spec);
   
    // Pick a tile...
    Tile tile = dev.getTile("CLBLL_X14Y65");
   
    // This class has some internal state
    Virtex5TileTranslation tileTranslator = new Virtex5TileTranslation();
   
    // In order to get the frame, the minor address is needed. 
View Full Code Here

      MessageGenerator.briefMessageAndExit("USAGE: -<d|w|p (d:Device, w:WireEnumerator, p:PrimitiveDefs)> <partname|familyName> [-verbose]")
    }
    FamilyType familyType = null;
    long initial_usage, total_usage;
    long start, stop;
    Device dev;
    WireEnumerator we;
    PrimitiveDefList list;
   
    if(args[0].equals("-w") || args[0].equals("-p")){
      familyType = FamilyType.valueOf(args[1].toUpperCase());
View Full Code Here

   * @param partName Name of the part or device to load the information for.
   * @return The device or null if there was an error.
   */
  public static Device loadDevice(String partName){
    String canonicalName = PartNameTools.removeSpeedGrade(partName);
    Device device = Device.getInstance(canonicalName);
    String path = getDeviceFileName(canonicalName);

    // Don't reload the device if same part is already loaded
    if(device.getPartName() != null){
      return device;
    }
   
    if(!device.readDeviceFromCompactFile(path)){
      return null;
    }
    else{
      return device;
    }
View Full Code Here

TOP

Related Classes of edu.byu.ece.rapidSmith.device.Device

Copyright © 2018 www.massapicom. 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.