how does loop unroll work in hdl coder?

2 visualizzazioni (ultimi 30 giorni)
Gnaneswar Nadh satapathi
Gnaneswar Nadh satapathi il 2 Mag 2014
Risposto: Kiran Kintali il 5 Set 2020
these are matlab resource report generated --more hardware is without loop unroll & less hardware is with loop unroll

Risposte (1)

Kiran Kintali
Kiran Kintali il 5 Set 2020
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.

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by