Using HDL Coder, how can I do partial streaming of a MATLAB loop?

3 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2018 年 10 月 9 日
編集済み: MathWorks Support Team 2024 年 2 月 29 日
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:

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 1 月 18 日
編集済み: MathWorks Support Team 2024 年 2 月 29 日
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 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by