From 89396698ef69f8e8adcd33689ca38735812b24e6 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 20 Dec 2019 10:36:14 -0800 Subject: [PATCH] Non-preferred via in pnand active --- compiler/pgates/pnand2.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/pgates/pnand2.py b/compiler/pgates/pnand2.py index bc520c7b..dda736d2 100644 --- a/compiler/pgates/pnand2.py +++ b/compiler/pgates/pnand2.py @@ -224,10 +224,14 @@ class pnand2(pgate.pgate): # Midpoints of the L routes go horizontal first then vertical mid1_offset = vector(out_offset.x, top_pin_offset.y) mid2_offset = vector(out_offset.x, bottom_pin_offset.y) - + + # Non-preferred active contacts self.add_via_center(layers=self.m1_stack, + directions=("V","H"), offset=pmos_pin.center()) + # Non-preferred active contacts self.add_via_center(layers=self.m1_stack, + directions=("V","H"), offset=nmos_pin.center()) self.add_via_center(layers=self.m1_stack, offset=out_offset)