MATLAB Answers

RAM-based shift register in HDL coder

5 views (last 30 days)
Mohammed Shameem Hussain
Mohammed Shameem Hussain on 9 May 2016
Answered: Kiran Kintali on 1 Nov 2020
hi,
I am looking for logic to implement RAM-based shift register. Looking forward a suggestion, it will be very help ful.
thank you

  0 Comments

Sign in to comment.

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'))

  0 Comments

Sign in to comment.

Categories

Tags

Products

Community Treasure Hunt

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

Start Hunting!

Translated by