Package edu.byu.ece.rapidSmith.device

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


   * @param pipWire The wire to count
   * @param wireCounts The map that is storing the total counts
   * @param we The relevant WireEnumerator
   */
  private static void countWire(int pipWire, HashMap<WireType,Integer> wireCounts, WireEnumerator we){
    WireType pipWireType = we.getWireType(pipWire);
    if(wireTypesOfInterest.contains(pipWireType)){
      // If a wire name has BEG in it, this is the only entry
      // point to drive the resource, long lines
      // have multiple points
      if(we.getWireName(pipWire).contains("BEG")){
        Integer count = wireCounts.get(pipWireType);
        if(count == null){
          wireCounts.put(pipWireType, new Integer(1));
        }else{
          wireCounts.put(pipWireType, new Integer(count.intValue()+1));
        }
      }
    }
    if(pipWireType.equals(WireType.LONG)){
      // TODO
    }   
  }
View Full Code Here

TOP

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

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.