From 466a1f49e8a4f231edecf4c6bc726ea68766f1be Mon Sep 17 00:00:00 2001 From: Christian Femers Date: Fri, 23 Aug 2019 04:37:33 +0200 Subject: [PATCH] Adapt Testbench to new Input (_OE) --- .../src/net/mograsim/logic/model/examples/Am2910Testbench.java | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.17.1