True Dual Port RAM System
True Dual Port RAM block based on the hdl.RAM system object with ability to provide initial value
Since R2023b
Libraries:
HDL Coder /
HDL RAMs
Description
The blocks are MATLAB System blocks that use the
hdl.RAM
System object™. You can specify the RAM type as Dual port
,
Simple dual port
, Single port
, True
dual port
, or Simple tri port
. With the MATLAB
System blocks, you can:
Specify an initial value for the RAM. In the Block Parameters dialog box, enter a value for Specify the RAM initial value.
Obtain faster simulation results when you use these blocks in your Simulink® model.
Create parallel RAM banks when you use vector data by leveraging the
hdl.RAM
System object functionality.Obtain higher performance and support for large data memories.
Limitations
When you build the FPGA bitstream for the RAM, the global reset logic does not reset the RAM contents. To reset the RAM, implement the reset logic.
The RAM write address can be either
fixed-point (fi)
orinteger
, must be unsigned, and must be between2
and31
bits long.