X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2Fstandard%2Fmemory%2FModelMemoryWA.java;h=9f5b1cc9ab8c95c158377f5f9c165f0cfbca1477;hb=92862c4723c5eff22257e8de06166a124efb5d77;hp=78bd16f4c8de938356a46b23c94a2d897f18eef8;hpb=3a52b6bffe52db5dd5ca907b4b3dfd368a58e14f;p=Mograsim.git diff --git a/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelMemoryWA.java b/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelMemoryWA.java index 78bd16f4..9f5b1cc9 100644 --- a/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelMemoryWA.java +++ b/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelMemoryWA.java @@ -28,7 +28,7 @@ public class ModelMemoryWA extends ModelComponent public ModelMemoryWA(LogicModelModifiable model, MainMemoryDefinition definition, String name) { - super(model, name); + super(model, name,false); this.definition = definition; CenteredTextParams renderer1Params = new CenteredTextParams(); @@ -39,9 +39,11 @@ public class ModelMemoryWA extends ModelComponent setSize(width, height); //TODO check the usages - addPin(addrPin = new Pin(this, "A", definition.getMemoryAddressBits(), PinUsage.INPUT, 0, 10)); - addPin(dataPin = new Pin(this, "D", definition.getCellWidth(), PinUsage.TRISTATE, 0, 30)); - addPin(rWPin = new Pin(this, "RW", 1, PinUsage.INPUT, 0, 50)); + addPin(addrPin = new Pin(model, this, "A", definition.getMemoryAddressBits(), PinUsage.INPUT, 0, 10)); + addPin(dataPin = new Pin(model, this, "D", definition.getCellWidth(), PinUsage.TRISTATE, 0, 30)); + addPin(rWPin = new Pin(model, this, "RW", 1, PinUsage.INPUT, 0, 50)); + + init(); } public Pin getAddressPin()