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
回答(1 个)
Kiran Kintali
2020-11-1
0 个投票
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'))
类别
在 帮助中心 和 File Exchange 中查找有关 Code Generation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!