X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fmodel%2Fcomponents%2Fatomic%2FModelFixedOutput.java;h=1d3bb1eea4671f9ccbbe4ac8fd81454d9cc2d9de;hb=92862c4723c5eff22257e8de06166a124efb5d77;hp=2ff06f20b4386d42062e6f1c40c39660c73b9962;hpb=3a52b6bffe52db5dd5ca907b4b3dfd368a58e14f;p=Mograsim.git diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java index 2ff06f20..1d3bb1ee 100644 --- a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java +++ b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java @@ -31,10 +31,12 @@ public class ModelFixedOutput extends ModelComponent public ModelFixedOutput(LogicModelModifiable model, BitVector bits, String name) { - super(model, name); + super(model, name, false); this.bits = bits; setSize(width, height); - addPin(new Pin(this, "out", bits.length(), PinUsage.OUTPUT, width, height / 2)); + addPin(new Pin(model, this, "out", bits.length(), PinUsage.OUTPUT, width, height / 2)); + + init(); } @Override