rempips: always roll back on failure

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-12-24 09:34:46 -08:00
parent 581f26824f
commit 8ba1e84dfb
1 changed files with 6 additions and 6 deletions

View File

@ -89,18 +89,18 @@ proc route_todo {} {
puts "WARNING: failed to route net"
write_checkpoint -force route_todo_$idx.$tries.fail.dcp
# sometimes it gets stuck in specific orientations
if {$tries >= 3} {
puts "WARNING: to route net after $tries tries"
break
}
# Roll back
puts "Rolling back route"
set_property is_route_fixed 0 $mynet
set_property is_bel_fixed 0 $mylut
set_property is_loc_fixed 1 $mylut
route_design -unroute -nets $mynet
# sometimes it gets stuck in specific orientations
if {$tries >= 3} {
puts "WARNING: failed to route net after $tries tries"
break
}
}
}
}