Refactored Wire and finally renamed length to width
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / MainMemory.java
index 78c0ca0..e38d325 100644 (file)
@@ -1,5 +1,14 @@
 package net.mograsim.machine;
 
+import java.math.BigInteger;
+
+import net.mograsim.logic.core.types.BitVector;
+
 public interface MainMemory {
        
+       public BitVector getCell(long address);
+       public void setCell(long address, BitVector word);
+       public BigInteger getCellAsBigInteger(long address);
+       public void setCellAsBigInteger(long address, BigInteger word);
+       public MainMemoryDefinition getDefinition();
 }