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

Blocks

expand all

Dual Port RAM SystemDual-port RAM that supports simultaneous read and write operations
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 RAM SystemSimple dual-port RAM that supports simultaneous read and write operations
Single Port RAM SystemSingle-port RAM that supports sequential read and write operations
True Dual Port RAM SystemTrue dual-port RAM that supports simultaneous read and write operations (Since R2023b)
Simple Tri Port RAM SystemSimple tri-port RAM that supports simultaneous read and write operations (Since R2023b)

Topics

Featured Examples