Make graph router the default supply router

This commit is contained in:
Eren Dogan 2023-07-24 13:07:43 -07:00
parent 947e94323d
commit 5de7b9cda7
2 changed files with 4 additions and 4 deletions

View File

@ -257,10 +257,10 @@ class sram_1bank(design, verilog, lef):
return
elif OPTS.route_supplies == "grid":
from openram.router import supply_grid_router as router
elif OPTS.route_supplies == "graph":
from openram.router import graph_router as router
else:
elif OPTS.route_supplies == "tree":
from openram.router import supply_tree_router as router
else:
from openram.router import graph_router as router
rtr=router(layers=self.supply_stack,
design=self,
bbox=bbox,

View File

@ -113,7 +113,7 @@ class options(optparse.Values):
# When enabled, layout is not generated (and no DRC or LVS are performed)
netlist_only = False
# Whether we should do the final power routing
route_supplies = "tree"
route_supplies = "graph"
supply_pin_type = "ring"
# This determines whether LVS and DRC is checked at all.
check_lvsdrc = False