how does loop unroll work in hdl coder?

2 ビュー (過去 30 日間)
Gnaneswar Nadh satapathi
Gnaneswar Nadh satapathi 2014 年 5 月 2 日
回答済み: Kiran Kintali 2020 年 9 月 5 日
these are matlab resource report generated --more hardware is without loop unroll & less hardware is with loop unroll

回答 (1 件)

Kiran Kintali
Kiran Kintali 2020 年 9 月 5 日
These HDL Coder documentation files should explain the behavior.
The coder.hdl.loopspec('unroll') pragma transforms loops by creating multiples copies of the loop body in the RTL design, which allows some or all loop iterations to occur in parallel.
coder.hdl.loopspec('stream') generates a single instance of the loop body in the HDL code and generates additional state machine logic necessary to share the loop body.

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by