RAM-based shift register in HDL coder

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)

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

Tags

Community Treasure Hunt

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

Start Hunting!