Added GUIComponent for Word Addressable Memory
[Mograsim.git] / net.mograsim.logic.core / src / net / mograsim / logic / core / components / memory / WordAddressableMemory.java
index fbb76c2..3e83832 100644 (file)
@@ -26,7 +26,7 @@ public class WordAddressableMemory
        public void setCell(long address, BitVector b)
        {
                if (address < minimalAddress || address > maximalAddress)
-                       throw new IndexOutOfBoundsException(String.format("Memory address out of bounds! Minimum: %d Maimum: %d Actual: %d",
+                       throw new IndexOutOfBoundsException(String.format("Memory address out of bounds! Minimum: %d Maximum: %d Actual: %d",
                                        minimalAddress, maximalAddress, address));
                long page = address / pageSize;
                int offset = (int) (address % pageSize);