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; }
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); }