-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error: Missing FE IO mapping file #6
Comments
|
Without the custom command the flow works. With the custom command as above, here are some relevant messages from the log:
So csynth_design is not finished maybe? The RTL models were definitely generated though. I do want to know what the problem is in test.bc, otherwise I will never be able to use this flow ;)
|
Hello, could you please :
After this we can begin triaging the issue - please prepare the smallest possible testcase (test.c / tcl file/other test files) |
The example provided in https://github.com/Xilinx/HLS/tree/main/vitis_hls_examples/override_opt_flow_demo works correctly. ./proj/solution1/.autopilot/db/top-io-fe.xml does not exist. I am attaching an archive containing the input C code, tcl script, and a README with the command I used to generate the LLVM IR. |
Hello @SerenaC94 , Tips to debug this is to look into the If you don't mind sharing, I would like to know more on the intention of this experiment. Is this an exercise on exploring more the open source flow? Or are you trying to achieve other things in mind? Thanks! |
Ok thanks for the pointer! I inspected the intermediate IRs generated during csynth, and found I am experimenting because I want to know what are the requirements to synthesize an LLVM IR with vitis, in order to use later a frontend that produces LLVM IRs. |
Hi,
I tried a simple experiment to override the opt flow. My only modification to the provided tcl script is the following line
set ::LLVM_CUSTOM_CMD {cp test.bc $LLVM_CUSTOM_OUTPUT}
where
test.bc
is the LLVM IR I obtained by compiling the input C file with the clang version in Xilinx/Vitis_HLS/2021.1/lnx64/tools/clang-3.9-csynth. So in my mind this substitutes the (compiled) input code with the same (compiled) input code, minus passes/options that Vitis HLS had applied before the custom command.When I run the script it looks like some Verilog code is generated, but then I get this error:
I looked into the .autopilot/db logs, and I could not find any reason why my custom command could have prevented the generation of the missing XML file. As I said, I simply substituted the LLVM IR to be synthesized, and I do get a synthesized Verilog file in solution1/syn/verilog, so it looks like I did not disrupt the actual HLS process.
Any ideas?
The text was updated successfully, but these errors were encountered: