Where do I find the Dual Port RAM block in Matlab 2011b as in the link provided in the description of the question?

1 view (last 30 days)
link --> DPRAM
I cannot find HDL operations -> Blocks -> simple dual port RAM. I use Matlab 2011b.
Also, is there a Xilinx RAM block for system generator (14.2) that has read address and read enable port? because the existing dual port RAM in system generator has only write enable and write address ports.
In both of the above issues, will upgrading to MATLAB 2014a and xilinx 14.7 will solve the problem for sure? I ask this because, in the Xilinx System Generator 14.2 guide, there is a mention about the Simple Dual port RAM and True Dual port RAM.
Dear community members, any help will be appreciated. Thank you.

Accepted Answer

Tim McBrayer
Tim McBrayer on 2 Jul 2014
Edited: Tim McBrayer on 2 Jul 2014
You can find the Simple Dual Port RAM in MATLAB R2011b in at least two simple ways.
  1. Type 'hdldemolib' at the MATLAB prompt to open a library containing HDL-specialized blocks
  2. Type 'hdllib' at the MATLAB prompt to open a dynamically generated library containing all HDL-supported blocks. The RAM block is in the 'HDL Demo Library' section.
Upgrading to a newer version will bring a large set of enhanced capabilities and features.
  2 Comments
Bala Vignesh
Bala Vignesh on 2 Jul 2014
Edited: Bala Vignesh on 2 Jul 2014
Thank you for your quick reply. Why aren't these blocks available in the simulink library browser (on searching for it) and how many such inaccessible blocks (through the simulink lib browser) are there (inclusing the HDL section)?
Tim McBrayer
Tim McBrayer on 3 Jul 2014
These blocks are part of HDL Coder and are only installed with HDL Coder. Through R2013b, HDL Coder has not had a block library installed in the Simulink library browser. The set of additional blocks provided with HDL Coder are available through either of the two methods I mentioned. These libraries are documented in the HDL Coder documentation.
As of R2014a there is a HDL Coder library that ships with Simulink that contains all the base Simulink blocks supported by HDL Coder. This includes HDL-specific blocks such as the various RAMs, assorted bit operations, and a HDL FIFO.

Sign in to comment.

More Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!