Xilinx / Vitis-Tutorials

Vitis In-Depth Tutorials
https://Xilinx.github.io/Vitis-Tutorials/
MIT License
1.18k stars 549 forks source link

Vitis-Tutorials/Vitis_HLS/Design_Tutorials /02-Beamformer/ERROR: [HLS 200-101] add_files: Too many positional arguments specified. #448

Open praphull4 opened 2 months ago

praphull4 commented 2 months ago

I am getting error ERROR: [HLS 200-101] add_files: Too many positional arguments specified, while following the initial 6 steps of _https://github.com/Xilinx/Vitis-Tutorials/tree/2023.2/Vitis_HLS/Design_Tutorials/02-Beamformer#results_ in Vitis HLS 2023.2.

I have assigned the project name as mgs_qrd_wbs_usplus. Added./reference_files/mgs_qrd_wbs.cpp and ./reference_files/mgs_qrd_wbs.h as a Design File, ./reference_files/mgs_qrd_wbs_tb.cppas a Test Bench File, set the Top Function to mgs_qrd.

Please give the solution for Vitis HLS 2023.2

praphull4 commented 2 months ago

I was able to run simulation and synthesis using Vitis Unified IDE. But similar Read.Md can be created for Vitis HLS as well.

allyzhou commented 3 weeks ago

@praphull4 I can run C sim and synth without any error in Vitis IDE or CLI and in both 2023.2 and 2024.1. by Vitis HLS, do you mean the Classic Vitis HLS? Please note since 2023.2, Vitis Unified IDE has become the default GUI of Vitis (including HLS) and that's what was used to create this tutorial. the Classic IDE will soon be deprecated.