fpga: tools: Add ability to run commands before route
Original-commit: a617ff132fef4a28370d8b10b42463a459d44f6b
This commit is contained in:
committed by
Aaron Rossetto
parent
cfb4ba7f0b
commit
d6397f8f5e
@@ -105,6 +105,12 @@ proc ::vivado_strategies::implement_design {strategy} {
|
|||||||
phys_opt_design -directive $pp_physopt_dir
|
phys_opt_design -directive $pp_physopt_dir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Option to run commands before route
|
||||||
|
if {[dict exist $strategy "route_design.pre_hook"]} {
|
||||||
|
set pre_route_cmds [dict get $strategy "route_design.pre_hook"]
|
||||||
|
eval $pre_route_cmds
|
||||||
|
}
|
||||||
|
|
||||||
# Route the current design
|
# Route the current design
|
||||||
set rt_dir [dict get $strategy "route_design.directive"]
|
set rt_dir [dict get $strategy "route_design.directive"]
|
||||||
puts "BUILDER: Choosing routing directive: $rt_dir"
|
puts "BUILDER: Choosing routing directive: $rt_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user