X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fmodel%2Fcomponents%2Fmi%2Fnandbased%2FGUIdlatch.java;h=4e04f803bdbb530049d7d0193701ab6bed220e4e;hb=f84fb965a1f4dc6d6675445426d4e68aa5b989fb;hp=1a9d3a0be471a4d2ffe0a6e2f55e524dd405a709;hpb=1cdf25bdcce0cda33c8019439df190d66ed4e38f;p=Mograsim.git diff --git a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIdlatch.java b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIdlatch.java index 1a9d3a0b..4e04f803 100644 --- a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIdlatch.java +++ b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIdlatch.java @@ -51,12 +51,12 @@ public class GUIdlatch extends SubmodelComponent cp2.moveTo(35, 17.5); new GUIWire(submodelModifiable, D, nand1.getInputPins().get(0)); - new GUIWire(submodelModifiable, E, cp1.getPin()); - new GUIWire(submodelModifiable, cp1.getPin(), nand1.getInputPins().get(1), new Point(5, 22.5)); - new GUIWire(submodelModifiable, cp1.getPin(), nand2.getInputPins().get(1)); - new GUIWire(submodelModifiable, nand1.getOutputPin(), cp2.getPin()); - new GUIWire(submodelModifiable, cp2.getPin(), nand2.getInputPins().get(0), new Point(35, 30), new Point(10, 30), new Point(10, 40)); - new GUIWire(submodelModifiable, cp2.getPin(), _rsLatch.getPin_S(), new Point(35, 12.5)); + new GUIWire(submodelModifiable, E, cp1); + new GUIWire(submodelModifiable, cp1, nand1.getInputPins().get(1), new Point(5, 22.5)); + new GUIWire(submodelModifiable, cp1, nand2.getInputPins().get(1)); + new GUIWire(submodelModifiable, nand1.getOutputPin(), cp2); + new GUIWire(submodelModifiable, cp2, nand2.getInputPins().get(0), new Point(35, 30), new Point(10, 30), new Point(10, 40)); + new GUIWire(submodelModifiable, cp2, _rsLatch.getPin_S(), new Point(35, 12.5)); new GUIWire(submodelModifiable, nand2.getOutputPin(), _rsLatch.getPin_R(), new Point(40, 45), new Point(40, 27.5)); new GUIWire(submodelModifiable, _rsLatch.getPinQ(), Q); new GUIWire(submodelModifiable, _rsLatch.getPin_Q(), _Q, new Point(82.5, 27.5), new Point(82.5, 50));