Fixed a bug in Am2900; created dlatch8/80; relayouted some components
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / ModelTriStateBuffer.java
index 6791aff..93bff32 100644 (file)
@@ -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()