From: Christian Femers Date: Fri, 23 Aug 2019 02:37:33 +0000 (+0200) Subject: Adapt Testbench to new Input (_OE) X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=2c37e56abf272af5bd59f062ea45c2f452d6446e;p=Mograsim.git Adapt Testbench to new Input (_OE) --- diff --git a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/Am2910Testbench.java b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/Am2910Testbench.java index e7b7e8c8..a9ecc036 100644 --- a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/Am2910Testbench.java +++ b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/Am2910Testbench.java @@ -27,6 +27,7 @@ public class Am2910Testbench GUIManualSwitch _CCEN = new GUIManualSwitch(model, 1, "_CCEN"); GUIManualSwitch I = new GUIManualSwitch(model, 4, "I"); GUIManualSwitch CI = new GUIManualSwitch(model, 1, "CI"); + GUIManualSwitch _OE = new GUIManualSwitch(model, 1, "_OE"); GUIBitDisplay _FULL = new GUIBitDisplay(model, 1, "_FULL"); GUIBitDisplay _PL = new GUIBitDisplay(model, 1, "_PL"); GUIBitDisplay _MAP = new GUIBitDisplay(model, 1, "_MAP"); @@ -45,6 +46,7 @@ public class Am2910Testbench _MAP.moveTo(30, 105); _VECT.moveTo(30, 125); Y.moveTo(40, 65); + _OE.moveTo(60, 85); new GUIWire(model, C.getOutputPin(), am2910.getPin("C"), new Point(60, -27.5)); new GUIWire(model, D.getOutputPin(), am2910.getPin("D"), new Point(36, -12.5)); @@ -58,5 +60,6 @@ public class Am2910Testbench new GUIWire(model, am2910.getPin("_MAP"), _MAP.getInputPin(), new Point(19, 112.5)); new GUIWire(model, am2910.getPin("_VECT"), _VECT.getInputPin(), new Point(25, 132.5)); new GUIWire(model, am2910.getPin("Y"), Y.getInputPin(), new Point(38, 72.5)); + new GUIWire(model, am2910.getPin("_OE"), _OE.getOutputPin()); } } \ No newline at end of file