RAM based circular shift register in Simulink

조회 수: 8(최근 30일)
Tanay Kumar
Tanay Kumar 2022년 9월 25일
편집: Kiran Kintali 2022년 10월 7일
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.

범주

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!

Translated by