Simple Dual Port RAM System
Simple Dual Port RAM block based on the hdl.RAM system object with ability to provide initial value
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
. In terms of simulation
behavior, the Dual Port RAM System block behaves similar to the
Dual Port RAM, the Single Port RAM System behaves
similar to the Single Port RAM, and so on. 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, make sure that you 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.