RAM based circular shift register in Simulink

8 views (last 30 days)
Hey!
I am trying to implement a circular shift register in a Simulink project that will be converted to HDL code later. I can not use the conventional shift register block in the library because it does not have HDL support. So I wanted to know how can I implement RAM based circular shift register. Or if there is any other way of implementing so that it can be converted to HDL code?

Answers (1)

Kiran Kintali
Kiran Kintali on 25 Sep 2022
Edited: Kiran Kintali on 7 Oct 2022
If you are looking to model delay length via input port using RMA you could use the following style of modeling pattern.

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!