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
parent
4acb91bedb
commit
9bf852fff2
|
@ -151,6 +151,10 @@ proc ad_ip_addfile {pname pfile} {
|
||||||
add_fileset_file $pmodule SDC PATH $pfile
|
add_fileset_file $pmodule SDC PATH $pfile
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if {$ptype eq ".tcl"} {
|
||||||
|
add_fileset_file $pmodule OTHER PATH $pfile
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
proc ad_ip_files {pname pfiles {pfunction ""}} {
|
proc ad_ip_files {pname pfiles {pfunction ""}} {
|
||||||
|
|
Loading…
Reference in New Issue