Package edu.byu.ece.rapidSmith.device

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


    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


   * Creates a string representation of the PIP using the WireEnumerator
   * class.  This method may be slower than toString(WireEnumerator)
   * @return An XDL-compatible string of the PIP.
   */
  public String toString(){
    WireEnumerator we = tile.getDevice().getWireEnumerator();
    return "  pip " + tile.getName() + " " + we.getWireName(startWire) +
    " -> " + we.getWireName(endWire) + " ,  \n";   
  }
View Full Code Here

    }
   
    //=======================================================//
    /* Place net at new location                             */
    //=======================================================//
    WireEnumerator we = design.getWireEnumerator();
    int mCout = we.getWireEnum("M_COUT");
    int llCout = we.getWireEnum("LL_COUT");
    int wl5beg_s0 = we.getWireEnum("WL5BEG_S0");
    for(Net net : nets){
      net.getPIPs().clear();
      Net templateNet = net.getModuleTemplateNet();
      for(PIP pip : templateNet.getPIPs()){
        Tile templatePipTile = pip.getTile();
View Full Code Here

    }
    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

   * @return
   */
  public static Map<WireType,Integer> countUsedWireLengths(Collection<Net> nets){
    HashMap<WireType, Integer> wireCounts = new HashMap<WireType, Integer>();
    HashSet<TileType> intTypes = null;
    WireEnumerator we = null;
    // points
   
    for(Net n : nets){
      if(intTypes == null) {
        // TODO Looks like getSwitchMatrixTypes should be static
View Full Code Here

   * @param familyType Family of the device to load the information for.
   * @return The WireEnumerator or null if there was an error.
   */
  public static WireEnumerator loadWireEnumerator(FamilyType familyType){
    familyType = PartNameTools.getBaseTypeFromFamilyType(familyType);
    WireEnumerator we = WireEnumerator.getInstance(familyType);
    String path = getWireEnumeratorFileName(familyType);
    if(we.getFamilyName() != null){
      return we;
    }
   
    if(!we.readCompactEnumFile(path, familyType)){
      return null;
    }
    else{
      return we;
    }
View Full Code Here

TOP

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

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.