Main Content

RAM and ROM Blocks

Mimic RAMs and ROMs on hardware using blocks in HDL RAMs library

The HDL Coder block library contains many blocks that you can add to your Simulink® modeling environment and develop your HDL algorithm. You can use blocks from the HDL Coder library to mimic RAM and ROM blocks on the target device.

To filter the Simulink Library Browser to show only HDL-supported blocks, enter hdllib.

Functions

hdllibDisplay blocks that are compatible with HDL code generation

Model Settings

expand all

Blocks

expand all

Dual Port RAMDual port RAM with two output ports
Dual Port RAM SystemDual Port RAM block based on the hdl.RAM system object with ability to provide initial value
Dual Rate Dual Port RAMDual Port RAM that supports two rates
HDL FIFOStores sequence of input samples in first in, first out (FIFO) register
Simple Dual Port RAMDual port RAM with single output port
Simple Dual Port RAM SystemSimple Dual Port RAM block based on the hdl.RAM system object with ability to provide initial value
Single Port RAMSingle port RAM
Single Port RAM SystemSingle Port RAM block based on hdl.RAM system object with ability to provide initial value
True Dual Port RAM SystemTrue Dual Port RAM block based on the hdl.RAM system object with ability to provide initial value (Since R2023b)
Simple Tri Port RAM SystemSimple Tri Port RAM block based on the hdl.RAM system object with ability to provide initial value (Since R2023b)

Topics