Removed unneccessary clock input for memory components
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / mi / components / ModelMicroInstructionMemory.java
index 34e7e80..58dc4d0 100644 (file)
@@ -8,7 +8,7 @@ import net.mograsim.machine.mi.MicroInstructionMemoryDefinition;
 
 public abstract class ModelMicroInstructionMemory extends ModelMemory
 {
-       private final Pin addrPin, dataPin, clock;
+       private final Pin addrPin, dataPin;
        private CoreMicroInstructionMemory memory;
        private final MicroInstructionMemoryDefinition definition;
        
@@ -18,7 +18,6 @@ public abstract class ModelMicroInstructionMemory extends ModelMemory
                this.definition = definition;
                addPin(addrPin = new Pin(model, this, "A", definition.getMemoryAddressBits(), PinUsage.INPUT, width / 2, 0));
                addPin(dataPin = new Pin(model, this, "D", definition.getMicroInstructionDefinition().sizeInBits(), PinUsage.OUTPUT, 0, 30));
-               addPin(clock = new Pin(model, this, "C", 1, PinUsage.INPUT, 0, 60));
 
                init();
        }
@@ -38,11 +37,6 @@ public abstract class ModelMicroInstructionMemory extends ModelMemory
                return dataPin;
        }
 
-       public Pin getClockPin()
-       {
-               return clock;
-       }
-
        public CoreMicroInstructionMemory getCoreMemory()
        {
                return memory;