Skip to content

Commit ec601eb

Browse files
stridge-cruxmlQuantamHD
authored andcommitted
Add a catch all case for other files to just be "added".
1 parent b3268b8 commit ec601eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vivado/defs.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def generate_file_load_tcl(module):
8484
elif file.extension == "xdc":
8585
constraints_content += "read_xdc " + file.path + "\n"
8686
else:
87-
fail("Unknown file type: " + file.path)
87+
# Try generic "add_files" for that type.
88+
hdl_source_content += "add_files " + file.path + "\n"
8889

8990
return [
9091
all_files,

0 commit comments

Comments
 (0)