X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2FModelram5_12.java;h=53c9960dbf547f69aaa7ae35f2ba96affb41f7bb;hb=97761fb820e53b41f0cc021bf50fdca4da0c79c8;hp=5be6303ec151ebc174c085c905ca8b216a0bd3a8;hpb=3a52b6bffe52db5dd5ca907b4b3dfd368a58e14f;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java index 5be6303e..53c9960d 100644 --- a/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java +++ b/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java @@ -26,14 +26,16 @@ public class Modelram5_12 extends SimpleRectangularHardcodedModelComponent { public Modelram5_12(LogicModelModifiable model, String name) { - super(model, "ram5_12", name, "RAM\n5 x 12 Bit"); + super(model, "ram5_12", name, "RAM\n5 x 12 Bit", false); setSize(40, 40); - addPin(new Pin(this, "A", 3, PinUsage.INPUT, 10, 0), Position.BOTTOM); - addPin(new Pin(this, "B", 3, PinUsage.INPUT, 30, 0), Position.BOTTOM); - addPin(new Pin(this, "WE", 1, PinUsage.INPUT, 0, 5), Position.RIGHT); - addPin(new Pin(this, "C", 1, PinUsage.INPUT, 0, 15), Position.RIGHT); - addPin(new Pin(this, "Y", 12, PinUsage.OUTPUT, 0, 30), Position.RIGHT); - addPin(new Pin(this, "D", 12, PinUsage.INPUT, 20, 40), Position.TOP); + addPin(new Pin(model, this, "A", 3, PinUsage.INPUT, 10, 0), Position.BOTTOM); + addPin(new Pin(model, this, "B", 3, PinUsage.INPUT, 30, 0), Position.BOTTOM); + addPin(new Pin(model, this, "WE", 1, PinUsage.INPUT, 0, 5), Position.RIGHT); + addPin(new Pin(model, this, "C", 1, PinUsage.INPUT, 0, 15), Position.RIGHT); + addPin(new Pin(model, this, "Y", 12, PinUsage.OUTPUT, 0, 30), Position.RIGHT); + addPin(new Pin(model, this, "D", 12, PinUsage.INPUT, 20, 40), Position.TOP); + + init(); } @Override