X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2Fstandard%2Fmemory%2FModelWordAddressableMemory.java;h=99cc78d416314c0040c8053cf2e1a0bfa541439c;hb=18751c233058925190cf9c1e6bbd1e764f68bf43;hp=edb566685d23505e45d06ff306cd464dc958d26b;hpb=88e1b4382640ee4e907e06572fe6794bc925f344;p=Mograsim.git diff --git a/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelWordAddressableMemory.java b/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelWordAddressableMemory.java index edb56668..99cc78d4 100644 --- a/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelWordAddressableMemory.java +++ b/net.mograsim.machine/src/net/mograsim/machine/standard/memory/ModelWordAddressableMemory.java @@ -14,12 +14,12 @@ public abstract class ModelWordAddressableMemory extends ModelMemory public ModelWordAddressableMemory(LogicModelModifiable model, MainMemoryDefinition definition, String name) { - super(model, 100, 300, name, "RAM", false); + super(model, 120, 150, name, "RAM", false); this.definition = definition; - addPin(addrPin = new Pin(model, this, "A", definition.getMemoryAddressBits(), PinUsage.INPUT, width, 20)); - addPin(dataPin = new Pin(model, this, "D", definition.getCellWidth(), PinUsage.TRISTATE, width, 50)); - addPin(rWPin = new Pin(model, this, "RW", 1, PinUsage.INPUT, width, 80)); + addPin(addrPin = new Pin(model, this, "A", definition.getMemoryAddressBits(), PinUsage.INPUT, getWidth(), 30)); + addPin(dataPin = new Pin(model, this, "D", definition.getCellWidth(), PinUsage.TRISTATE, getWidth(), 50)); + addPin(rWPin = new Pin(model, this, "RW", 1, PinUsage.INPUT, getWidth(), 70)); init(); }