From 4fc035728252655a2d8381ebfa7c54588160f262 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 4 Jan 2021 13:16:23 -0800 Subject: [PATCH] Small readability edit to dff_buf --- compiler/modules/dff_buf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/modules/dff_buf.py b/compiler/modules/dff_buf.py index 58d26007..6b556649 100644 --- a/compiler/modules/dff_buf.py +++ b/compiler/modules/dff_buf.py @@ -108,7 +108,10 @@ class dff_buf(design.design): well_spacing = max(well_spacing, self.pwell_to_nwell) except AttributeError: pass - self.inv1_inst.place(vector(self.dff_inst.rx() + well_spacing + self.well_extend_active, 0)) + + well_spacing += self.well_extend_active + + self.inv1_inst.place(vector(self.dff_inst.rx() + well_spacing, 0)) # Add INV2 to the right self.inv2_inst.place(vector(self.inv1_inst.rx(), 0))