MATLAB Answers

About hdlsllib/HDL RAMs blocks

2 views (last 30 days)
hello everyone,
Can you please tell me what is the difference between Port RAM blocks and Port RAM System blocks in the HDL Coder library (For example simple dual port ram and simple dual port ram system)
Thank you very much,

  0 Comments

Sign in to comment.

Accepted Answer

Kiran Kintali
Kiran Kintali on 23 Jan 2019
hdl.RAM is a system object and all RAM system blocks can be configured within variations of the system object. They have identical behavior w.r.to regular RAM blocks but have additional capabilities apart from being able to use hdl.RAM from MATLAB to HDL workflow.
You can find the details of the block here. Faster simulaiton performance for large RAMs, ability to specify initial values for the RAM contents and RAM bank capability with vector address and data signals.
web(fullfile(docroot, 'simulink/slref/dualportramsystemsimpledualportramsystemsingleportramsystem.html'))
web(fullfile(docroot, 'hdlcoder/ref/hdl.ram-system-object.html'))

  1 Comment

Greeshma Chandran
Greeshma Chandran on 3 Dec 2020
Hi,
How could we load data to the RAM or ROM block in simulink using Xilinx block set. I am able to do only using the Simulink blockset

Sign in to comment.

More Answers (1)

Kiran Kintali
Kiran Kintali on 5 Dec 2020
>> How can we load data to the RAM or ROM block in simulink?

  0 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!