Fix pin width
diff --git a/doitcode/sram.py b/doitcode/sram.py
index bc0b657..71438b1 100644
--- a/doitcode/sram.py
+++ b/doitcode/sram.py
@@ -2097,7 +2097,16 @@
# connect sig_net
layouter.add_wire(net=sig_net, wire=m3, pin=m3pin, shape=toppin_bb)
- via2sig_m3bb = toppin_bb
+ if is_leftrow:
+ via2sig_m3bb = _geo.Rect(
+ left=toppin_bb.right, bottom=toppin_bb.bottom,
+ right=(toppin_bb.right + 2.0), top=toppin_bb.top,
+ )
+ else:
+ via2sig_m3bb = _geo.Rect(
+ left=(toppin_bb.left - 2.0), bottom=toppin_bb.bottom,
+ right=toppin_bb.left, top=toppin_bb.top,
+ )
# connect oeb_net
w = tech.on_grid(zero_zerolipinbb.width, mult=2, rounding="floor")
@@ -2346,8 +2355,8 @@
(via2_m3bb.left, via2_m3bb.bottom),
(via2_m3bb.left, via2_m3bb.top),
(col_right, via2_m3bb.top),
- (col_right, sig_m3bb.top),
- (sig_m3bb.right, sig_m3bb.top),
+ (col_right, sig_m3bb.top + 1.0),
+ (sig_m3bb.right, sig_m3bb.top + 1.0),
(sig_m3bb.right, sig_m3bb.bottom),
(col_left, sig_m3bb.bottom),
(col_left, via2_m3bb.bottom),
@@ -2383,8 +2392,8 @@
(via2_m3bb.left, via2_m3bb.bottom),
(via2_m3bb.left, via2_m3bb.top),
(col_right, via2_m3bb.top),
- (col_right, sig_m3bb.top),
- (sig_m3bb.right, sig_m3bb.top),
+ (col_right, sig_m3bb.top + 1.0),
+ (sig_m3bb.right, sig_m3bb.top + 1.0),
(sig_m3bb.right, sig_m3bb.bottom),
(col_left, sig_m3bb.bottom),
(col_left, via2_m3bb.bottom),
@@ -2424,8 +2433,8 @@
(via2_m3bb.left, via2_m3bb.bottom),
(via2_m3bb.left, via2_m3bb.top),
(col_right, via2_m3bb.top),
- (col_right, sig_m3bb.top),
- (sig_m3bb.right, sig_m3bb.top),
+ (col_right, sig_m3bb.top + 1.0),
+ (sig_m3bb.right, sig_m3bb.top + 1.0),
(sig_m3bb.right, sig_m3bb.bottom),
(col_left, sig_m3bb.bottom),
(col_left, via2_m3bb.bottom),
@@ -2458,8 +2467,8 @@
(via2_m3bb.left, via2_m3bb.bottom),
(via2_m3bb.left, via2_m3bb.top),
(col_right, via2_m3bb.top),
- (col_right, sig_m3bb.top),
- (sig_m3bb.right, sig_m3bb.top),
+ (col_right, sig_m3bb.top + 1.0),
+ (sig_m3bb.right, sig_m3bb.top + 1.0),
(sig_m3bb.right, sig_m3bb.bottom),
(col_left, sig_m3bb.bottom),
(col_left, via2_m3bb.bottom),
@@ -2495,8 +2504,8 @@
(via2_m3bb.left, via2_m3bb.bottom),
(via2_m3bb.left, via2_m3bb.top),
(col_right, via2_m3bb.top),
- (col_right, sig_m3bb.top),
- (sig_m3bb.right, sig_m3bb.top),
+ (col_right, sig_m3bb.top + 1.0),
+ (sig_m3bb.right, sig_m3bb.top + 1.0),
(sig_m3bb.right, sig_m3bb.bottom),
(col_left, sig_m3bb.bottom),
(col_left, via2_m3bb.bottom),
diff --git a/gds/user_analog_project_wrapper.gds.gz b/gds/user_analog_project_wrapper.gds.gz
index d54d89f..61b5864 100644
--- a/gds/user_analog_project_wrapper.gds.gz
+++ b/gds/user_analog_project_wrapper.gds.gz
Binary files differ