From 8c6d5b49bee22effd09b3b1c6ea2a2d0ab67fe42 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 9 Jun 2020 13:09:52 -0700 Subject: [PATCH] Consider diffusion spacing in active offset --- compiler/pgates/ptx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/pgates/ptx.py b/compiler/pgates/ptx.py index f6716a1f..d52925ec 100644 --- a/compiler/pgates/ptx.py +++ b/compiler/pgates/ptx.py @@ -216,7 +216,8 @@ class ptx(design.design): nwell_enclose_active = 0 # Use the max of either so that the poly gates will align properly well_enclose_active = max(pwell_enclose_active, - nwell_enclose_active) + nwell_enclose_active, + self.active_space) self.active_offset = vector([well_enclose_active] * 2) # Well enclosure of active, ensure minwidth as well