adi_ip_alt.tcl: Allow to add TCL files to the fileset

TCL files can be helpful to automate certain tasks like creating timing
constraints. Add handling for them to the ad_ip_addfile function.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2017-08-04 09:34:17 +02:00
parent 4acb91bedb
commit 9bf852fff2
1 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,10 @@ proc ad_ip_addfile {pname pfile} {
add_fileset_file $pmodule SDC PATH $pfile
return
}
if {$ptype eq ".tcl"} {
add_fileset_file $pmodule OTHER PATH $pfile
return
}
}
proc ad_ip_files {pname pfiles {pfunction ""}} {