X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fmodel%2Fcomponents%2Fmi%2Fnandbased%2Fam2901%2FGUIAm2901ALUFuncDecode.java;h=07af76d9698f517e5bf629c8043ac67678d37df7;hb=5ece0acf049bf9af2933f513fe0206565681f622;hp=09eeab4f4f6d0553511142b32e233bd3a04968ee;hpb=05f3deb7ee3a0b7162c75e1963be9a739618e3df;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java b/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java index 09eeab4f..07af76d9 100644 --- a/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java +++ b/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java @@ -15,7 +15,12 @@ public class GUIAm2901ALUFuncDecode extends SimpleRectangularSubmodelComponent { public GUIAm2901ALUFuncDecode(ViewModelModifiable model) { - super(model, 1, "GUIAm2901ALUFuncDecode"); + this(model, null); + } + + public GUIAm2901ALUFuncDecode(ViewModelModifiable model, String name) + { + super(model, 1, "GUIAm2901ALUFuncDecode", name); setSubmodelScale(.25); setInputPins("I5", "I4", "I3"); setOutputPins("CinE", "L", "SN", "SBE", "FN", "RN"); @@ -111,6 +116,6 @@ public class GUIAm2901ALUFuncDecode extends SimpleRectangularSubmodelComponent static { IndirectGUIComponentCreator.setComponentSupplier(GUIAm2901ALUFuncDecode.class.getCanonicalName(), - (m, p) -> new GUIAm2901ALUFuncDecode(m)); + (m, p, n) -> new GUIAm2901ALUFuncDecode(m, n)); } } \ No newline at end of file