EPFL-LAP / dynamatic

DHLS (Dynamic High-Level Synthesis) compiler based on MLIR
Other
65 stars 19 forks source link

Failed to export RTL (vhdl) with exp-sharing-wrapper-generator #165

Closed udareechk closed 1 month ago

udareechk commented 1 month ago

Hi,

I built your latest code on Ubuntu 22.04 from the source code and tested the tutorial example in Ch1 to be working. I'm trying to run the script in the PR [Sharing][hdl] Resource sharing support in VHDL backend #85. I get an error in exporting to RTL for benchmark gsum.c (given in the script).

The output I get is below:

sharing_error

Is there anything I have missed in the build process to generate the exp-sharing-wrapper-generator? How can I solve this?

Thanks.

Jiahui17 commented 1 month ago

Thanks for reporting the issue!

I think the problem is that the binary is not yet symlinked to dynamatic/bin in build.sh. I will try to fix this soon.

For the time being, you could try to do this manually:

ln -sf ./dynamatic/build/bin/exp-sharing-wrapper-generator ./dynamatic/bin/exp-sharing-wrapper-generator
Jiahui17 commented 1 month ago

Hi this is fixed! Please pull from main and rerun the build.sh

udareechk commented 1 month ago

Hi, Thanks for the quick support and the fix provided!