Skip to content
Snippets Groups Projects

Add methods to architecture

Merged Oscar Gustafsson requested to merge archimprovements into master
3 files
+ 62
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -26,14 +26,14 @@ def memory_based_storage(
@@ -26,14 +26,14 @@ def memory_based_storage(
Parameters
Parameters
----------
----------
 
f : TextIOWrapper
 
File object (or other TextIOWrapper object) to write the architecture onto.
assignment : dict
assignment : dict
A possible cell assignment to use when generating the memory based storage.
A possible cell assignment to use when generating the memory based storage.
The cell assignment is a dictionary int to ProcessCollection where the integer
The cell assignment is a dictionary int to ProcessCollection where the integer
corresponds to the cell to assign all MemoryVariables in corresponding process
corresponds to the cell to assign all MemoryVariables in corresponding process
collection.
collection.
If unset, each MemoryVariable will be assigned to a unique cell.
If unset, each MemoryVariable will be assigned to a unique cell.
f : TextIOWrapper
File object (or other TextIOWrapper object) to write the architecture onto.
word_length : int
word_length : int
Word length of the memory variable objects.
Word length of the memory variable objects.
read_ports : int
read_ports : int
Loading