From 6bcffb8efb680f1321098580c52e59bf3fb0e2a8 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 25 Feb 2020 00:34:59 +0000 Subject: [PATCH] Change default cell height and fix contact width error --- compiler/pgates/pgate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/pgates/pgate.py b/compiler/pgates/pgate.py index 6d385d09..8b9a1c66 100644 --- a/compiler/pgates/pgate.py +++ b/compiler/pgates/pgate.py @@ -26,8 +26,8 @@ class pgate(design.design): if height: self.height = height elif not height: - # By default, we make it 8 M1 pitch tall - self.height = 8*self.m1_pitch + # By default, we make it 10 M1 pitch tall + self.height = 10*self.m1_pitch self.create_netlist() if not OPTS.netlist_only: @@ -103,7 +103,7 @@ class pgate(design.design): - vector(0.5 * contact_width - 0.5 * self.poly_width, 0) elif position == "right": contact_offset = left_gate_offset \ - + vector(0.5 * contact.width + 0.5 * self.poly_width, 0) + + vector(0.5 * contact_width + 0.5 * self.poly_width, 0) else: debug.error("Invalid contact placement option.", -1)