mirror of https://github.com/VLSIDA/OpenRAM.git
Move power pins before no route option
This commit is contained in:
parent
fc12ea24e9
commit
4612c9c182
|
|
@ -129,13 +129,14 @@ class sram_base(design, verilog, lef):
|
||||||
def route_supplies(self):
|
def route_supplies(self):
|
||||||
""" Route the supply grid and connect the pins to them. """
|
""" Route the supply grid and connect the pins to them. """
|
||||||
|
|
||||||
# Do not route the power supply
|
# Copy the pins to the top level
|
||||||
if not OPTS.route_supplies:
|
# This will either be used to route or left unconnected.
|
||||||
return
|
|
||||||
|
|
||||||
for inst in self.insts:
|
for inst in self.insts:
|
||||||
self.copy_power_pins(inst,"vdd")
|
self.copy_power_pins(inst,"vdd")
|
||||||
self.copy_power_pins(inst,"gnd")
|
self.copy_power_pins(inst,"gnd")
|
||||||
|
# Do not route the power supply
|
||||||
|
if not OPTS.route_supplies:
|
||||||
|
return
|
||||||
|
|
||||||
from supply_router import supply_router as router
|
from supply_router import supply_router as router
|
||||||
layer_stack =("metal3","via3","metal4")
|
layer_stack =("metal3","via3","metal4")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue