From 196e5998c8753f410bf31a01dc351231cdda4a99 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 10 Jun 2020 16:52:51 -0700 Subject: [PATCH] Half poly space per cell at top and bottom. --- compiler/pgates/pgate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/pgates/pgate.py b/compiler/pgates/pgate.py index a8c45641..7ff73092 100644 --- a/compiler/pgates/pgate.py +++ b/compiler/pgates/pgate.py @@ -46,7 +46,8 @@ class pgate(design.design): # This is the space from a S/D contact to the supply rail contact_to_vdd_rail_space = 0.5 * self.m1_width + self.m1_space # This is a poly-to-poly of a flipped cell - poly_to_poly_gate_space = self.poly_extend_active + self.poly_space + poly_to_poly_gate_space = self.poly_extend_active + 0.5 * self.poly_space + self.top_bottom_space = max(contact_to_vdd_rail_space, poly_to_poly_gate_space)