HDL coder simulation for video processing takes very long time. Is there way to do it faster ?

조회 수: 5 (최근 30일)
I have discrete-time settings with fixed step of 1. The frame size of video input 480 x 640.

채택된 답변

Bharath Venkataraman
Bharath Venkataraman 2017년 5월 26일
This is because of the pixel level processing. 480x640 translates to over 300K pixels per frame (not including blanking). Are you using Vision HDL Toolbox for this simulation with Frame To Pixels and Pixels To Frame blocks? If so, you have two options: 1. In Simulink, make sure that the model is in Accelerator/Rapid Accelerator mode. 2. Use a smaller image (say 60x80) to prove out your algorithm and run it on the larger frame size when you get to FPGA-in-the-Loop.
  댓글 수: 1
Mohammed Shameem Hussain
Mohammed Shameem Hussain 2017년 5월 30일
Thank you for your reply, yes that rapid mode works but it fails if I tried to implement the complex algorithm.
Error: Rapid Accelerator fails
IC:/PROGRA~1/MATLAB/R2017a\rtw\c\raccel -IC:/PROGRA~1/MATLAB/R2017a\rtw\c\src\rapid -w -noregistrylookup -nodeclspec TwoDimHaarWaveletTrans_1level_capi.c cpp: twodimhaarwavelettrans_1level_capi.c:41 compiler limit: line too long (more than 20253 chars)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by