Issues with Device Tree Compilation and FPGA Data Capture on ZedBoard

37 次查看(过去 30 天)
Hello,
I am trying to implement my algorithm on an FPGA using a ZedBoard. I have successfully completed an FPGA-in-the-Loop (FIL) test. However, my target sampling period is very short, and due to the limitations of Ethernet communication, I cannot exchange data at the microsecond level during FIL.
To address this, I am attempting to use the data capture feature by generating an IP core. I am using the HDL Workflow Advisor, and when I set the target reference design, I received the following warning:
Warning: Devicetree include directory "dts_repository\kernel_dtsi" specified by plugin "ZedBoard.plugin_board" could not be found. This may cause issues for device tree compilation and affect target device programming.
I ignored this warning and proceeded with the HDL Workflow Advisor. The HDL workflow progressed smoothly, and the FPGA bitstream was successfully built.
However, in the final step, Program Target Device, I encountered the following error:
Task "Program Target Device" unsuccessful. See log for details.
Generated logfile: hdl_prj\hdlsrc\SOGI_test2\workflow_task_ProgramTargetDevice.log
Device tree compilation failed with message:
Device tree compilation failed with message:
Error executing command "dtc -@ -I dts -O dtb -o /tmp/tmp.SLNqEG/devicetree_SOGI_test2.dtb /tmp/tmp.SLNqEG/devicetree_SOGI_test2.dts". Details:
STDERR: FATAL ERROR: Couldn't open "zynq-zed.dtsi": No such file or directory
I am unsure how to resolve this issue and would greatly appreciate guidance.
Additional questions:
  1. I am trying to capture data at the microsecond level. Is this the correct workflow for doing so? I have limited experience with FPGA development.
  2. Why is it that on the ZedBoard, the FPGA data capture storage type seems to be limited to internal memory only?
Thank you in advance for your help

回答(1 个)

Shantanu
Shantanu 2025-9-4,17:40
Hello 덕용,
The error FATAL ERROR: Couldn't open "zynq-zed.dtsi" means that the build process cannot find the base "map" file that describes the ZedBoard's hardware to the processor. This file is provided by a specific MATLAB add-on. Please follow these steps.
1. Open the Add-On Manager in MATLAB (Home->Add Ons->Manage Add-Ons)
2. Search for HDL Coder Support Package for AMD FPGA and SoC Devices.
3. If this package is not installed, install them else try reinstalling.
4. Ensure the installation finishes completely without any network errors or interruptions.
5. After the package is installed, delete your old project folder (hdl_prj) to ensure you start fresh.
6. Run the HDL Workflow Advisor again from the beginning. The initial warning should now be gone
These documentations might come handy
As for the additional questions, workflow seems correct based on information shared, following documentations will further clarify the same.
Hope this helps.
  1 个评论
덕용
덕용 2025-9-5,2:48
Thank you for your help.
After creating a new folder and re-running the HDL Workflow Advisor, the error was resolved.
Best regards,

请先登录,再进行评论。

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by