From 933e5f2b8e42c5ec25b83c6d242455ada6f3e926 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Mon, 7 Aug 2023 16:03:36 -0400 Subject: [PATCH] Corrected the magic tech file extract section to allow either pwell or nwell to be valid bulk terminals to the res_high_po and res_xhigh_po resistors in the sky130 technology (previously only pwell was extracted correctly, so resistors over nwell were not extracted correctly). --- sky130/magic/sky130.tech | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech index 4ff5d6a6..8d4ad2f6 100644 --- a/sky130/magic/sky130.tech +++ b/sky130/magic/sky130.tech @@ -6430,29 +6430,29 @@ variants (),(si),(hrhc),(lrhc),(hrlc),(lrlc) photo pwell,space/w error a=area device rsubcircuit sky130_fd_pr__res_high_po xhrpoly \ - xpc pwell,space/w error l=l w=w + xpc nwell,pwell,space/w error l=l w=w device rsubcircuit sky130_fd_pr__res_high_po_0p35 xhrpoly \ - xpc pwell,space/w error w>0.34 w<0.36 l=l + xpc nwell,pwell,space/w error w>0.34 w<0.36 l=l device rsubcircuit sky130_fd_pr__res_high_po_0p69 xhrpoly \ - xpc pwell,space/w error w>0.68 w<0.70 l=l + xpc nwell,pwell,space/w error w>0.68 w<0.70 l=l device rsubcircuit sky130_fd_pr__res_high_po_1p41 xhrpoly \ - xpc pwell,space/w error w>1.40 w<1.42 l=l + xpc nwell,pwell,space/w error w>1.40 w<1.42 l=l device rsubcircuit sky130_fd_pr__res_high_po_2p85 xhrpoly \ - xpc pwell,space/w error w>2.84 w<2.86 l=l + xpc nwell,pwell,space/w error w>2.84 w<2.86 l=l device rsubcircuit sky130_fd_pr__res_high_po_5p73 xhrpoly \ - xpc pwell,space/w error w>5.72 w<5.74 l=l + xpc nwell,pwell,space/w error w>5.72 w<5.74 l=l device rsubcircuit sky130_fd_pr__res_xhigh_po uhrpoly \ - xpc pwell,space/w error l=l w=w + xpc nwell,pwell,space/w error l=l w=w device rsubcircuit sky130_fd_pr__res_xhigh_po_0p35 uhrpoly \ - xpc pwell,space/w error w>0.34 w<0.36 l=l + xpc nwell,pwell,space/w error w>0.34 w<0.36 l=l device rsubcircuit sky130_fd_pr__res_xhigh_po_0p69 uhrpoly \ - xpc pwell,space/w error w>0.68 w<0.70 l=l + xpc nwell,pwell,space/w error w>0.68 w<0.70 l=l device rsubcircuit sky130_fd_pr__res_xhigh_po_1p41 uhrpoly \ - xpc pwell,space/w error w>1.40 w<1.42 l=l + xpc nwell,pwell,space/w error w>1.40 w<1.42 l=l device rsubcircuit sky130_fd_pr__res_xhigh_po_2p85 uhrpoly \ - xpc pwell,space/w error w>2.84 w<2.86 l=l + xpc nwell,pwell,space/w error w>2.84 w<2.86 l=l device rsubcircuit sky130_fd_pr__res_xhigh_po_5p73 uhrpoly \ - xpc pwell,space/w error w>5.72 w<5.74 l=l + xpc nwell,pwell,space/w error w>5.72 w<5.74 l=l device rsubcircuit sky130_fd_pr__res_generic_nd ndiffres \ *ndiff pwell,space/w error l=l w=w