scripts/adi_project_xilinx.tcl: Add new constraints file support

main
alin724 2022-07-15 10:58:50 +03:00 committed by Alin-Tudor Sferle
parent 9864d96096
commit 6aa899f161
1 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,8 @@ proc adi_project_files {project_name project_files} {
foreach pfile $project_files {
if {[string range $pfile [expr 1 + [string last . $pfile]] end] == "xdc"} {
add_files -norecurse -fileset constrs_1 $pfile
} elseif [regexp "_constr.tcl" $pfile] {
add_files -norecurse -fileset sources_1 $pfile
} else {
add_files -norecurse -fileset sources_1 $pfile
}