error HDL compilation failed

3 次查看(过去 30 天)
wang
wang 2023-3-20
I am replicating a MATLAB document, but there is an error in the process.
This error occurs when I click build to run.
  1 个评论
YP
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
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.

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by