Creates a read/write accessor into the memory with dynamic addressing.
Creates a read/write accessor into the memory with dynamic addressing. See the class documentation of the memory for more detailed information.
Creates a read accessor into the memory with static addressing.
Creates a read accessor into the memory with static addressing. See the class documentation of the memory for more detailed information.
Creates a read accessor into the memory with dynamic addressing.
Creates a read accessor into the memory with dynamic addressing. See the class documentation of the memory for more detailed information.
Creates a masked write accessor into the memory.
Creates a masked write accessor into the memory.
memory element index to write into
new data to write
write mask as a Seq of Bool: a write to the Vec element in memory is only performed if the corresponding mask index is true.
this is only allowed if the memory's element data type is a Vec
Creates a write accessor into the memory.
Creates a write accessor into the memory.
memory element index to write into
new data to write
A combinational/asynchronous-read, sequential/synchronous-write memory.
Writes take effect on the rising clock edge after the request. Reads are combinational (requests will return data on the same cycle). Read-after-write hazards are not an issue.
when multiple conflicting writes are performed on a Mem element, the result is undefined (unlike Vec, where the last assignment wins)