Examples of addPin()


Examples of edu.byu.ece.rapidSmith.design.Instance.addPin()

                   i.testAttributeValue(letter+"6LUT", "#OFF") &&
                   !i.hasAttribute("_GND_SOURCE") &&
                   !i.hasAttribute("_VCC_SOURCE")){
                  i.addAttribute(new Attribute(new Attribute(srcTypeString,"",letter)));
                  currStaticSourcePin = new Pin(true, letter, i);
                  i.addPin(currStaticSourcePin);
                  return i;
                }
              }
            }
          } 
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          }
        }
        else if(net.getType().equals(NetType.VCC)){
          for(Pin pin : net.getPins()){
            if(pin.isOutPin()) continue;
            vcc.addPin(pin);
          }
        }
      }
    }
   
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

    gndNet.setName("GLOBAL_LOGIC0");
    gndNet.setType(NetType.GND);
    for(Net net : gndNets){
      for(Pin pin : net.getPins()) {
        if(!pin.isOutPin()) {
          gndNet.addPin(pin);
        }
      }
    }
   
    Net vccNet = new Net();
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

    vccNet.setName("GLOBAL_LOGIC1");
    vccNet.setType(NetType.VCC);
    for(Net net : vccNets){
      for(Pin pin : net.getPins()) {
        if(!pin.isOutPin()) {
          vccNet.addPin(pin);
        }
      }
    }
   
    newNets.addAll(nets);
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          finalStaticNets.add(matchingNet);
          inst.addToNetList(matchingNet);
          createAndAddPin(matchingNet, inst, true);
        }
        else{
          matchingNet.addPin(ss.pin);
          ss.pin.getInstance().addToNetList(matchingNet);
        }
      }
     
      for(StaticSink ss : ps.attemptTIEOFF){
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          finalStaticNets.add(matchingNet);
          inst.addToNetList(matchingNet);
          createAndAddPin(matchingNet, inst, false);
        }
        else{
          matchingNet.addPin(ss.pin);
          ss.pin.getInstance().addToNetList(matchingNet);
        }
      }
     
      if(ps.useSLICE.size() > 0){
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          // Create new instance of SLICE primitive to get source
          Instance currInst = findClosestAvailableSLICE(ps.useSLICE.get(0).switchMatrixSink.tile, NetType.GND);
          if(currStaticSourcePin != null){
            currInst.addToNetList(newNet);
            newNet.addPin(currStaticSourcePin);
          }
          else{
            router.design.addInstance(currInst);
            currInst.addToNetList(newNet);
            Pin source = new Pin(true, slicePin, currInst);
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          }
          else{
            router.design.addInstance(currInst);
            currInst.addToNetList(newNet);
            Pin source = new Pin(true, slicePin, currInst);
            newNet.addPin(source);         
          }
        }
        if(vccs.size() > 0){
          // Create the new net
          Net newNet = createNewNet(NetType.VCC, vccs);
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          // Create new instance of SLICE primitive to get source
          Instance currInst = findClosestAvailableSLICE(ps.useSLICE.get(0).switchMatrixSink.tile, NetType.VCC);

          if(currStaticSourcePin != null){
            currInst.addToNetList(newNet);
            newNet.addPin(currStaticSourcePin);
          }
          else{
            router.design.addInstance(currInst);
            currInst.addToNetList(newNet);
            Pin source = new Pin(true, slicePin, currInst);
View Full Code Here

Examples of edu.byu.ece.rapidSmith.design.Net.addPin()

          }
          else{
            router.design.addInstance(currInst);
            currInst.addToNetList(newNet);
            Pin source = new Pin(true, slicePin, currInst);
            newNet.addPin(source);
          }
        }
      }
    }
   
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.