From a4bfbe3545d10e19d165f91145d104b8d7514aa5 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Wed, 25 Jul 2018 15:08:04 -0700 Subject: [PATCH] Move dff_array pins to center of rail --- compiler/modules/dff_array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/modules/dff_array.py b/compiler/modules/dff_array.py index 10bae3e8..5a09ae33 100644 --- a/compiler/modules/dff_array.py +++ b/compiler/modules/dff_array.py @@ -95,11 +95,11 @@ class dff_array(design.design): for col in range(self.columns): # Continous vdd rail along with label. vdd_pin=self.dff_insts[row,col].get_pin("vdd") - self.add_power_pin("vdd", vdd_pin.lc()) + self.add_power_pin("vdd", vdd_pin.center()) # Continous gnd rail along with label. gnd_pin=self.dff_insts[row,col].get_pin("gnd") - self.add_power_pin("gnd", gnd_pin.lc()) + self.add_power_pin("gnd", gnd_pin.center()) for row in range(self.rows):