RAM-based shift register in HDL coder

24 views (last 30 days)
hi,
I am looking for logic to implement RAM-based shift register. Looking forward a suggestion, it will be very help ful.
thank you

Answers (1)

Kiran Kintali
Kiran Kintali on 1 Nov 2020
UseRAM parameter: The UseRAM implementation parameter in Simulink HDL block option enables using RAM-based mapping for an integer delay block.
web(fullfile(docroot, 'hdlcoder/ug/block-implementation-parameters.html#bs04098'))
You can also use array of persistent variables and map it to RAM in MATLAB to HDL
web(fullfile(docroot, 'hdlcoder/ug/how-to-map-persistent-arrays-to-ram.html'))

Categories

Find more on Code Generation in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!