mirror of https://github.com/openXC7/prjxray.git
rempips: always roll back on failure
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
581f26824f
commit
8ba1e84dfb
|
|
@ -89,18 +89,18 @@ proc route_todo {} {
|
||||||
|
|
||||||
puts "WARNING: failed to route net"
|
puts "WARNING: failed to route net"
|
||||||
write_checkpoint -force route_todo_$idx.$tries.fail.dcp
|
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"
|
puts "Rolling back route"
|
||||||
set_property is_route_fixed 0 $mynet
|
set_property is_route_fixed 0 $mynet
|
||||||
set_property is_bel_fixed 0 $mylut
|
set_property is_bel_fixed 0 $mylut
|
||||||
set_property is_loc_fixed 1 $mylut
|
set_property is_loc_fixed 1 $mylut
|
||||||
route_design -unroute -nets $mynet
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue