X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2FGUIdff4_finewe.java;h=fe55d7f760959573fd456270cdace04f117c2616;hb=dc3fcd18d38653c2cf08a4dbe48d0e3731354fbc;hp=758a9450058ae1c0669e1e81a495a8c344248fb1;hpb=c66a8a1cb9c0bcde9fad3e217774968c3f94701d;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/GUIdff4_finewe.java b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/GUIdff4_finewe.java index 758a9450..fe55d7f7 100644 --- a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/GUIdff4_finewe.java +++ b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/GUIdff4_finewe.java @@ -28,7 +28,6 @@ public class GUIdff4_finewe extends SimpleRectangularHardcodedGUIComponent addPin(new Pin(this, "_WE2", 1, 0, 25), Usage.INPUT, Position.RIGHT); addPin(new Pin(this, "_WE3", 1, 0, 35), Usage.INPUT, Position.RIGHT); addPin(new Pin(this, "_WE4", 1, 0, 45), Usage.INPUT, Position.RIGHT); - addPin(new Pin(this, "_WE", 1, 0, 55), Usage.INPUT, Position.RIGHT); addPin(new Pin(this, "D1", 1, 0, 65), Usage.INPUT, Position.RIGHT); addPin(new Pin(this, "D2", 1, 0, 75), Usage.INPUT, Position.RIGHT); addPin(new Pin(this, "D3", 1, 0, 85), Usage.INPUT, Position.RIGHT); @@ -48,7 +47,7 @@ public class GUIdff4_finewe extends SimpleRectangularHardcodedGUIComponent Bit CVal = readEnds.get("C").getValue(); - if (QC[0] == ZERO && CVal == ONE && readEnds.get("_WE").getValue() == ZERO) + if (QC[0] == ZERO && CVal == ONE) for (int i = 1; i < 5; i++) { Bit WEiVal = readEnds.get("_WE" + i).getValue();