diff --git a/compiler/router/grid.py b/compiler/router/grid.py index 17a2d792..6c408000 100644 --- a/compiler/router/grid.py +++ b/compiler/router/grid.py @@ -249,6 +249,7 @@ class grid: self.q.put((predicted_cost,newpath)) #self.view() + # View the unable to route result. self.view() debug.error("Unable to route path. Expand area?",-1) diff --git a/compiler/router/router.py b/compiler/router/router.py index 75ae3753..30c0b7f5 100644 --- a/compiler/router/router.py +++ b/compiler/router/router.py @@ -154,13 +154,15 @@ class router: self.set_target(dest) - self.rg.view() + # View the initial route pins and blockages for debugging + #self.rg.view() # returns the path in tracks (self.path,cost) = self.rg.route(cost_factor) debug.info(1,"Found path: cost={0} ".format(cost)) debug.info(2,str(self.path)) self.set_path(self.path) + # View the final route for debugging self.rg.view() return