Undo renaming of BitVector's length to width
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / standard / memory / WordAddressableMemory.java
index ee40201..e828a24 100644 (file)
@@ -114,7 +114,7 @@ public class WordAddressableMemory implements MainMemory
                {
                        if (bits.length() != cellWidth)
                                throw new IllegalArgumentException(String.format(
-                                               "BitVector to be saved in memory cell has unexpected length. Expected: %d Actual: %d", cellWidth, bits.length()));
+                                               "BitVector to be saved in memory cell has unexpected width. Expected: %d Actual: %d", cellWidth, bits.length()));
                        memory[index] = bits;
                }