Using HDL Coder, how can I do partial streaming of a MATLAB loop?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 9 Oct 2018
Modifié(e) : MathWorks Support Team
le 29 Fév 2024
I'm running the following command in MATLAB R2018 to access the documentation on HDL Coder
web(fullfile(docroot, 'hdlcoder/ug/loop-optimization-1.html'))
The documentation page mentions that one can partially stream a loop using HDL Coder. How can I do this?
Please follow the below link to search for the required information regarding the current release:
Réponse acceptée
MathWorks Support Team
le 18 Jan 2024
Modifié(e) : MathWorks Support Team
le 29 Fév 2024
Partial streaming of a loop can be done by providing the optional second "streaming factor" argument. If it is not specified, then it takes a value equal to the number of iterations of the loop i.e. fully streamed:
coder.hdl.loopspec('stream', 2)
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!