error HDL compilation failed
조회 수: 2 (최근 30일)
이전 댓글 표시
I am replicating a MATLAB document, but there is an error in the process.
This error occurs when I click build to run.
Error: HDL compilation failed. See F:\MATLAB2022A\666\examples\hdlverifier\data\videosharp_hdlsrc\Streaming_2_D_FIR_Filter_fil.log for details.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1330445/image.png)
댓글 수: 1
YP
2023년 3월 20일
The log shows 'streaming_2_d_fir_filter_pkg' is missing.
Make sure you add 'Streaming_2_D_FIR_Filter_pkg.vhd' in the filWizard.
답변 (1개)
Kiran Kintali
2023년 3월 23일
Can you check if all the design files are added to the filWizard? There seems to be a pilot error and some package files are missing.
https://ww2.mathworks.cn/help/hdlverifier/ug/video-processing-acceleration-using-fpga-in-the-loop.html
Generate HDL Code
Generate HDL code for the Streaming Video Sharpening subsystem by performing these steps:
a. Right-click on the block labeled Streaming 2-D FIR Filter.
b. Select HDL Code > Generate HDL for Subsystem in the context menu.
Alternatively, you can generate HDL code by entering the following command at the MATLAB prompt:
makehdl('fil_videosharp_sim/Streaming 2-D FIR Filter')
Add all the files generated in this step to the filWizard
Source Files
a. Add the previously generated HDL source files for the Streaming Video Sharpening subsystem.
b. Select Streaming_2_D_FIR_Filter.vhd as the Top-level file.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!