RAM-based shift register in HDL coder
Show older comments
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
on 1 Nov 2020
0 votes
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
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!