-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPP emitted causes Vitis to segfault #47
Comments
FWIW rewinding to d6ffcd0 and running with |
This is an error that I've never seen. But it seems Vivado has recognized all the dataflow stages, which is a good sign :) Thanks for providing the artifacts, will have a try on them. |
It would be good to capture this for the vitis hls folks: if you have the source code and TCL that fails? |
@stephenneuendorffer I think all of the artifacts should be enough for repro but I can provide whatever else is needed. |
Does this mean scaleHLS is guaranteed to work with Vivado, but not with Vitis? |
Same question. I found the |
I have also observed this issue. From a specific version, Vitis has renamed the "resource" directive to "bind_op" and "bind_storage" directives. Meanwhile, "bind_storage" is no longer allowed to be applied on interface arrays. Instead, the "storage_impl" and "storage_type" options are merged into the "interface" directive. A temporary solution to adapt Vitis HLS is updating the emission logic here: https://github.com/hanchenye/scalehls/blob/4acb8795839dd2ba291733a521f2646db756edd2/lib/Translation/EmitHLSCpp.cpp#L1751-L1754 Ultimately, I'd think to have a target triple for the C++ emitter to specify the vendor tool and version of emission. |
probably ultimately @stephenneuendorffer and Xilinx should just buy ScaleHLS 😉 |
Description
Tried to ScaleHLS+Vitis a simple model using the instructions in the README, namely
and got this on Vitis v2021.2:
with stack dump:
Dropping
#pragma HLS dataflow
both in forward and inforward_node19
doesn't fix but produces a different segfault:with different stack dump:
Let me know if there's anything I can do to help debug.
Artifacts
The text was updated successfully, but these errors were encountered: