adi_ip.tcl: Add helper function to add TTCL files to a core
Add a helper function which allows to add TTCL templates files to a core. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
7c896ba5f8
commit
522f30ce21
|
@ -56,6 +56,15 @@ proc adi_ip_constraints {ip_name ip_constr_files {processing_order late}} {
|
|||
] $f
|
||||
}
|
||||
|
||||
proc adi_ip_ttcl {ip_name ip_constr_files} {
|
||||
|
||||
set proj_filegroup [ipx::get_file_groups xilinx_v*synthesis -of_objects [ipx::current_core]]
|
||||
set f [ipx::add_file $ip_constr_files $proj_filegroup]
|
||||
set_property -dict [list \
|
||||
type ttcl \
|
||||
] $f
|
||||
}
|
||||
|
||||
proc adi_ip_properties {ip_name} {
|
||||
|
||||
ipx::package_project -root_dir .
|
||||
|
|
Loading…
Reference in New Issue