Skip to content

Commit

Permalink
cleanup, add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorbel1 committed Feb 20, 2025
1 parent 56d3091 commit f301b6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions doc/components/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
3 changes: 0 additions & 3 deletions test/sparse_memory_storage_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,4 @@ void main() {
expect(memStr, expected);
});
});

// TODO Testplan:
// - radix 2, 16
}

0 comments on commit f301b6f

Please sign in to comment.