library/scripts: Fix ipx::get_file_groups process call

ipx::get_file_groups does not work, if there is specified just a [<pattern>] for its argument. Need to use a -filter to get proper result.
main
Istvan Csomortani 2015-08-20 10:56:37 +03:00
parent 0dfb3e2019
commit db18924f8a
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ proc adi_ip_files {ip_name ip_files} {
proc adi_ip_constraints {ip_name ip_constr_files {processing_order late}} { proc adi_ip_constraints {ip_name ip_constr_files {processing_order late}} {
set proj_filegroup [ipx::get_file_groups xilinx_v*synthesis -of_objects [ipx::current_core]] set proj_filegroup [ipx::get_file_groups -of_objects [ipx::current_core] -filter {NAME =~ *synthesis*}]
foreach f_name $ip_constr_files { foreach f_name $ip_constr_files {
ipx::add_file $f_name $proj_filegroup ipx::add_file $f_name $proj_filegroup
set_property type xdc [ipx::get_files $f_name -of_objects $proj_filegroup] set_property type xdc [ipx::get_files $f_name -of_objects $proj_filegroup]