Skip to content

Commit

Permalink
Some example projects create a custom fileset. Any bd from any filese…
Browse files Browse the repository at this point in the history
…t will do.
  • Loading branch information
Elod Gyorgy committed Sep 24, 2020
1 parent e0dd2b6 commit 41852e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digilent_vivado_checkin.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ foreach f $required_files {

# Save source files, including block design tcl script
# WARNING: This script does not capture any non-xdc files for block-design projects
set bd_files [get_files -of_objects [get_filesets sources_1] -filter "NAME=~*.bd && NAME!~*/bd/*/ip/*"]
set bd_files [get_files -filter "NAME=~*.bd && NAME!~*/bd/*/ip/*"]
if {[llength $bd_files] > 1} {
puts "ERROR: This script cannot handle projects containing more than one block design!"
} elseif {[llength $bd_files] == 1} {
Expand Down

0 comments on commit 41852e0

Please sign in to comment.