필터 지우기
필터 지우기

Estimate execution time for a bloc simulink runing on FPGA

조회 수: 1 (최근 30일)
mouna riabi
mouna riabi 2017년 9월 19일
답변: Bharath Venkataraman 2017년 9월 22일
I use HDL Workflow to generate VHDL code of my bloc simulink. Now i need to estimate the execution time of my bloc when it run on FPGA. I have a solution which i could not apply. it consist to pass the input and output of my bloc simulink to a counter and use them to start and stop the counter. then we can retrieve the number of clock cycle between the input and output and multiply it by the frequency of FPGA. how can i do this ? any example for more understanding
Thank you for your help

답변 (1개)

Bharath Venkataraman
Bharath Venkataraman 2017년 9월 22일
Please take a look at the HDL Counter block . The reset port can be your start and at the stop, you can either register the output of the counter or else hold enable low to prevent further counting.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by