Skip to content

Commit 4030df2

Browse files
committed
added tcl script
1 parent 9a38145 commit 4030df2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/vivado_fix_cells.tcl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set proj_path [lindex $argv 0]
2+
set module_nr [lindex $argv 1]
3+
open_project $proj_path/proj/module_$module_nr/module_$module_nr/module_$module_nr.xpr
4+
open_run synth_1 -name synth_1
5+
source $proj_path/src/mp7_ugt_legacy/scripts/constraints_fixed_cells.tcl
6+
file mkdir $proj_path/proj/module_$module_nr/module_$module_nr/module_$module_nr.srcs/constrs_1/new
7+
close [ open $proj_path/proj/module_$module_nr/module_$module_nr/module_$module_nr.srcs/constrs_1/new/fixed_cells.xdc w ]
8+
add_files -fileset constrs_1 $proj_path/proj/module_$module_nr/module_$module_nr/module_$module_nr.srcs/constrs_1/new/fixed_cells.xdc
9+
set_property target_constrs_file $proj_path/proj/module_$module_nr/module_$module_nr/module_$module_nr.srcs/constrs_1/new/fixed_cells.xdc [current_fileset -constrset]
10+
save_constraints -force
11+
close_project

0 commit comments

Comments
 (0)