예제 #1
0
 private OutputPin connectOutputPin(Design design, Call call, Bus bus, String name) {
   OutputPin pin = new OutputPin(bus);
   pin.setIDSourceInfo(call.getIDSourceInfo().deriveField(name, -1, -1));
   pin.getPort().setBus(bus);
   design.addOutputPin(pin, bus);
   return pin;
 }
예제 #2
0
파일: PinGraph.java 프로젝트: orcc/xronos
    Output(OutputPin opin, int nodeCount, int fontSize) {
      super(ID.showLogical(opin), nodeCount, fontSize);
      _graph.ln("Output Pin: " + opin);
      graph(opin, nodeCount++);
      Port p = opin.getPort();
      Bus b = p.getBus();
      graph(b.getOwner().getOwner(), nodeCount++);

      graphEdges(opin);
    }