MainMemory now supports cells being accessed as BigIntegers
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / MainMemory.java
1 package net.mograsim.machine;
2
3 import java.math.BigInteger;
4
5 import net.mograsim.logic.core.types.BitVector;
6
7 public interface MainMemory {
8         
9         public BitVector getCell(long address);
10         public void setCell(long address, BitVector word);
11         public BigInteger getCellAsBigInteger(long address);
12         public void setCellAsBigInteger(long address, BigInteger word);
13         public MainMemoryDefinition getDefinition();
14 }