RAM based circular shift register in Simulink

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?

回答(1 个)

Kiran Kintali
Kiran Kintali 2022-9-25
编辑:Kiran Kintali 2022-10-7
If you are looking to model delay length via input port using RMA you could use the following style of modeling pattern.

类别

帮助中心File Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by