X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2Fam2910%2FGUIAm2910InstrPLA.java;h=960cc740b87e1912b6ce71d03d3f3a36bdb774a3;hb=039f31334c661633b71e945aa4332cedb7055526;hp=2be428d4a745607e84bc6f0d5c53674a60227331;hpb=bbe38c55aaa999d025f534245f9207a88643f6e5;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/GUIAm2910InstrPLA.java b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/GUIAm2910InstrPLA.java index 2be428d4..960cc740 100644 --- a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/GUIAm2910InstrPLA.java +++ b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/GUIAm2910InstrPLA.java @@ -21,7 +21,7 @@ public class GUIAm2910InstrPLA extends SimpleRectangularHardcodedGUIComponent { public GUIAm2910InstrPLA(ViewModelModifiable model, String name) { - super(model, name, "Instr.\nPLA"); + super(model, "GUIAm2910InstrPLA", name, "Instr.\nPLA"); setSize(30, 85); addPin(new Pin(this, "PASS", 1, PinUsage.INPUT, 0, 5), Position.RIGHT); addPin(new Pin(this, "I", 4, PinUsage.INPUT, 0, 20), Position.RIGHT); @@ -40,7 +40,7 @@ public class GUIAm2910InstrPLA extends SimpleRectangularHardcodedGUIComponent } @Override - protected Object recalculate(Object lastState, Map readEnds, Map readWriteEnds) + public Object recalculate(Object lastState, Map readEnds, Map readWriteEnds) { ReadEnd PASS = readEnds.get("PASS"); ReadEnd I = readEnds.get("I");