fix vnb and vpb routing in rba

This commit is contained in:
Jesse Cirimelli-Low
2021-07-08 18:31:55 -07:00
parent b5daa51a6c
commit 1a7adcfdad
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -620,7 +620,7 @@ class bank(design.design):
self.copy_power_pins(inst, "gnd", add_vias=False)
if 'vpb' in self.bitcell_array_inst.mod.pins and 'vnb' in self.bitcell_array_inst.mod.pins:
for pin_name, supply_name in zip(['vpb','vnb'],['gnd','vdd']):
for pin_name, supply_name in zip(['vnb','vpb'],['gnd','vdd']):
self.copy_power_pins(self.bitcell_array_inst, pin_name, new_name=supply_name)
# If we use the pinvbuf as the decoder, we need to add power pins.