Finished MPROM support. Fixes #10
[Mograsim.git] / plugins / net.mograsim.machine / src / net / mograsim / machine / MainMemoryDefinition.java
index 72153d6..fecbbaf 100644 (file)
@@ -6,17 +6,8 @@ package net.mograsim.machine;
  * @author Christian Femers
  *
  */
-public interface MainMemoryDefinition extends MemoryDefinition
+public interface MainMemoryDefinition extends BitVectorMemoryDefinition
 {
-       /**
-        * The width in bits of an addressable memory cell/unit. This is often 8 (= one byte). The actual cells/lines of the memory may be a lot
-        * larger.
-        * 
-        * @return the addressable unit width in bits
-        * @author Christian Femers
-        */
-       int getCellWidth();
-
        public static MainMemoryDefinition create(int memoryAddressBits, int cellWidth, long minimalAddress, long maximalAddress)
        {
                return new StandardMainMemoryDefinition(memoryAddressBits, cellWidth, minimalAddress, maximalAddress);