From f491876a5a595a077cfbc07ee4e75e88160dab9c Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 23 Mar 2020 13:49:08 -0700 Subject: [PATCH] Move up B input in pnor2 --- compiler/pgates/pnor2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/pgates/pnor2.py b/compiler/pgates/pnor2.py index 3efe542d..75840f26 100644 --- a/compiler/pgates/pnor2.py +++ b/compiler/pgates/pnor2.py @@ -197,7 +197,7 @@ class pnor2(pgate.pgate): def route_inputs(self): """ Route the A and B inputs """ # Use M2 spaces so we can drop vias on the pins later! - inputB_yoffset = self.nmos2_inst.uy() + 0.5 * contact.poly_contact.height + inputB_yoffset = self.nmos2_inst.uy() + contact.poly_contact.height self.route_input_gate(self.pmos2_inst, self.nmos2_inst, inputB_yoffset,