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,