How to initialize Dual rate Dual port ram?

1 view (last 30 days)
ALi Falahati
ALi Falahati on 29 May 2023
Commented: ALi Falahati on 10 Jun 2023
The Simple Dual Port RAM System block gives to the option to initialize cells with pre-deined values. (Specify the RAM initial value).
But the Dual rate Dual port RAM block doesn't give the same option. I need to initialize my Dual rate dual port RAM block for simulation purposes. Can this feature be added?

Answers (1)

Kiran Kintali
Kiran Kintali on 30 May 2023
RAM System object can be used as a block in Simulink and it supports Initial Value. The HDL library browser that ships with Simulink has a block with this example.
  3 Comments
Kiran Kintali
Kiran Kintali on 31 May 2023
I misread the question. The "Dual Rate" DPRAM does not have corresponding system object (which has the RAMInitialValue feature). I will communicate the request to the development team.
ALi Falahati
ALi Falahati on 10 Jun 2023
@Kiran Kintali Thanks alot. It would be really helpful to be able to initialize the DRDPRAM.

Sign in to comment.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!