Skip to content
Snippets Groups Projects
Commit c1ce443e authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Stitch] print failing dir if IP stitch fails

parent f6ee5365
No related branches found
No related tags found
No related merge requests found
......@@ -565,6 +565,10 @@ class CreateStitchedIP(Transformation):
if os.path.isfile(wrapper_filename_alt):
model.set_metadata_prop("wrapper_filename", wrapper_filename_alt)
else:
raise Exception("CreateStitchedIP failed, no wrapper HDL found.")
raise Exception(
"""CreateStitchedIP failed, no wrapper HDL found under %s or %s.
Please check logs under the parent directory."""
% (wrapper_filename, wrapper_filename_alt)
)
return (model, False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment