diff --git a/doc/components/memory.md b/doc/components/memory.md index abe88456c..cf8c33438 100644 --- a/doc/components/memory.md +++ b/doc/components/memory.md @@ -21,3 +21,5 @@ The read path is combinational, so data is provided immediately according to the ## Memory Models The `MemoryModel` has the same interface as a `Memory`, but is non-synthesizable and uses a software-based `SparseMemoryStorage` as a backing for data storage. This is a useful tool for testing systems that have relatively large memories. + +The `MemoryStorage` class also provides utilities for reading (`loadMemString`) and writing (`dumpMemString`) verilog-compliant memory files (e.g. for `readmemh`). diff --git a/test/sparse_memory_storage_test.dart b/test/sparse_memory_storage_test.dart index ded5cd9e4..3cde4da38 100644 --- a/test/sparse_memory_storage_test.dart +++ b/test/sparse_memory_storage_test.dart @@ -138,7 +138,4 @@ void main() { expect(memStr, expected); }); }); - - // TODO Testplan: - // - radix 2, 16 }