EttusResearch / uhd

The USRP™ Hardware Driver Repository
http://uhd.ettus.com
Other
942 stars 644 forks source link

Vitis HLS C-Synthesis Fails on Project in UHD 4.5, 4.6, and Master Subdirectories #724

Open superdavid101 opened 5 months ago

superdavid101 commented 5 months ago

Issue Description

Vitis HLS 2021.1 Y2K22 patch, with Vivado 2021.1 AR76780 hangs indefinitely during C-synthesis in any subdirectory of UHD version > 4.4

Setup Details

  1. Ubuntu 22.04.3 LTS
  2. Vitis HLS 2021.1 Y2K22 patch (patch only necessary only for IP export, resolved in v2021.2)
  3. Vivado 2021.1 AR76780 patch
  4. A fresh clone of UHD
  5. a Vitis HLS project that has previously been able to synthesize (for example: https://github.com/Xilinx/RFNoC-HLS-WINLAB)

Expected Behavior

Vitis csynth finishes, since Vitis csynth and UHD are not related.

Actual Behaviour

Vitis csynth hangs indefinitely with no errors at step [HLS 200-777] "Using interface defaults for 'Vivado' flow target."

Steps to reproduce the problem

  1. git clone UHD
  2. Checkout any version above UHD 4.4
  3. copy a Vitis project to anywhere in the UHD 4.4 directory tree
  4. Run Vitis csynth on that project

Additional Information

This is a weird issue and a quality of life improvement for myself. All versions 4.4 and below have no issue. Nuking the .git folders does not fix the issue, and if i copy and overwrite existing files from 4.6 into 4.4, or do a local merge, the issue persists.

I have had no other issues with git for any other Vitis HLS projects, either mine or cloned from somewhere else.

I would like to get this working because I am trying to develop RFNoC blocks in UHD4.X for the foreseeable future.