X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Ftest%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2FAm2901Testbench.java;fp=net.mograsim.logic.model.am2900%2Ftest%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2FAm2901Testbench.java;h=731147ceae43bcc42f1c5f9f4bb4e4ebe1e77c33;hb=8c26f70ef8444eae412b35805de3fd43fe3ef345;hp=34154e60b57ffbee0de382200b48eb374eaa6c8e;hpb=bece76750849d1c9374aaa3772dcad552527f60b;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/test/net/mograsim/logic/model/am2900/Am2901Testbench.java b/net.mograsim.logic.model.am2900/test/net/mograsim/logic/model/am2900/Am2901Testbench.java index 34154e60..731147ce 100644 --- a/net.mograsim.logic.model.am2900/test/net/mograsim/logic/model/am2900/Am2901Testbench.java +++ b/net.mograsim.logic.model.am2900/test/net/mograsim/logic/model/am2900/Am2901Testbench.java @@ -31,7 +31,7 @@ public class Am2901Testbench comp.moveTo(240, 0); - GUIManualSwitch enable = new GUIManualSwitch(model); + GUIManualSwitch enable = new GUIManualSwitch(model, 1); WireCrossPoint wcp0 = new WireCrossPoint(model, 1); GUINotGate not1 = new GUINotGate(model, 1); GUINotGate not2 = new GUINotGate(model, 1); @@ -71,7 +71,7 @@ public class Am2901Testbench WireCrossPoint wcp = new WireCrossPoint(model, 1); GUIComponent d_ff = IndirectGUIComponentCreator.createComponent(model, "GUIdff"); - GUIManualSwitch sw = new GUIManualSwitch(model); + GUIManualSwitch sw = new GUIManualSwitch(model, 1); tool.connect(last, wcp); tool.connect(wcp, d_ff, "C"); @@ -91,7 +91,7 @@ public class Am2901Testbench { double x = 300 + 75 * (i % 2); double y = 10 * i - 2.5; - GUIBitDisplay bd = new GUIBitDisplay(model); + GUIBitDisplay bd = new GUIBitDisplay(model, 1); bd.moveTo(x, y); tool.connect(bd.getInputPin(), comp, outputPinNames.get(i));