mirror of https://github.com/openXC7/prjxray.git
Added handling of routing failure in the TCL script.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
parent
0377b5fb4c
commit
b99bd85fa4
|
|
@ -140,6 +140,18 @@ proc run {} {
|
|||
|
||||
route_design -directive Quick -preserve
|
||||
|
||||
if {[llength [get_nets -filter {ROUTE_STATUS!="ROUTED"}]] ne 0} {
|
||||
set nets [get_nets -filter {IS_ROUTE_FIXED==1}]
|
||||
puts "MANROUTE: Got unrouted nets: $nets"
|
||||
puts "MANROUTE: Ripping up and starting again with no fixed routes"
|
||||
|
||||
route_design -unroute
|
||||
set_property FIXED_ROUTE "" $nets
|
||||
set_property IS_ROUTE_FIXED 0 $nets
|
||||
|
||||
route_design -directive Quick
|
||||
}
|
||||
|
||||
write_checkpoint -force design.dcp
|
||||
write_bitstream -force design.bit
|
||||
write_pip_txtdata design_pips.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue