From dc3fcd18d38653c2cf08a4dbe48d0e3731354fbc Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Sun, 18 Aug 2019 18:35:55 +0200 Subject: [PATCH] Removed _WE pin from GUIdff4_finewe --- .../mograsim/logic/model/am2900/components/GUIdff4_finewe.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.17.1