Corrected the terminal resistance values for the xhigh_po (2000 ohms/sq. nominal) resistor, which were set to some old value left over from cut-and-paste and not updated like the high_po (320 ohms/sq. nominal) resistor. This error causes major discrepancies for the calculated device value when W is short. Note that this only affects the displayed value of the resistor in the device generator; the device simulates according to the correct width and length.
diff --git a/sky130/magic/sky130.tcl b/sky130/magic/sky130.tcl index 861e11f..0ff4489 100644 --- a/sky130/magic/sky130.tcl +++ b/sky130/magic/sky130.tcl
@@ -2306,7 +2306,7 @@ # "term" is rho * 0.06, the distance between xpc edge and CONT. proc sky130::sky130_fd_pr__res_xhigh_po_0p35_defaults {} { return {w 0.350 l 0.50 m 1 nx 1 wmin 0.350 lmin 0.50 \ - rho 2000 val 2875.143 dummy 0 dw 0.0 term 120 \ + rho 2000 val 2875.143 dummy 0 dw 0.0 term 19.188 \ sterm 0.0 caplen 0 wmax 0.350 \ guard 1 glc 1 grc 1 gtc 1 gbc 1 \ compatible {sky130_fd_pr__res_xhigh_po_0p35 \ @@ -2317,7 +2317,7 @@ } proc sky130::sky130_fd_pr__res_xhigh_po_0p69_defaults {} { return {w 0.690 l 1.00 m 1 nx 1 wmin 0.690 lmin 0.50 \ - rho 2000 val 2898.600 dummy 0 dw 0.0 term 120 \ + rho 2000 val 2898.600 dummy 0 dw 0.0 term 19.188 \ sterm 0.0 caplen 0 wmax 0.690 \ guard 1 glc 1 grc 1 gtc 1 gbc 1 \ compatible {sky130_fd_pr__res_xhigh_po_0p35 \ @@ -2328,7 +2328,7 @@ } proc sky130::sky130_fd_pr__res_xhigh_po_1p41_defaults {} { return {w 1.410 l 2.00 m 1 nx 1 wmin 1.410 lmin 0.50 \ - rho 2000 val 2836.900 dummy 0 dw 0.0 term 120 \ + rho 2000 val 2836.900 dummy 0 dw 0.0 term 19.188 \ sterm 0.0 caplen 0 wmax 1.410 \ guard 1 glc 1 grc 1 gtc 1 gbc 1 \ compatible {sky130_fd_pr__res_xhigh_po_0p35 \ @@ -2339,7 +2339,7 @@ } proc sky130::sky130_fd_pr__res_xhigh_po_2p85_defaults {} { return {w 2.850 l 3.00 m 1 nx 1 wmin 2.850 lmin 0.50 \ - rho 2000 val 2105.300 dummy 0 dw 0.0 term 120 \ + rho 2000 val 2105.300 dummy 0 dw 0.0 term 19.188 \ sterm 0.0 caplen 0 wmax 2.850 \ guard 1 glc 1 grc 1 gtc 1 gbc 1 \ compatible {sky130_fd_pr__res_xhigh_po_0p35 \ @@ -2350,7 +2350,7 @@ } proc sky130::sky130_fd_pr__res_xhigh_po_5p73_defaults {} { return {w 5.730 l 6.00 m 1 nx 1 wmin 5.730 lmin 0.50 \ - rho 2000 val 2094.200 dummy 0 dw 0.0 term 120 \ + rho 2000 val 2094.200 dummy 0 dw 0.0 term 19.188 \ sterm 0.0 caplen 0 wmax 5.730 \ guard 1 glc 1 grc 1 gtc 1 gbc 1 \ compatible {sky130_fd_pr__res_xhigh_po_0p35 \