No of Pipeline Stages in Verilog coming from an m file (or latency)
Mostrar comentarios más antiguos
How does one find how many pipeline stages exist in the verilog file. Example, run the mdhlc_sobel filter example from the web site and just pushing the default buttons in work flow advisor I get the design to run fast exceeding my system requirements. However, I dont know how many pipeline registers were put in there. The verilog code seems to show 12 - 15 or more stages (not sure) but I cannot tell what the latency will be. Also, it is hard to see the structure/data flow in the verilog code due to the number of times variables change names and then are pipelined. Version is 2014a.
Respuesta aceptada
Más respuestas (1)
Tim McBrayer
el 15 de Sept. de 2014
The latency of a HDL Coder design should be output onto the Workflow Advisor output pane, on the HDL Code Generation tab. It will appear something like this:
### The DUT requires an initial pipeline setup latency. Each output port experiences these additional delays.
### Output port 0: 3 cycles.
### Output port 1: 3 cycles.
1 comentario
Arun
el 15 de Sept. de 2014
Categorías
Mostrar más
Más información sobre HDL-Optimized Algorithm Design en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!