Added a state to SimpleRectangularHardcodedGUIComponent.recalculate
[Mograsim.git] / net.mograsim.logic.model.am2900 / src / net / mograsim / logic / model / am2900 / components / am2910 / GUIAm2910InstrPLA.java
index 20ae560..b112d03 100644 (file)
@@ -41,7 +41,7 @@ public class GUIAm2910InstrPLA extends SimpleRectangularHardcodedGUIComponent
        }
 
        @Override
-       protected void recalculate(Map<String, ReadEnd> readEnds, Map<String, ReadWriteEnd> readWriteEnds)
+       protected Object recalculate(Object lastState, Map<String, ReadEnd> readEnds, Map<String, ReadWriteEnd> readWriteEnds)
        {
                ReadEnd PASS = readEnds.get("PASS");
                ReadEnd I3 = readEnds.get("I3");
@@ -258,5 +258,6 @@ public class GUIAm2910InstrPLA extends SimpleRectangularHardcodedGUIComponent
                                STKI1.feedSignals(STKI1Val);
                        }
                }
+               return null;
        }
 }
\ No newline at end of file