X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fmodel%2Fcomponents%2Fatomic%2FModelTriStateBuffer.java;h=93bff320d2a3d370c823d9d5459a0528c1eddba3;hb=8bed58cd47f4e53a0a83e066d38864aa6875502f;hp=6791aff8b0fe522e8f93ed95e61820556f6e7d9f;hpb=1f645882d229fc3d4081e4c5060559d75dc2cc24;p=Mograsim.git diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelTriStateBuffer.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelTriStateBuffer.java index 6791aff8..93bff320 100644 --- a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelTriStateBuffer.java +++ b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelTriStateBuffer.java @@ -39,7 +39,7 @@ public class ModelTriStateBuffer extends ModelComponent public ModelTriStateBuffer(LogicModelModifiable model, ModelTriStateBufferParams params, String name) { - super(model, name); + super(model, name, false); this.params = params; oc = new OrientationCalculator(params.orientation, width, height); @@ -58,6 +58,8 @@ public class ModelTriStateBuffer extends ModelComponent addPin(input); addPin(output); addPin(enable); + + init(); } public final Pin getInputPin()