change retry
diff --git a/caravel/gds/layout_opamp.gds b/caravel/gds/layout_opamp.gds new file mode 100644 index 0000000..eed3d13 --- /dev/null +++ b/caravel/gds/layout_opamp.gds Binary files differ
diff --git a/caravel/gds/user_analog_project_wrapper.gds b/caravel/gds/user_analog_project_wrapper.gds index e6fda78..1295e1f 100644 --- a/caravel/gds/user_analog_project_wrapper.gds +++ b/caravel/gds/user_analog_project_wrapper.gds Binary files differ
diff --git a/caravel/mag/layout_opamp.mag b/caravel/mag/layout_opamp.mag index cb400d8..b85a86d 100644 --- a/caravel/mag/layout_opamp.mag +++ b/caravel/mag/layout_opamp.mag
@@ -1,6 +1,6 @@ magic tech sky130A -timestamp 1634389310 +timestamp 1634491023 << nwell >> rect -107 244 1438 6840 << nmos >> @@ -768,12 +768,10 @@ rect 494 -108 512 -70 rect 559 -108 573 -70 rect 494 -149 573 -108 -rect 274 -171 328 -169 -rect 210 -199 328 -171 +rect 210 -205 328 -171 rect 494 -187 508 -149 rect 555 -187 573 -149 rect 494 -195 573 -187 -rect 216 -205 328 -199 rect 274 -296 328 -205 rect 263 -309 329 -296 rect 263 -349 278 -309 @@ -1015,18 +1013,17 @@ rect 149 -198 155 -160 rect 504 -187 508 -149 rect 555 -180 561 -149 -rect 555 -187 741 -180 +rect 555 -187 693 -180 rect 95 -223 157 -198 -rect 504 -208 741 -187 -rect 507 -213 741 -208 +rect 504 -213 693 -187 rect -1025 -245 157 -223 rect -1133 -263 157 -245 rect -1133 -265 -966 -263 rect -1096 -347 -938 -345 rect 652 -347 692 -213 -rect -1096 -349 695 -347 +rect -1096 -349 694 -347 rect -1096 -440 -1063 -349 -rect -995 -404 695 -349 +rect -995 -404 694 -349 rect -995 -440 -938 -404 rect -1096 -456 -938 -440 rect 62664 -543 63233 -92 @@ -1117,15 +1114,4 @@ rect 66189 -540 68132 -13 rect 62664 -738 68132 -540 rect 62664 -771 67046 -738 -<< labels >> -rlabel metal1 121 -211 121 -211 1 in1 -rlabel locali 64 1534 64 1534 1 vdd -rlabel locali 815 -2490 815 -2490 1 vss -rlabel metal1 688 -197 688 -197 1 in2 -rlabel metal1 1247 195 1247 195 1 out -rlabel metal3 64472 -440 64472 -440 1 io_analog[0] -rlabel metal3 61078 8337 61078 8337 1 io_analog[1] -rlabel metal3 10346 8600 10346 8600 1 io_analog[2] -rlabel metal3 -15693 8951 -15693 8951 1 io_analog[3] -rlabel metal3 -57179 8864 -57179 8864 1 io_analog[4] << end >>
diff --git a/caravel/mag/layout_opamp_tapeout.mag b/caravel/mag/layout_opamp_tapeout.mag deleted file mode 100644 index 77787b3..0000000 --- a/caravel/mag/layout_opamp_tapeout.mag +++ /dev/null
@@ -1,1250 +0,0 @@ -magic -tech sky130A -timestamp 1634022751 -<< error_p >> -rect 1123 -1529 1124 -1512 -rect 1651 -1522 1652 -1505 -<< nwell >> -rect 1142 1031 2687 7627 -<< pwell >> -rect 715 2359 778 2373 -rect 863 2359 926 2362 -rect 715 2353 926 2359 -rect 715 702 1047 2353 -rect 2773 4631 3118 4940 -rect 1215 757 1954 962 -rect 715 557 1196 702 -rect 715 143 1047 557 -rect 715 -230 1046 143 -rect 791 -241 1046 -230 -rect 791 -244 853 -241 -rect 944 -291 1046 -241 -rect 944 -1318 1288 -291 -rect 1478 -1458 1822 570 -rect 2774 -1375 3118 4631 -<< nmos >> -rect 1330 770 1430 949 -rect 1731 770 1831 949 -rect 1062 -1305 1162 -304 -rect 1596 -1445 1696 557 -rect 2892 -1362 2992 4927 -<< pmos >> -rect 1326 1093 1426 2094 -rect 1755 1093 1855 2094 -rect 2185 1212 2285 7501 -<< ndiff >> -rect 733 2336 760 2343 -rect 733 2319 738 2336 -rect 755 2319 760 2336 -rect 733 2312 760 2319 -rect 809 2322 836 2329 -rect 809 2305 814 2322 -rect 831 2305 836 2322 -rect 809 2298 836 2305 -rect 733 -187 760 -180 -rect 733 -204 738 -187 -rect 755 -204 760 -187 -rect 733 -211 760 -204 -rect 881 2325 908 2332 -rect 881 2308 886 2325 -rect 903 2308 908 2325 -rect 881 2301 908 2308 -rect 1002 2316 1029 2323 -rect 1002 2299 1007 2316 -rect 1024 2299 1029 2316 -rect 1002 2292 1029 2299 -rect 809 -201 836 -194 -rect 809 -218 814 -201 -rect 831 -218 836 -201 -rect 809 -225 836 -218 -rect 881 -198 908 -191 -rect 881 -215 886 -198 -rect 903 -215 908 -198 -rect 881 -222 908 -215 -rect 2786 4644 2892 4927 -rect 2787 2894 2892 4644 -rect 2787 2876 2824 2894 -rect 2841 2876 2892 2894 -rect 2787 2805 2892 2876 -rect 2787 2787 2824 2805 -rect 2841 2787 2892 2805 -rect 1228 914 1330 949 -rect 1228 896 1262 914 -rect 1279 896 1330 914 -rect 1228 825 1330 896 -rect 1228 807 1262 825 -rect 1279 807 1330 825 -rect 1228 770 1330 807 -rect 1430 914 1540 949 -rect 1430 896 1481 914 -rect 1498 896 1540 914 -rect 1430 819 1540 896 -rect 1430 801 1477 819 -rect 1494 801 1540 819 -rect 1430 770 1540 801 -rect 1629 914 1731 949 -rect 1629 896 1663 914 -rect 1680 896 1731 914 -rect 1629 825 1731 896 -rect 1629 807 1663 825 -rect 1680 807 1731 825 -rect 1629 770 1731 807 -rect 1831 914 1941 949 -rect 1831 896 1882 914 -rect 1899 896 1941 914 -rect 1831 819 1941 896 -rect 1831 801 1878 819 -rect 1895 801 1941 819 -rect 1831 770 1941 801 -rect 2787 892 2892 2787 -rect 2787 874 2824 892 -rect 2841 874 2892 892 -rect 2787 803 2892 874 -rect 2787 785 2824 803 -rect 2841 785 2892 803 -rect 1491 467 1596 557 -rect 1491 449 1539 467 -rect 1556 449 1596 467 -rect 1001 -209 1028 -202 -rect 1001 -226 1006 -209 -rect 1023 -226 1028 -209 -rect 1001 -233 1028 -226 -rect 957 -377 1062 -304 -rect 957 -395 1006 -377 -rect 1023 -395 1062 -377 -rect 957 -1053 1062 -395 -rect 957 -1071 994 -1053 -rect 1011 -1071 1062 -1053 -rect 957 -1142 1062 -1071 -rect 957 -1160 994 -1142 -rect 1011 -1160 1062 -1142 -rect 957 -1305 1062 -1160 -rect 1162 -1053 1275 -304 -rect 1162 -1071 1213 -1053 -rect 1230 -1071 1275 -1053 -rect 1162 -1148 1275 -1071 -rect 1162 -1166 1209 -1148 -rect 1226 -1166 1275 -1148 -rect 1162 -1305 1275 -1166 -rect 1491 -1193 1596 449 -rect 1491 -1211 1528 -1193 -rect 1545 -1211 1596 -1193 -rect 1491 -1282 1596 -1211 -rect 1491 -1300 1528 -1282 -rect 1545 -1300 1596 -1282 -rect 1491 -1445 1596 -1300 -rect 1696 -1193 1809 557 -rect 1696 -1211 1747 -1193 -rect 1764 -1211 1809 -1193 -rect 1696 -1288 1809 -1211 -rect 1696 -1306 1743 -1288 -rect 1760 -1306 1809 -1288 -rect 1696 -1445 1809 -1306 -rect 2787 -1110 2892 785 -rect 2787 -1128 2824 -1110 -rect 2841 -1128 2892 -1110 -rect 2787 -1199 2892 -1128 -rect 2787 -1217 2824 -1199 -rect 2841 -1217 2892 -1199 -rect 2787 -1362 2892 -1217 -rect 2992 2894 3105 4927 -rect 2992 2876 3043 2894 -rect 3060 2876 3105 2894 -rect 2992 2799 3105 2876 -rect 2992 2781 3039 2799 -rect 3056 2781 3105 2799 -rect 2992 892 3105 2781 -rect 2992 874 3043 892 -rect 3060 874 3105 892 -rect 2992 797 3105 874 -rect 2992 779 3039 797 -rect 3056 779 3105 797 -rect 2992 -1110 3105 779 -rect 2992 -1128 3043 -1110 -rect 3060 -1128 3105 -1110 -rect 2992 -1205 3105 -1128 -rect 2992 -1223 3039 -1205 -rect 3056 -1223 3105 -1205 -rect 2992 -1362 3105 -1223 -<< pdiff >> -rect 2079 7218 2185 7501 -rect 2080 5468 2185 7218 -rect 2080 5450 2117 5468 -rect 2134 5450 2185 5468 -rect 2080 5379 2185 5450 -rect 2080 5361 2117 5379 -rect 2134 5361 2185 5379 -rect 2080 3466 2185 5361 -rect 2080 3448 2117 3466 -rect 2134 3448 2185 3466 -rect 2080 3377 2185 3448 -rect 2080 3359 2117 3377 -rect 2134 3359 2185 3377 -rect 2080 2350 2185 3359 -rect 2080 2332 2126 2350 -rect 2143 2332 2185 2350 -rect 1221 2029 1326 2094 -rect 1221 2011 1266 2029 -rect 1283 2011 1326 2029 -rect 1221 1345 1326 2011 -rect 1221 1327 1258 1345 -rect 1275 1327 1326 1345 -rect 1221 1256 1326 1327 -rect 1221 1238 1258 1256 -rect 1275 1238 1326 1256 -rect 1221 1093 1326 1238 -rect 1426 2018 1539 2094 -rect 1426 2000 1476 2018 -rect 1493 2000 1539 2018 -rect 1426 1345 1539 2000 -rect 1426 1327 1477 1345 -rect 1494 1327 1539 1345 -rect 1426 1250 1539 1327 -rect 1426 1232 1473 1250 -rect 1490 1232 1539 1250 -rect 1426 1093 1539 1232 -rect 1650 2018 1755 2094 -rect 1650 2000 1698 2018 -rect 1715 2000 1755 2018 -rect 1650 1345 1755 2000 -rect 1650 1327 1687 1345 -rect 1704 1327 1755 1345 -rect 1650 1256 1755 1327 -rect 1650 1238 1687 1256 -rect 1704 1238 1755 1256 -rect 1650 1093 1755 1238 -rect 1855 1345 1968 2094 -rect 1855 1327 1906 1345 -rect 1923 1327 1968 1345 -rect 1855 1250 1968 1327 -rect 1855 1232 1902 1250 -rect 1919 1232 1968 1250 -rect 1855 1093 1968 1232 -rect 2080 1464 2185 2332 -rect 2080 1446 2117 1464 -rect 2134 1446 2185 1464 -rect 2080 1375 2185 1446 -rect 2080 1357 2117 1375 -rect 2134 1357 2185 1375 -rect 2080 1212 2185 1357 -rect 2285 5468 2398 7501 -rect 2285 5450 2336 5468 -rect 2353 5450 2398 5468 -rect 2285 5373 2398 5450 -rect 2285 5355 2332 5373 -rect 2349 5355 2398 5373 -rect 2285 3466 2398 5355 -rect 2285 3448 2336 3466 -rect 2353 3448 2398 3466 -rect 2285 3371 2398 3448 -rect 2285 3353 2332 3371 -rect 2349 3353 2398 3371 -rect 2285 2885 2398 3353 -rect 2285 2867 2336 2885 -rect 2353 2867 2398 2885 -rect 2285 1464 2398 2867 -rect 2285 1446 2336 1464 -rect 2353 1446 2398 1464 -rect 2285 1369 2398 1446 -rect 2285 1351 2332 1369 -rect 2349 1351 2398 1369 -rect 2285 1212 2398 1351 -<< ndiffc >> -rect 738 2319 755 2336 -rect 814 2305 831 2322 -rect 738 -204 755 -187 -rect 886 2308 903 2325 -rect 1007 2299 1024 2316 -rect 814 -218 831 -201 -rect 886 -215 903 -198 -rect 2824 2876 2841 2894 -rect 2824 2787 2841 2805 -rect 1262 896 1279 914 -rect 1262 807 1279 825 -rect 1481 896 1498 914 -rect 1477 801 1494 819 -rect 1663 896 1680 914 -rect 1663 807 1680 825 -rect 1882 896 1899 914 -rect 1878 801 1895 819 -rect 2824 874 2841 892 -rect 2824 785 2841 803 -rect 1539 449 1556 467 -rect 1006 -226 1023 -209 -rect 1006 -395 1023 -377 -rect 994 -1071 1011 -1053 -rect 994 -1160 1011 -1142 -rect 1213 -1071 1230 -1053 -rect 1209 -1166 1226 -1148 -rect 1528 -1211 1545 -1193 -rect 1528 -1300 1545 -1282 -rect 1747 -1211 1764 -1193 -rect 1743 -1306 1760 -1288 -rect 2824 -1128 2841 -1110 -rect 2824 -1217 2841 -1199 -rect 3043 2876 3060 2894 -rect 3039 2781 3056 2799 -rect 3043 874 3060 892 -rect 3039 779 3056 797 -rect 3043 -1128 3060 -1110 -rect 3039 -1223 3056 -1205 -<< pdiffc >> -rect 2117 5450 2134 5468 -rect 2117 5361 2134 5379 -rect 2117 3448 2134 3466 -rect 2117 3359 2134 3377 -rect 2126 2332 2143 2350 -rect 1266 2011 1283 2029 -rect 1258 1327 1275 1345 -rect 1258 1238 1275 1256 -rect 1476 2000 1493 2018 -rect 1477 1327 1494 1345 -rect 1473 1232 1490 1250 -rect 1698 2000 1715 2018 -rect 1687 1327 1704 1345 -rect 1687 1238 1704 1256 -rect 1906 1327 1923 1345 -rect 1902 1232 1919 1250 -rect 2117 1446 2134 1464 -rect 2117 1357 2134 1375 -rect 2336 5450 2353 5468 -rect 2332 5355 2349 5373 -rect 2336 3448 2353 3466 -rect 2332 3353 2349 3371 -rect 2336 2867 2353 2885 -rect 2336 1446 2353 1464 -rect 2332 1351 2349 1369 -<< psubdiff >> -rect 1065 651 1183 689 -rect 1065 599 1089 651 -rect 1141 599 1183 651 -rect 1065 570 1183 599 -<< nsubdiff >> -rect 1805 2480 1843 2485 -rect 1776 2465 1901 2480 -rect 1776 2447 1815 2465 -rect 1832 2447 1901 2465 -rect 1776 2428 1901 2447 -<< psubdiffcont >> -rect 1089 599 1141 651 -<< nsubdiffcont >> -rect 1815 2447 1832 2465 -<< poly >> -rect 2185 7501 2285 7524 -rect 1324 2193 1437 2226 -rect 1324 2142 1352 2193 -rect 1403 2142 1437 2193 -rect 1324 2103 1437 2142 -rect 1755 2192 1855 2223 -rect 1755 2141 1785 2192 -rect 1836 2141 1855 2192 -rect 1326 2094 1426 2103 -rect 1755 2094 1855 2141 -rect 2892 4927 2992 4950 -rect 2185 1143 2285 1212 -rect 2185 1126 2210 1143 -rect 2228 1126 2285 1143 -rect 2185 1099 2285 1126 -rect 1326 1047 1426 1093 -rect 1755 1047 1855 1093 -rect 1330 949 1430 983 -rect 1731 949 1831 983 -rect 1330 701 1430 770 -rect 1731 762 1831 770 -rect 1330 683 1363 701 -rect 1380 683 1430 701 -rect 1330 649 1430 683 -rect 1730 707 1831 762 -rect 1730 689 1776 707 -rect 1793 689 1831 707 -rect 1730 650 1831 689 -rect 1330 648 1429 649 -rect 1596 557 1696 582 -rect 1062 -304 1162 -256 -rect 1062 -1320 1162 -1305 -rect 1061 -1512 1164 -1320 -rect 2892 -1375 2992 -1362 -rect 1061 -1529 1089 -1512 -rect 1107 -1529 1123 -1512 -rect 1141 -1529 1164 -1512 -rect 1061 -1583 1164 -1529 -rect 1596 -1505 1696 -1445 -rect 1596 -1522 1617 -1505 -rect 1635 -1522 1651 -1505 -rect 1669 -1522 1696 -1505 -rect 2890 -1489 2992 -1375 -rect 2890 -1506 2935 -1489 -rect 2953 -1506 2992 -1489 -rect 2890 -1517 2992 -1506 -rect 1596 -1552 1696 -1522 -rect 2896 -1529 2990 -1517 -<< polycont >> -rect 1352 2142 1403 2193 -rect 1785 2141 1836 2192 -rect 2210 1126 2228 1143 -rect 1363 683 1380 701 -rect 1776 689 1793 707 -rect 1089 -1529 1107 -1512 -rect 1123 -1529 1141 -1512 -rect 1617 -1522 1635 -1505 -rect 1651 -1522 1669 -1505 -rect 2935 -1506 2953 -1489 -<< ndiffres >> -rect 728 2343 765 2360 -rect 728 2312 733 2343 -rect 760 2312 765 2343 -rect 728 176 765 2312 -rect 804 2329 841 2346 -rect 804 2298 809 2329 -rect 836 2298 841 2329 -rect 728 -180 764 176 -rect 728 -211 733 -180 -rect 760 -211 764 -180 -rect 728 -217 764 -211 -rect 804 162 841 2298 -rect 876 2332 913 2349 -rect 876 2301 881 2332 -rect 908 2301 913 2332 -rect 876 165 913 2301 -rect 997 2323 1034 2340 -rect 997 2292 1002 2323 -rect 1029 2292 1034 2323 -rect 804 -194 840 162 -rect 804 -225 809 -194 -rect 836 -225 840 -194 -rect 804 -231 840 -225 -rect 876 -191 912 165 -rect 876 -222 881 -191 -rect 908 -222 912 -191 -rect 876 -228 912 -222 -rect 997 156 1034 2292 -rect 997 -202 1033 156 -rect 997 -233 1001 -202 -rect 1028 -233 1033 -202 -rect 997 -239 1033 -233 -<< locali >> -rect 44409 82192 45223 82197 -rect -6542 81588 -5893 81598 -rect -74300 80640 -74297 81485 -rect -73703 80640 -73700 81485 -rect -32425 81348 -31707 81353 -rect -32425 80466 -32417 81348 -rect -31715 80466 -31707 81348 -rect -6542 80851 -6532 81588 -rect -5903 80851 -5893 81588 -rect 44409 81023 44411 82192 -rect 45221 81023 45223 82192 -rect 44409 81018 45223 81023 -rect -6542 80841 -5893 80851 -rect -32425 80461 -31707 80466 -rect -74823 79829 -73314 80043 -rect -74823 79200 -74324 79829 -rect -73586 79200 -73314 79829 -rect -74823 66264 -73314 79200 -rect -32967 79756 -31247 80034 -rect -32967 79270 -32509 79756 -rect -31592 79270 -31247 79756 -rect -32967 72136 -31247 79270 -rect -7309 80015 -148 80342 -rect -7309 79601 -6543 80015 -rect -5914 79842 -148 80015 -rect -5914 79601 -103 79842 -rect -7309 78819 -103 79601 -rect -853 75622 -103 78819 -rect 44333 79067 45063 79069 -rect 44333 78005 44347 79067 -rect 45049 78005 45063 79067 -rect 44333 78003 45063 78005 -rect -625 72733 -103 75622 -rect -2065 72136 -1273 72461 -rect -35045 70966 -1174 72136 -rect -35137 66400 -6241 67033 -rect -35137 66264 -7847 66400 -rect -74823 65483 -7847 66264 -rect -7110 65483 -6241 66400 -rect -74823 64901 -6241 65483 -rect -74458 64804 -6241 64901 -rect -35137 64389 -6241 64804 -rect -2065 63760 -1273 70966 -rect -625 69954 -127 72733 -rect 41842 71340 49922 71948 -rect 41842 70998 49391 71340 -rect 49660 70998 49922 71340 -rect 50403 71342 50818 71343 -rect 50403 71000 50404 71342 -rect 50817 71000 50818 71342 -rect 50403 70999 50818 71000 -rect 41842 70682 49922 70998 -rect 41842 70557 44036 70682 -rect 48085 70654 49922 70682 -rect -625 67957 -169 69954 -rect -1873 36780 -1396 63760 -rect -625 43427 -164 67957 -rect 6513 66282 8206 67046 -rect 6513 65365 6826 66282 -rect 7563 65365 8206 66282 -rect 6513 64060 8206 65365 -rect 15580 65424 17827 65914 -rect 15580 64470 16273 65424 -rect 17263 64470 17827 65424 -rect 6667 49694 7593 64060 -rect -1873 34727 -1250 36780 -rect -1727 3401 -1250 34727 -rect -532 12311 -164 43427 -rect 6681 13258 7525 49694 -rect -486 5910 -164 12311 -rect 6644 11434 7525 13258 -rect 162 8381 408 8427 -rect 5176 8381 5508 8427 -rect 111 7945 5565 8381 -rect -486 4178 -143 5910 -rect -1727 2789 -1188 3401 -rect -1259 243 -1188 2789 -rect -467 557 -143 4178 -rect 162 2406 408 7945 -rect 2090 5468 2156 5492 -rect 2090 5450 2117 5468 -rect 2134 5450 2156 5468 -rect 2090 5421 2156 5450 -rect 2310 5468 2376 5492 -rect 2310 5450 2336 5468 -rect 2353 5450 2376 5468 -rect 2310 5421 2376 5450 -rect 2090 5379 2156 5403 -rect 2090 5361 2117 5379 -rect 2134 5361 2156 5379 -rect 2090 5332 2156 5361 -rect 2310 5373 2376 5404 -rect 2310 5355 2332 5373 -rect 2349 5355 2376 5373 -rect 2310 5333 2376 5355 -rect 2090 3466 2156 3490 -rect 2090 3448 2117 3466 -rect 2134 3448 2156 3466 -rect 2090 3419 2156 3448 -rect 2310 3466 2376 3490 -rect 2310 3448 2336 3466 -rect 2353 3448 2376 3466 -rect 2310 3419 2376 3448 -rect 2090 3377 2156 3401 -rect 2090 3359 2117 3377 -rect 2134 3359 2156 3377 -rect 2090 3330 2156 3359 -rect 2310 3371 2376 3402 -rect 2310 3353 2332 3371 -rect 2349 3353 2376 3371 -rect 2310 3331 2376 3353 -rect 5176 3032 5508 7945 -rect 6644 4059 7089 11434 -rect 15580 7664 17827 64470 -rect 15580 7071 15941 7664 -rect 16319 7071 17827 7664 -rect 15580 6817 17827 7071 -rect 6644 3789 6805 4059 -rect 7002 3789 7089 4059 -rect 6644 3261 7089 3789 -rect 41842 3032 43068 70557 -rect 2314 2903 2380 2916 -rect 2797 2903 2863 2918 -rect 2314 2894 2863 2903 -rect 2314 2885 2824 2894 -rect 2314 2867 2336 2885 -rect 2353 2876 2824 2885 -rect 2841 2876 2863 2894 -rect 2353 2867 2863 2876 -rect 2314 2863 2863 2867 -rect 2314 2845 2380 2863 -rect 2797 2847 2863 2863 -rect 3017 2894 3083 2918 -rect 3017 2876 3043 2894 -rect 3060 2876 3083 2894 -rect 3017 2847 3083 2876 -rect 2797 2805 2863 2829 -rect 2797 2787 2824 2805 -rect 2841 2787 2863 2805 -rect 2797 2758 2863 2787 -rect 3017 2799 3083 2830 -rect 3017 2781 3039 2799 -rect 3056 2781 3083 2799 -rect 3017 2759 3083 2781 -rect 1798 2473 1930 2480 -rect 1798 2467 1936 2473 -rect 1796 2465 1936 2467 -rect 1796 2447 1815 2465 -rect 1832 2447 1936 2465 -rect 1796 2415 1936 2447 -rect 162 2404 912 2406 -rect 1099 2404 1137 2405 -rect 162 2385 1139 2404 -rect 727 2375 1139 2385 -rect 729 2348 767 2375 -rect 1099 2373 1137 2375 -rect 1100 2351 1137 2373 -rect 1900 2362 1936 2415 -rect 2099 2362 2165 2374 -rect 1900 2358 2165 2362 -rect 1284 2351 2165 2358 -rect 878 2349 912 2351 -rect 1100 2350 2165 2351 -rect 730 2336 765 2348 -rect 730 2319 738 2336 -rect 755 2319 765 2336 -rect 730 2309 765 2319 -rect 731 2301 765 2309 -rect 806 2346 840 2347 -rect 806 2338 841 2346 -rect 878 2338 913 2349 -rect 1100 2342 2126 2350 -rect 1013 2340 1036 2342 -rect 806 2325 913 2338 -rect 806 2322 886 2325 -rect 806 2305 814 2322 -rect 831 2308 886 2322 -rect 903 2308 913 2325 -rect 1000 2323 1036 2340 -rect 831 2305 913 2308 -rect 806 2303 913 2305 -rect 806 2295 841 2303 -rect 878 2298 913 2303 -rect 807 2287 841 2295 -rect 879 2290 913 2298 -rect 942 2320 970 2323 -rect 999 2320 1036 2323 -rect 942 2316 1036 2320 -rect 942 2299 1007 2316 -rect 1024 2305 1036 2316 -rect 1100 2338 1695 2342 -rect 1100 2320 1471 2338 -rect 1488 2324 1695 2338 -rect 1712 2332 2126 2342 -rect 2143 2332 2165 2350 -rect 1712 2324 2165 2332 -rect 1488 2320 2165 2324 -rect 1100 2308 2165 2320 -rect 1024 2299 1034 2305 -rect 2099 2303 2165 2308 -rect 942 2288 1034 2299 -rect 942 1639 970 2288 -rect 1000 2281 1034 2288 -rect 1321 2225 1442 2233 -rect 1321 2193 1856 2225 -rect 1253 2169 1290 2172 -rect 1321 2169 1352 2193 -rect 1253 2142 1352 2169 -rect 1403 2192 1856 2193 -rect 1403 2142 1785 2192 -rect 1253 2141 1785 2142 -rect 1836 2141 1856 2192 -rect 1253 2136 1856 2141 -rect 1253 2053 1290 2136 -rect 1321 2108 1856 2136 -rect 1321 2102 1442 2108 -rect 1240 2029 1306 2053 -rect 1240 2011 1266 2029 -rect 1283 2011 1306 2029 -rect 1240 1982 1306 2011 -rect 1450 2023 1516 2042 -rect 1450 2005 1473 2023 -rect 1491 2018 1516 2023 -rect 1450 2000 1476 2005 -rect 1493 2000 1516 2018 -rect 1450 1971 1516 2000 -rect 1672 2023 1738 2042 -rect 1672 2005 1695 2023 -rect 1713 2018 1738 2023 -rect 1672 2000 1698 2005 -rect 1715 2000 1738 2018 -rect 1672 1971 1738 2000 -rect 5176 1849 43068 3032 -rect 41842 1706 43068 1849 -rect 942 1623 972 1639 -rect 944 1261 972 1623 -rect 2090 1464 2156 1488 -rect 2090 1446 2117 1464 -rect 2134 1446 2156 1464 -rect 2090 1417 2156 1446 -rect 2310 1464 2376 1488 -rect 2310 1446 2336 1464 -rect 2353 1446 2376 1464 -rect 2310 1417 2376 1446 -rect 2090 1375 2156 1399 -rect 1231 1345 1297 1369 -rect 1231 1327 1258 1345 -rect 1275 1327 1297 1345 -rect 1231 1298 1297 1327 -rect 1451 1345 1517 1369 -rect 1451 1327 1477 1345 -rect 1494 1327 1517 1345 -rect 1451 1298 1517 1327 -rect 1660 1345 1726 1369 -rect 1660 1327 1687 1345 -rect 1704 1327 1726 1345 -rect 1660 1298 1726 1327 -rect 1880 1345 1946 1369 -rect 1880 1327 1906 1345 -rect 1923 1327 1946 1345 -rect 2090 1357 2117 1375 -rect 2134 1357 2156 1375 -rect 2090 1328 2156 1357 -rect 2310 1369 2376 1400 -rect 2310 1351 2332 1369 -rect 2349 1351 2376 1369 -rect 2310 1329 2376 1351 -rect 1880 1298 1946 1327 -rect 2320 1289 2353 1329 -rect 940 1206 972 1261 -rect 1231 1256 1297 1280 -rect 1231 1238 1258 1256 -rect 1275 1238 1297 1256 -rect 1231 1209 1297 1238 -rect 1451 1250 1517 1281 -rect 1451 1232 1473 1250 -rect 1490 1232 1517 1250 -rect 1451 1210 1517 1232 -rect 1660 1256 1726 1280 -rect 1660 1238 1687 1256 -rect 1704 1238 1726 1256 -rect 1880 1250 1946 1281 -rect 1880 1248 1902 1250 -rect 1660 1209 1726 1238 -rect 1877 1232 1902 1248 -rect 1919 1232 1946 1250 -rect 1877 1210 1946 1232 -rect 2320 1248 2614 1289 -rect 2320 1215 2353 1248 -rect 940 770 971 1206 -rect 1254 938 1281 1209 -rect 1877 1004 1922 1210 -rect 2305 1159 2347 1173 -rect 2193 1143 2347 1159 -rect 2193 1126 2210 1143 -rect 2228 1126 2347 1143 -rect 2193 1112 2347 1126 -rect 2305 1024 2347 1112 -rect 2305 1004 2329 1024 -rect 2419 1004 2449 1248 -rect 1877 965 2329 1004 -rect 2401 991 2480 1004 -rect 2401 974 2457 991 -rect 2474 974 2480 991 -rect 2401 965 2480 974 -rect 1877 938 1922 965 -rect 1235 914 1301 938 -rect 1235 896 1262 914 -rect 1279 896 1301 914 -rect 1235 867 1301 896 -rect 1455 914 1521 938 -rect 1455 896 1481 914 -rect 1498 896 1521 914 -rect 1455 867 1521 896 -rect 1636 914 1702 938 -rect 1636 896 1663 914 -rect 1680 896 1702 914 -rect 1636 867 1702 896 -rect 1856 914 1922 938 -rect 1856 896 1882 914 -rect 1899 896 1922 914 -rect 1856 867 1922 896 -rect 2797 892 2863 916 -rect 2797 874 2824 892 -rect 2841 874 2863 892 -rect 1235 825 1301 849 -rect 1235 807 1262 825 -rect 1279 807 1301 825 -rect 1235 778 1301 807 -rect 1455 832 1521 850 -rect 1636 832 1702 849 -rect 1455 825 1702 832 -rect 1455 819 1663 825 -rect 1455 801 1477 819 -rect 1494 807 1663 819 -rect 1680 807 1702 825 -rect 1494 801 1702 807 -rect 1455 784 1702 801 -rect 1455 779 1521 784 -rect 501 557 680 561 -rect -486 494 680 557 -rect -486 441 571 494 -rect 624 441 680 494 -rect -486 407 680 441 -rect -486 402 651 407 -rect -1259 166 646 243 -rect -1259 41 410 166 -rect 572 41 646 166 -rect -1250 -45 646 41 -rect 939 225 971 770 -rect 1462 734 1505 779 -rect 1636 778 1702 784 -rect 1856 819 1922 850 -rect 2797 845 2863 874 -rect 3017 892 3083 916 -rect 3017 874 3043 892 -rect 3060 874 3083 892 -rect 3017 845 3083 874 -rect 1856 801 1878 819 -rect 1895 801 1922 819 -rect 1856 779 1922 801 -rect 2797 803 2863 827 -rect 2797 785 2824 803 -rect 2841 785 2863 803 -rect 2797 756 2863 785 -rect 3017 797 3083 828 -rect 3017 779 3039 797 -rect 3056 779 3083 797 -rect 3017 757 3083 779 -rect 1336 701 1415 727 -rect 1336 683 1363 701 -rect 1380 683 1415 701 -rect 1067 651 1215 668 -rect 1067 599 1089 651 -rect 1141 599 1215 651 -rect 1067 579 1215 599 -rect 1336 617 1415 683 -rect 1336 599 1366 617 -rect 1383 599 1415 617 -rect 1336 584 1415 599 -rect 1459 616 1505 734 -rect 1743 707 1822 735 -rect 1743 689 1776 707 -rect 1793 689 1822 707 -rect 1743 628 1822 689 -rect 1523 616 1577 618 -rect 1459 588 1577 616 -rect 1743 610 1772 628 -rect 1789 610 1822 628 -rect 1743 592 1822 610 -rect 1465 582 1577 588 -rect 1523 491 1577 582 -rect 1512 467 1578 491 -rect 1512 449 1539 467 -rect 1556 449 1578 467 -rect 1512 420 1578 449 -rect 719 -187 773 -166 -rect 719 -204 738 -187 -rect 755 -202 773 -187 -rect 795 -201 849 -180 -rect 795 -202 814 -201 -rect 755 -204 814 -202 -rect 719 -218 814 -204 -rect 831 -218 849 -201 -rect 719 -224 849 -218 -rect 719 -240 768 -224 -rect 795 -229 849 -224 -rect 867 -198 921 -177 -rect 867 -215 886 -198 -rect 903 -215 921 -198 -rect 867 -226 921 -215 -rect 798 -237 849 -229 -rect 870 -238 921 -226 -rect 939 -238 970 225 -rect 995 -209 1034 -194 -rect 995 -226 1006 -209 -rect 1023 -226 1034 -209 -rect 995 -228 1034 -226 -rect 995 -229 1035 -228 -rect 995 -238 1037 -229 -rect 870 -263 970 -238 -rect 993 -261 1037 -238 -rect 876 -266 970 -263 -rect 880 -267 903 -266 -rect 1000 -297 1035 -261 -rect 1001 -353 1033 -297 -rect 979 -377 1045 -353 -rect 979 -395 1006 -377 -rect 1023 -395 1045 -377 -rect 979 -424 1045 -395 -rect 967 -1053 1033 -1029 -rect 967 -1071 994 -1053 -rect 1011 -1071 1033 -1053 -rect 967 -1100 1033 -1071 -rect 1187 -1053 1253 -1029 -rect 1187 -1071 1213 -1053 -rect 1230 -1071 1253 -1053 -rect 1187 -1100 1253 -1071 -rect 2797 -1110 2863 -1086 -rect 967 -1142 1033 -1118 -rect 967 -1160 994 -1142 -rect 1011 -1160 1033 -1142 -rect 967 -1189 1033 -1160 -rect 1187 -1148 1253 -1117 -rect 1187 -1156 1209 -1148 -rect 1187 -1174 1208 -1156 -rect 1226 -1166 1253 -1148 -rect 2797 -1128 2824 -1110 -rect 2841 -1128 2863 -1110 -rect 2797 -1157 2863 -1128 -rect 3017 -1110 3083 -1086 -rect 3017 -1128 3043 -1110 -rect 3060 -1128 3083 -1110 -rect 3017 -1157 3083 -1128 -rect 1225 -1174 1253 -1166 -rect 1187 -1188 1253 -1174 -rect 977 -1503 1019 -1189 -rect 1501 -1193 1567 -1169 -rect 1501 -1211 1528 -1193 -rect 1545 -1211 1567 -1193 -rect 1501 -1240 1567 -1211 -rect 1721 -1193 1787 -1169 -rect 1721 -1211 1747 -1193 -rect 1764 -1211 1787 -1193 -rect 1721 -1240 1787 -1211 -rect 2797 -1199 2863 -1175 -rect 2797 -1217 2824 -1199 -rect 2841 -1217 2863 -1199 -rect 2797 -1246 2863 -1217 -rect 3017 -1205 3083 -1174 -rect 3017 -1223 3039 -1205 -rect 3056 -1223 3083 -1205 -rect 3017 -1245 3083 -1223 -rect 1501 -1282 1567 -1258 -rect 1501 -1300 1528 -1282 -rect 1545 -1300 1567 -1282 -rect 1501 -1329 1567 -1300 -rect 1721 -1288 1787 -1257 -rect 1721 -1301 1743 -1288 -rect 1721 -1318 1738 -1301 -rect 1760 -1306 1787 -1288 -rect 1756 -1318 1787 -1306 -rect 1721 -1328 1787 -1318 -rect 1591 -1480 3004 -1463 -rect 1073 -1489 3004 -1480 -rect 1073 -1503 2935 -1489 -rect 959 -1505 2935 -1503 -rect 959 -1512 1617 -1505 -rect 959 -1529 1089 -1512 -rect 1107 -1529 1123 -1512 -rect 1141 -1522 1617 -1512 -rect 1635 -1522 1651 -1505 -rect 1669 -1506 2935 -1505 -rect 2953 -1506 3004 -1489 -rect 1669 -1522 3004 -1506 -rect 1141 -1529 3004 -1522 -rect 959 -1534 3004 -1529 -rect 959 -1550 1685 -1534 -rect 1073 -1556 1685 -1550 -rect 3037 -1630 3060 -1245 -rect 3034 -1654 3060 -1630 -rect 3785 -1420 19267 -1189 -rect 3785 -1654 15882 -1420 -rect 2974 -1669 15882 -1654 -rect 1114 -1683 15882 -1669 -rect 1114 -1700 1206 -1683 -rect 1224 -1689 15882 -1683 -rect 1224 -1700 1741 -1689 -rect 1114 -1706 1741 -1700 -rect 1758 -1706 15882 -1689 -rect 1114 -1728 15882 -1706 -rect 2974 -1742 15882 -1728 -rect 3785 -1834 15882 -1742 -rect 16439 -1834 19267 -1420 -rect 3785 -2309 19267 -1834 -<< viali >> -rect -74297 80640 -73703 81485 -rect -32417 80466 -31715 81348 -rect -6532 80851 -5903 81588 -rect 44411 81023 45221 82192 -rect -74324 79200 -73586 79829 -rect -32509 79270 -31592 79756 -rect -6543 79601 -5914 80015 -rect 44347 78005 45049 79067 -rect -7847 65483 -7110 66400 -rect 49391 70998 49660 71340 -rect 50404 71000 50817 71342 -rect 6826 65365 7563 66282 -rect 16273 64470 17263 65424 -rect 15941 7071 16319 7664 -rect 6805 3789 7002 4059 -rect 1471 2320 1488 2338 -rect 1695 2324 1712 2342 -rect 1473 2018 1491 2023 -rect 1473 2005 1476 2018 -rect 1476 2005 1491 2018 -rect 1695 2018 1713 2023 -rect 1695 2005 1698 2018 -rect 1698 2005 1713 2018 -rect 2457 974 2474 991 -rect 571 441 624 494 -rect 410 41 572 166 -rect 1366 599 1383 617 -rect 1772 610 1789 628 -rect 1208 -1166 1209 -1156 -rect 1209 -1166 1225 -1156 -rect 1208 -1174 1225 -1166 -rect 1738 -1306 1743 -1301 -rect 1743 -1306 1756 -1301 -rect 1738 -1318 1756 -1306 -rect 1206 -1700 1224 -1683 -rect 1741 -1706 1758 -1689 -rect 15882 -1834 16439 -1420 -<< metal1 >> -rect -74661 82360 -73301 83221 -rect -74654 81485 -73305 82360 -rect -32763 82352 -31335 83228 -rect -6906 83080 -5560 83082 -rect -6918 82838 -5560 83080 -rect 15818 82908 17657 83151 -rect -6916 82753 -5560 82838 -rect -74654 80640 -74297 81485 -rect -73703 80640 -73305 81485 -rect -74654 79829 -73305 80640 -rect -74654 79200 -74324 79829 -rect -73586 79200 -73305 79829 -rect -74654 78879 -73305 79200 -rect -32751 81352 -31359 82352 -rect -32751 81348 -32415 81352 -rect -31717 81348 -31359 81352 -rect -32751 80466 -32417 81348 -rect -31715 80466 -31359 81348 -rect -6916 81588 -5570 82753 -rect -6916 81585 -6532 81588 -rect -5903 81585 -5570 81588 -rect -6916 80854 -6535 81585 -rect -5900 81346 -5570 81585 -rect 43852 82197 45574 83373 -rect 43852 82192 44419 82197 -rect 45213 82192 45574 82197 -rect -5900 80854 -5550 81346 -rect -6916 80851 -6532 80854 -rect -5903 80851 -5550 80854 -rect -6916 80824 -5550 80851 -rect -32751 80462 -32415 80466 -rect -31717 80462 -31359 80466 -rect -32751 79756 -31359 80462 -rect -32751 79270 -32509 79756 -rect -31592 79270 -31359 79756 -rect -6896 80015 -5550 80824 -rect -6896 79601 -6543 80015 -rect -5914 79601 -5550 80015 -rect -6896 79305 -5550 79601 -rect 43852 81023 44411 82192 -rect 45221 81023 45574 82192 -rect 43852 81018 44419 81023 -rect 45213 81018 45574 81023 -rect -32751 79084 -31359 79270 -rect 43852 79067 45574 81018 -rect 43852 78005 44347 79067 -rect 45049 78005 45574 79067 -rect 43852 77576 45574 78005 -rect 15814 76152 17723 76264 -rect 43940 76152 45568 77576 -rect 15814 75029 45568 76152 -rect 15814 74917 45455 75029 -rect -9081 66400 7983 66916 -rect -9081 65483 -7847 66400 -rect -7110 66282 7983 66400 -rect -7110 65483 6826 66282 -rect -9081 65365 6826 65483 -rect 7563 65365 7983 66282 -rect -9081 64666 7983 65365 -rect 15814 65424 17723 74917 -rect 50993 71707 51453 71711 -rect 49221 71342 51468 71707 -rect 49221 71340 50404 71342 -rect 49221 70998 49391 71340 -rect 49660 71000 50404 71340 -rect 50817 71000 51468 71342 -rect 49660 70998 51468 71000 -rect 49221 70707 51468 70998 -rect 15814 64470 16273 65424 -rect 17263 64470 17723 65424 -rect 15814 64221 17723 64470 -rect 15661 7664 16537 8040 -rect 15661 7071 15941 7664 -rect 16319 7071 16537 7664 -rect 6713 4059 7091 4154 -rect 6713 3789 6805 4059 -rect 7002 3789 7091 4059 -rect 1461 2338 1503 2348 -rect 1461 2320 1471 2338 -rect 1488 2320 1503 2338 -rect 1461 2023 1503 2320 -rect 1461 2005 1473 2023 -rect 1491 2005 1503 2023 -rect 1461 1996 1503 2005 -rect 1683 2342 1725 2348 -rect 1683 2324 1695 2342 -rect 1712 2324 1725 2342 -rect 1683 2023 1725 2324 -rect 1683 2005 1695 2023 -rect 1713 2005 1725 2023 -rect 1683 1996 1725 2005 -rect 3223 1006 5185 1008 -rect 6713 1006 7091 3789 -rect 3223 1004 7104 1006 -rect 2447 991 7104 1004 -rect 2447 974 2457 991 -rect 2474 974 7104 991 -rect 2447 965 7104 974 -rect 2494 964 7104 965 -rect 3223 963 7104 964 -rect 5142 961 7104 963 -rect 6713 870 7091 961 -rect 1347 617 1404 635 -rect 1347 599 1366 617 -rect 1383 599 1404 617 -rect 1347 570 1404 599 -rect 1753 628 1810 644 -rect 1753 610 1772 628 -rect 1789 610 1810 628 -rect 1753 607 1810 610 -rect 1968 608 2006 613 -rect 1943 607 2006 608 -rect 1753 579 2006 607 -rect 1756 574 2006 579 -rect 1943 572 2006 574 -rect 501 496 680 561 -rect 1348 496 1404 570 -rect 501 494 1427 496 -rect 501 441 571 494 -rect 624 481 1427 494 -rect 624 441 680 481 -rect 501 407 680 441 -rect 1968 292 2006 572 -rect 372 176 628 220 -rect 1963 176 2006 292 -rect 372 166 2006 176 -rect 372 41 410 166 -rect 572 107 2006 166 -rect 572 41 628 107 -rect 372 -4 628 41 -rect 1199 -1156 1234 -1143 -rect 1199 -1174 1208 -1156 -rect 1225 -1174 1234 -1156 -rect 1199 -1683 1234 -1174 -rect 1199 -1700 1206 -1683 -rect 1224 -1700 1234 -1683 -rect 1199 -1728 1234 -1700 -rect 1734 -1301 1763 -1287 -rect 1734 -1318 1738 -1301 -rect 1756 -1318 1763 -1301 -rect 1734 -1689 1763 -1318 -rect 1734 -1706 1741 -1689 -rect 1758 -1706 1763 -1689 -rect 1734 -1719 1763 -1706 -rect 15661 -1420 16537 7071 -rect 51278 2577 51372 2615 -rect 51278 2351 51528 2577 -rect 51278 2319 51372 2351 -rect 15661 -1834 15882 -1420 -rect 16439 -1834 16537 -1420 -rect 15661 -2024 16537 -1834 -<< via1 >> -rect -74285 80649 -73715 81476 -rect -32415 81348 -31717 81352 -rect -32415 80466 -31717 81348 -rect -6535 80854 -6532 81585 -rect -6532 80854 -5903 81585 -rect -5903 80854 -5900 81585 -rect 44419 82192 45213 82197 -rect -32415 80462 -31717 80466 -rect 44419 81023 45213 82192 -rect 44419 81018 45213 81023 -rect 50405 71014 50816 71328 -<< metal2 >> -rect -74661 82360 -73301 83221 -rect -74654 81477 -73305 82360 -rect -32763 82352 -31335 83228 -rect -6906 83080 -5560 83082 -rect -6918 82838 -5560 83080 -rect 15818 82908 17657 83151 -rect -6916 82753 -5560 82838 -rect -74654 80648 -74294 81477 -rect -73706 80648 -73305 81477 -rect -74654 78879 -73305 80648 -rect -32751 81352 -31359 82352 -rect -32751 81341 -32415 81352 -rect -31717 81341 -31359 81352 -rect -32751 80473 -32420 81341 -rect -31712 80473 -31359 81341 -rect -6916 81594 -5570 82753 -rect -6916 81585 -6532 81594 -rect -5903 81585 -5570 81594 -rect -6916 80854 -6535 81585 -rect -5900 81346 -5570 81585 -rect 43852 82197 45574 83373 -rect -5900 80854 -5550 81346 -rect -6916 80845 -6532 80854 -rect -5903 80845 -5550 80854 -rect -6916 80824 -5550 80845 -rect -32751 80462 -32415 80473 -rect -31717 80462 -31359 80473 -rect -32751 79084 -31359 80462 -rect -6896 79305 -5550 80824 -rect 43852 81018 44419 82197 -rect 45213 81018 45574 82197 -rect 43852 77576 45574 81018 -rect 50993 71707 51453 71711 -rect 49221 71328 51468 71707 -rect 49221 71014 50405 71328 -rect 50816 71014 51468 71328 -rect 49221 70707 51468 71014 -rect -7855 65471 -7102 66412 -rect 6818 65353 7571 66294 -rect 16270 64470 17266 65424 -rect 51278 2577 51372 2615 -rect 51278 2351 51528 2577 -rect 51278 2319 51372 2351 -<< via2 >> -rect -74294 81476 -73706 81477 -rect -74294 80649 -74285 81476 -rect -74285 80649 -73715 81476 -rect -73715 80649 -73706 81476 -rect -74294 80648 -73706 80649 -rect -32420 80473 -32415 81341 -rect -32415 80473 -31717 81341 -rect -31717 80473 -31712 81341 -rect -6532 81585 -5903 81594 -rect -6532 80854 -5903 81585 -rect -6532 80845 -5903 80854 -rect 44422 81033 45210 82182 -rect 50416 71017 50805 71325 -<< metal3 >> -rect -74661 82360 -73301 83221 -rect -74654 81477 -73305 82360 -rect -32763 82352 -31335 83228 -rect -6906 83080 -5560 83082 -rect -6918 82838 -5560 83080 -rect 15818 82908 17657 83151 -rect -6916 82753 -5560 82838 -rect -74654 80648 -74294 81477 -rect -73706 80648 -73305 81477 -rect -74654 78879 -73305 80648 -rect -32751 81341 -31359 82352 -rect -32751 80473 -32420 81341 -rect -31712 80473 -31359 81341 -rect -6916 81594 -5570 82753 -rect -6916 80845 -6532 81594 -rect -5903 81346 -5570 81594 -rect 43852 82182 45574 83373 -rect -5903 80845 -5550 81346 -rect -6916 80824 -5550 80845 -rect -32751 79084 -31359 80473 -rect -6896 79305 -5550 80824 -rect 43852 81033 44422 82182 -rect 45210 81033 45574 82182 -rect 43852 77576 45574 81033 -rect 50993 71707 51453 71711 -rect 49221 71325 51468 71707 -rect 49221 71017 50416 71325 -rect 50805 71017 51468 71325 -rect 49221 70707 51468 71017 -rect -7855 65471 -7102 66412 -rect 6818 65353 7571 66294 -rect 16270 64470 17266 65424 -rect 51278 2577 51372 2615 -rect 51278 2351 51528 2577 -rect 51278 2319 51372 2351 -<< labels >> -rlabel metal1 s 2496 981 2496 981 4 out2 -port 1 nsew -rlabel metal1 s 1370 576 1370 576 4 in1 -port 2 nsew -rlabel locali s 1313 2321 1313 2321 4 vdd -port 3 nsew -rlabel locali s 2064 -1703 2064 -1703 4 vss -port 4 nsew -rlabel metal1 s 1937 590 1937 590 4 in2 -port 5 nsew -rlabel locali s 1195 614 1195 614 4 vss -port 4 nsew -<< end >>
diff --git a/caravel/mag/sky130A.tech b/caravel/mag/sky130A.tech deleted file mode 100644 index be94895..0000000 --- a/caravel/mag/sky130A.tech +++ /dev/null
@@ -1,5388 +0,0 @@ -#------------------------------------------------------------------------ -# Copyright (c) 2020 R. Timothy Edwards -# Revisions: See below -# -# This file is an Open Source foundry process describing -# the SkyWater sky130 hybrid 0.18um / 0.13um fabrication -# process. The file may be distributed under the terms -# of the Apache 2.0 license agreement. -# -#------------------------------------------------------------------------ -tech - format 35 - sky130A -end - -version - version 1.0.204-0-ge27b678 - description "SkyWater SKY130: Open Source rules and DRC" - requires magic-8.3.111 -end - -#------------------------------------------------------------------------ -# Status 7/10/20: Rev 1 (alpha): -# First public release -# Status 8/14/20: Rev 2 (alpha): -# Started updating with new device/model naming convention -# Status 1/3/21: Taking out of beta and declaring an official release. -#------------------------------------------------------------------------ - -#------------------------------------------------------------------------ -# Supported device types -#------------------------------------------------------------------------ -# device name magic ID layer description -#------------------------------------------------------------------------ -# sky130_fd_pr__nfet_01v8 nfet standard nFET -# sky130_fd_pr__nfet_01v8 scnfet standard nFET in standard cell** -# sky130_fd_pr__special_nfet_latch npd special nFET in SRAM cell -# sky130_fd_pr__special_nfet_pass npass special nFET in SRAM cell -# sky130_fd_pr__nfet_01v8_lvt nfetlvt low Vt nFET -# sky130_fd_bs_flash__special_sonosfet_star nsonos SONOS nFET -# sky130_fd_pr__pfet_01v8 pfet standard pFET -# sky130_fd_pr__pfet_01v8 scpfet standard pFET in standard cell** -# sky130_fd_pr__special_pfet_pass ppu special pFET in SRAM cell -# sky130_fd_pr__pfet_01v8_lvt pfetlvt low Vt pFET -# sky130_fd_pr__pfet_01v8_mvt pfetmvt med Vt pFET -# sky130_fd_pr__pfet_01v8_hvt pfethvt high Vt pFET -# sky130_fd_pr__nfet_03v3_nvt nnfet native nFET -# sky130_fd_pr__pfet_g5v0d10v5 mvpfet thickox pFET -# sky130_fd_pr__nfet_g5v0d10v5 mvnfet thickox nFET -# sky130_fd_pr__nfet_01v8_nvt mvnnfet thickox native nFET -# sky130_fd_pr__diode_pw2nd_05v5 ndiode n+ diff diode -# sky130_fd_pr__diode_pw2nd_05v5_lvt ndiodelvt low Vt n+ diff diode -# sky130_fd_pr__diode_pw2nd_05v5_nvt nndiode diode with nndiff -# sky130_fd_pr__diode_pw2nd_11v0 mvndiode thickox n+ diff diode -# sky130_fd_pr__diode_pd2nw_05v5 pdiode p+ diff diode -# sky130_fd_pr__diode_pd2nw_05v5_lvt pdiodelvt low Vt p+ diff diode -# sky130_fd_pr__diode_pd2nw_05v5_hvt pdiodehvt high Vt p+ diff diode -# sky130_fd_pr__diode_pd2nw_11v0 mvpdiode thickox p+ diff diode -# sky130_fd_pr__npn_05v5 pbase NPN in deep nwell -# sky130_fd_pr__npn_11v0 pbase thick oxide gated NPN -# sky130_fd_pr__pnp_05v5 nbase PNP -# sky130_fd_pr__cap_mim_m3_1 mimcap MiM cap 1st plate -# sky130_fd_pr__cap_mim_m3_2 mimcap2 MiM cap 2nd plate -# sky130_fd_pr__res_generic_nd rdn n+ diff resistor -# sky130_fd_pr__res_generic_nd__hv mvrdn thickox n+ diff resistor -# sky130_fd_pr__res_generic_pd rdp p+ diff resistor -# sky130_fd_pr__res_generic_pd__nv mvrdp thickox p+ diff resistor -# sky130_fd_pr__res_generic_l1 rli local interconnect resistor -# sky130_fd_pr__res_generic_po npres n+ poly resistor -# sky130_fd_pr__res_high_po_* ppres (*) p+ poly resistor (300 Ohms/sq) -# sky130_fd_pr__res_xhigh_po_* xres (*) p+ poly resistor (2k Ohms/sq) -# sky130_fd_pr__cap_var_lvt varactor low Vt varactor -# sky130_fd_pr__cap_var_hvt varactorhvt high Vt varactor -# sky130_fd_pr__cap_var mvvaractor thickox varactor -# sky130_fd_pr__res_iso_pw rpw pwell resistor (in deep nwell) -# sky130_fd_pr__esd_nfet_g5v0d10v5 mvnfetesd ESD thickox nFET -# sky130_fd_pr__esd_pfet_g5v0d10v5 mvpfetesd ESD thickox pFET -# -# (*) Note that ppres may extract into some generic type called -# "sky130_fd_pr__res_xhigh_po", but only specific sizes of xhrpoly are -# allowed, and these are created from fixed layouts like the types below. -# -# (**) nFET and pFET in standard cells are the same as devices -# outside of the standard cell except for the DRC rule for -# FET to diffusion contact spacing (which is 0.05um, not 0.055um) -# -#------------------------------------------------------------- -# The following devices are not extracted but are represented -# only by script-generated subcells in the PDK. -#------------------------------------------------------------- -# sky130_fd_pr__esd_nfet_01v8 ESD nFET -# sky130_fd_pr__esd_nfet_05v0_nvt ESD native nFET -# sky130_fd_pr__special_nfet_pass_flash flash nFET device -# sky130_fd_pr__esd_rf_diode_pw2nd_11v0 ESD n+ diode -# sky130_fd_pr__esd_rf_diode_pd2nw_11v0 ESD p+ diode -# sky130_fd_pr__cap_vpp_* Vpp cap -# sky130_fd_pr__ind_* inductor -# sky130_fd_pr__fuse_m4 metal fuse device -#-------------------------------------------------------------- - -#----------------------------------------------------- -# Tile planes -#----------------------------------------------------- - -planes - dwell,dw - well,w - active,a - locali,li1,li - metal1,m1 - metal2,m2 - metal3,m3 - cap1,c1 - metal4,m4 - cap2,c2 - metal5,m5 - metali,mi - block,b - comment,c -end - -#----------------------------------------------------- -# Tile types -#----------------------------------------------------- - -types -# Deep nwell - dwell dnwell,dnw - dwell isosubstrate,isosub - -# Wells - well nwell,nw - well pwell,pw - well rpw,rpwell - -well obswell - well pbase,npn - well nbase,pnp - -# Transistors - active nmos,ntransistor,nfet - -active scnmos,scntransistor,scnfet - -active npd,npdfet,sramnfet - -active npass,npassfet,srampassfet - active pmos,ptransistor,pfet - -active scpmos,scptransistor,scpfet - -active scpmoshvt,scpfethvt - -active ppu,ppufet,srampfet - active nnmos,nntransistor,nnfet - active mvnmos,mvntransistor,mvnfet - active mvpmos,mvptransistor,mvpfet - active mvnnmos,mvnntransistor,mvnnfet - -active mvnmosesd,mvntransistoresd,mvnfetesd - -active mvpmosesd,mvptransistoresd,mvpfetesd - active varactor,varact,var - active mvvaractor,mvvaract,mvvar - - active pmoslvt,pfetlvt - active pmosmvt,pfetmvt - active pmoshvt,pfethvt - active nmoslvt,nfetlvt - active varactorhvt,varacthvt,varhvt - -active nsonos,sonos - -active sramnvar,corenvar,corenvaractor - -active srampvar,corepvar,corepvaractor - -# Diffusions - -active fomfill - active ndiff,ndiffusion,ndif - active pdiff,pdiffusion,pdif - active mvndiff,mvndiffusion,mvndif - active mvpdiff,mvpdiffusion,mvpdif - active ndiffc,ndcontact,ndc - active pdiffc,pdcontact,pdc - active mvndiffc,mvndcontact,mvndc - active mvpdiffc,mvpdcontact,mvpdc - active psubdiff,psubstratepdiff,ppdiff,ppd,psd,ptap - active nsubdiff,nsubstratendiff,nndiff,nnd,nsd,ntap - active mvpsubdiff,mvpsubstratepdiff,mvppdiff,mvppd,mvpsd,mvptap - active mvnsubdiff,mvnsubstratendiff,mvnndiff,mvnnd,mvnsd,mvntap - active psubdiffcont,psubstratepcontact,psc,ptapc - active nsubdiffcont,nsubstratencontact,nsc,ntapc - active mvpsubdiffcont,mvpsubstratepcontact,mvpsc,mvptapc - active mvnsubdiffcont,mvnsubstratencontact,mvnsc,mvntapc - -active obsactive - -active mvobsactive - -# Poly - active poly,p,polysilicon - active polycont,pc,pcontact,polycut,polyc - active xpolycontact,xpolyc,xpc - -active polyfill - -# Resistors - active npolyres,npres,mrp1 - active ppolyres,ppres,xhrpoly - active xpolyres,xpres,xres,uhrpoly - active ndiffres,rnd,rdn,rndiff - active pdiffres,rpd,rdp,rpdiff - active mvndiffres,mvrnd,mvrdn,mvrndiff - active mvpdiffres,mvrpd,mvrdp,mvrpdiff - active rmp - -# Diodes - active pdiode,pdi - active ndiode,ndi - active nndiode,nndi - active pdiodec,pdic - active ndiodec,ndic - active nndiodec,nndic - active mvpdiode,mvpdi - active mvndiode,mvndi - active mvpdiodec,mvpdic - active mvndiodec,mvndic - active pdiodelvt,pdilvt - active pdiodehvt,pdihvt - active ndiodelvt,ndilvt - active pdiodelvtc,pdilvtc - active pdiodehvtc,pdihvtc - active ndiodelvtc,ndilvtc - -# Local Interconnect - locali locali,li1,li - -locali corelocali,coreli1,coreli - locali rlocali,rli1,rli - locali viali,vial,mcon,m1c,v0 - -locali obsli1,obsli - -locali obsli1c,obsmcon - -locali lifill - -# Metal 1 - metal1 metal1,m1,met1 - metal1 rmetal1,rm1,rmet1 - metal1 via1,m2contact,m2cut,m2c,via,v,v1 - -metal1 obsm1 - metal1 padl - -metal1 m1fill - -# Metal 2 - metal2 metal2,m2,met2 - metal2 rmetal2,rm2,rmet2 - metal2 via2,m3contact,m3cut,m3c,v2 - -metal2 obsm2 - -metal2 m2fill - -# Metal 3 - metal3 metal3,m3,met3 - metal3 rmetal3,rm3,rmet3 - -metal3 obsm3 - metal3 via3,v3 - -metal3 m3fill - - cap1 mimcap,mim,capm - cap1 mimcapcontact,mimcapc,mimcc,capmc - -# Metal 4 - metal4 metal4,m4,met4 - metal4 rmetal4,rm4,rmet4 - -metal4 obsm4 - metal4 via4,v4 - -metal4 m4fill - - cap2 mimcap2,mim2,capm2 - cap2 mimcap2contact,mimcap2c,mim2cc,capm2c - -# Metal 5 - metal5 metal5,m5,met5 - metal5 rm5,rmetal5,rmet5 - -metal5 obsm5 - -metal5 m5fill - - metal5 mrdlcontact,mrdlc,pi1 - metali metalrdl,mrdl,metrdl,rdl - -metali obsmrdl - metali pi2 - block ubm - -# Miscellaneous - -block glass - -block fillblock,fillblock4 - comment comment - -comment obscomment -# fixed resistor width identifiers - -comment res0p35 - -comment res0p69 - -comment res1p41 - -comment res2p85 - -comment res5p73 -# fixed bipolar area identifiers - -comment pnp0p68 - -comment pnp3p40 - -comment npn1p00 - -comment npn2p00 - -comment npn11p0 - -end - -#----------------------------------------------------- -# Magic contact types -#----------------------------------------------------- - -contact - pc poly locali - ndc ndiff locali - pdc pdiff locali - nsc nsd locali - psc psd locali - ndic ndiode locali - ndilvtc ndiodelvt locali - nndic nndiode locali - pdic pdiode locali - pdilvtc pdiodelvt locali - pdihvtc pdiodehvt locali - xpc xpc locali - - mvndc mvndiff locali - mvpdc mvpdiff locali - mvnsc mvnsd locali - mvpsc mvpsd locali - mvndic mvndiode locali - mvpdic mvpdiode locali - - mcon locali metal1 - obsmcon obsli metal1 - - via1 metal1 metal2 - via2 metal2 metal3 - via3 metal3 metal4 - via4 metal4 metal5 - stackable - - # MiM cap contacts are not stackable! - mimcc mimcap metal4 - mim2cc mimcap2 metal5 - - padl m1 m2 m3 m4 m5 glass - - mrdlc metal5 mrdl - pi2 mrdl ubm -end - -#----------------------------------------------------- -# Layer aliases -#----------------------------------------------------- - -aliases - - allwellplane nwell - allnwell nwell,obswell,pnp - - allnfets nfet,npass,npd,scnfet,mvnfet,mvnfetesd,mvnnfet,nnfet,nfetlvt,nsonos - allpfets pfet,ppu,scpfet,scpfethvt,mvpfet,mvpfetesd,pfethvt,pfetlvt,pfetmvt - allfets allnfets,allpfets,varactor,mvvaractor,varhvt,corenvar,corepvar - allfetsstd nfet,mvnfet,mvnfetesd,mvnnfet,nnfet,nfetlvt,pfet,mvpfet,mvpfetesd,pfethvt,pfetlvt,pfetmvt - allfetsspecial scnfet,scpfet,scpfethvt - allfetscore npass,npd,nsonos,ppu,corenvar,corepvar - allfetsnolvt nfet,npass,npd,scnfet,mvnfet,mvnfetesd,mvnnfet,nnfet,nsonos,pfet,ppu,scpfet,scpfethvt,mvpfet,mvpfetesd,pfethvt,pfetmvt,varactor,mvvaractor,varhvt,corenvar - - allnactivenonfet *ndiff,*nsd,*ndiode,*nndiode,*mvndiff,*mvnsd,*mvndiode,*ndiodelvt - allnactive allnactivenonfet,allnfets - allnactivenontap *ndiff,*ndiode,*nndiode,*mvndiff,*mvndiode,*ndiodelvt,allnfets - allnactivetap *nsd,*mvnsd,var,varhvt,mvvar,corenvar - - allpactivenonfet *pdiff,*psd,*pdiode,*mvpdiff,*mvpsd,*mvpdiode,*pdiodelvt,*pdiodehvt - allpactive allpactivenonfet,allpfets - allpactivenontap *pdiff,*pdiode,*mvpdiff,*mvpdiode,*pdiodelvt,*pdiodehvt,allpfets - allpactivetap *psd,*mvpsd,corepvar - - allactivenonfet allnactivenonfet,allpactivenonfet - allactive allactivenonfet,allfets - - allactiveres ndiffres,pdiffres,mvndiffres,mvpdiffres - - allndifflv *ndif,*nsd,*ndiode,ndiffres,nfet,npass,npd,scnfet,nfetlvt,nsonos - allpdifflv *pdif,*psd,*pdiode,pdiffres,pfet,ppu,scpfet,scpfethvt,pfetlvt,pfetmvt,pfethvt - alldifflv allndifflv,allpdifflv - allndifflvnonfet *ndif,*nsd,*ndiode,*nndiode,ndiffres,*ndiodelvt - allpdifflvnonfet *pdif,*psd,*pdiode,pdiffres,*pdiodelvt,*pdiodehvt - alldifflvnonfet allndifflvnonfet,allpdifflvnonfet - - allndiffmv *mvndif,*mvnsd,*mvndiode,*nndiode,mvndiffres,mvnfet,mvnfetesd,mvnnfet,nnfet - allpdiffmv *mvpdif,*mvpsd,*mvpdiode,mvpdiffres,mvpfet,mvpfetesd - alldiffmv allndiffmv,allpdiffmv - allndiffmvnontap *mvndif,*mvndiode,*nndiode,mvndiffres,mvnfet,mvnfetesd,mvnnfet,nnfet - allpdiffmvnontap *mvpdif,*mvpdiode,mvpdiffres,mvpfet,mvpfetesd - alldiffmvnontap allndiffmvnontap,allpdiffmvnontap - allndiffmvnonfet *mvndif,*mvnsd,*mvndiode,*nndiode,mvndiffres - allpdiffmvnonfet *mvpdif,*mvpsd,*mvpdiode,mvpdiffres - alldiffmvnonfet allndiffmvnonfet,allpdiffmvnonfet - - alldiffnonfet alldifflvnonfet,alldiffmvnonfet - alldiff alldifflv,alldiffmv,fomfill - - allpolyres mrp1,xhrpoly,uhrpoly,rmp - allpolynonfet *poly,allpolyres,xpc - allpolynonres *poly,allfets,xpc - - allpoly allpolynonfet,allfets - allpolynoncap *poly,xpc,allfets,allpolyres - - allndiffcontlv ndc,nsc,ndic,nndic,ndilvtc - allpdiffcontlv pdc,psc,pdic,pdilvtc,pdihvtc - allndiffcontmv mvndc,mvnsc,mvndic - allpdiffcontmv mvpdc,mvpsc,mvpdic - allndiffcont allndiffcontlv,allndiffcontmv - allpdiffcont allpdiffcontlv,allpdiffcontmv - alldiffcontlv allndiffcontlv,allpdiffcontlv - alldiffcontmv allndiffcontmv,allpdiffcontmv - alldiffcont alldiffcontlv,alldiffcontmv - - allcont alldiffcont,pc - - allres allpolyres,allactiveres - - allli *locali,coreli,rli - allm1 *m1,rm1 - allm2 *m2,rm2 - allm3 *m3,rm3 - allm4 *m4,rm4 - allm5 *m5,rm5 - - allpad padl - - psub pwell - - obstypes obswell,obsactive,obsli,obsmcon,obsm1,obsm2,obsm3,obsm4,obsm5,obsmrdl,obscomment - idtypes res0p35,res0p69,res1p41,res2p85,res5p73,pnp0p68,pnp3p40,npn1p00,npn2p00,npn11p0 - blocktypes fillblock,fillblock4 - -end - -#----------------------------------------------------- -# Layer drawing styles -#----------------------------------------------------- - -styles - styletype mos - dnwell cwell - isosub subcircuit - nwell nwell - pwell pwell - rpwell pwell ptransistor_stripes - ndiff ndiffusion - fomfill ndiffusion - pdiff pdiffusion - nsd ndiff_in_nwell - psd pdiff_in_pwell - nfet ntransistor ntransistor_stripes - scnfet ntransistor ntransistor_stripes - npass ntransistor ntransistor_stripes - npd ntransistor ntransistor_stripes - pfet ptransistor ptransistor_stripes - scpfet ptransistor ptransistor_stripes - scpfethvt ptransistor ptransistor_stripes implant2 - ppu ptransistor ptransistor_stripes - var polysilicon ndiff_in_nwell - ndc ndiffusion metal1 contact_X'es - pdc pdiffusion metal1 contact_X'es - nsc ndiff_in_nwell metal1 contact_X'es - psc pdiff_in_pwell metal1 contact_X'es - corenvar polysilicon ndiff_in_nwell - corepvar polysilicon pdiff_in_pwell - - pnp nwell ntransistor_stripes - npn pwell ptransistor_stripes - - pfetlvt ptransistor ptransistor_stripes implant1 - pfetmvt ptransistor ptransistor_stripes implant3 - pfethvt ptransistor ptransistor_stripes implant2 - nfetlvt ntransistor ntransistor_stripes implant1 - nsonos ntransistor implant3 - varhvt polysilicon ndiff_in_nwell implant2 - nnfet ntransistor ndiff_in_nwell - - mvndiff ndiffusion hvndiff_mask - mvpdiff pdiffusion hvpdiff_mask - mvnsd ndiff_in_nwell hvndiff_mask - mvpsd pdiff_in_pwell hvpdiff_mask - mvnfet ntransistor ntransistor_stripes hvndiff_mask - mvnfetesd ntransistor ntransistor_stripes hvndiff_mask - mvnnfet ntransistor ndiff_in_nwell hvndiff_mask - mvpfet ptransistor ptransistor_stripes - mvpfetesd ptransistor ptransistor_stripes - mvvar polysilicon ndiff_in_nwell hvndiff_mask - mvndc ndiffusion metal1 contact_X'es hvndiff_mask - mvpdc pdiffusion metal1 contact_X'es hvpdiff_mask - mvnsc ndiff_in_nwell metal1 contact_X'es hvndiff_mask - mvpsc pdiff_in_pwell metal1 contact_X'es hvpdiff_mask - - poly polysilicon - polyfill polysilicon - pc polysilicon metal1 contact_X'es - npolyres polysilicon silicide_block nselect2 - ppolyres polysilicon silicide_block pselect2 - xpc polysilicon pselect2 metal1 contact_X'es - rmp polysilicon poly_resist_stripes - - res0p35 implant1 - res0p69 implant1 - res1p41 implant1 - res2p85 implant1 - res5p73 implant1 - pnp0p68 implant1 - pnp3p40 implant1 - npn1p00 implant1 - npn2p00 implant1 - npn11p0 implant1 - - pdiode pdiffusion pselect2 - ndiode ndiffusion nselect2 - pdiodec pdiffusion pselect2 metal1 contact_X'es - ndiodec ndiffusion nselect2 metal1 contact_X'es - - nndiode ndiffusion nselect2 implant3 - ndiodelvt ndiffusion nselect2 implant1 - pdiodelvt pdiffusion pselect2 implant1 - pdiodehvt pdiffusion pselect2 implant2 - pdilvtc pdiffusion pselect2 implant1 metal1 contact_X'es - pdihvtc pdiffusion pselect2 implant2 metal1 contact_X'es - ndilvtc ndiffusion nselect2 implant1 metal1 contact_X'es - - mvpdiode pdiffusion pselect2 hvpdiff_mask - mvndiode ndiffusion nselect2 hvndiff_mask - mvpdiodec pdiffusion pselect2 metal1 contact_X'es hvpdiff_mask - mvndiodec ndiffusion nselect2 metal1 contact_X'es hvndiff_mask - nndiodec ndiff_in_nwell nselect2 metal1 contact_X'es hvndiff_mask - - locali metal1 - lifill metal1 - coreli metal1 - rli metal1 poly_resist_stripes - mcon metal1 metal2 via1arrow - obsli metal1 - obsmcon metal1 metal2 via1arrow - - metal1 metal2 - m1fill metal2 - rm1 metal2 poly_resist_stripes - obsm1 metal2 - m2c metal2 metal3 via2arrow - metal2 metal3 - m2fill metal3 - rm2 metal3 poly_resist_stripes - obsm2 metal3 - m3c metal3 metal4 via3alt - metal3 metal4 - m3fill metal4 - rm3 metal4 poly_resist_stripes - obsm3 metal4 - mimcap metal3 mems - mimcc metal3 contact_X'es mems - mimcap2 metal4 mems - mim2cc metal4 contact_X'es mems - via3 metal4 metal5 via4 - metal4 metal5 - m4fill metal5 - rm4 metal5 poly_resist_stripes - obsm4 metal5 - via4 metal5 metal6 via5 - metal5 metal6 - m5fill metal6 - rm5 metal6 poly_resist_stripes - obsm5 metal6 - mrdlc metal6 metal7 via6 - metalrdl metal7 - obsmrdl metal7 - ubm metal8 - pi2 metal7 metal8 via7 - - glass overglass - mrp1 poly_resist poly_resist_stripes - xhrpoly poly_resist silicide_block - uhrpoly poly_resist - ndiffres ndiffusion ndop_stripes - pdiffres pdiffusion pdop_stripes - mvndiffres ndiffusion hvndiff_mask ndop_stripes - mvpdiffres pdiffusion hvpdiff_mask pdop_stripes - comment comment - error_p error_waffle - error_s error_waffle - error_ps error_waffle - fillblock cwell - fillblock4 cwell - - obswell cwell - obsactive implant4 - - padl metal6 via6 overglass - - magnet substrate_field_implant - rotate via3alt - fence via5 -end - -#----------------------------------------------------- -# Special paint/erase rules -#----------------------------------------------------- - -compose - compose nfet poly ndiff - compose pfet poly pdiff - compose var poly nsd - - compose mvnfet poly mvndiff - compose mvpfet poly mvpdiff - compose mvvar poly mvnsd - - paint obsmcon locali via1 - paint obsmcon obsm1 obsli,obsm1 - - paint ndc nwell pdc - paint nfet nwell pfet - paint scnfet nwell scpfet - paint ndiff nwell pdiff - paint psd nwell nsd - paint psc nwell nsc - paint npd nwell ppu - - paint pdc pwell ndc - paint pfet pwell nfet - paint scpfet pwell scnfet - paint pdiff pwell ndiff - paint nsd pwell psd - paint nsc pwell psc - paint ppu pwell npd - - paint pdc coreli pdc - paint ndc coreli ndc - paint pc coreli pc - paint nsc coreli nsc - paint psc coreli psc - paint viali coreli viali - - paint coreli pdc pdc - paint coreli ndc ndc - paint coreli pc pc - paint coreli nsc nsc - paint coreli psc psc - paint coreli viali viali - - paint m4 obsm4 m4 - paint m5 obsm5 m5 -end - -#----------------------------------------------------- -# Electrical connectivity -#----------------------------------------------------- - -connect - *nwell,*nsd,*mvnsd,dnwell,pnp *nwell,*nsd,*mvnsd,dnwell,pnp - pwell,*psd,*mvpsd,npn pwell,*psd,*mvpsd,npn - *li,coreli,lifill *li,coreli,lifill - *m1,m1fill,obsmcon *m1,m1fill,obsmcon - *m2,m2fill *m2,m2fill - *m3,m3fill *m3,m3fill - *m4,m4fill *m4,m4fill - *m5,m5fill *m5,m5fill - *mimcap *mimcap - *mimcap2 *mimcap2 - allnactivenonfet allnactivenonfet - allpactivenonfet allpactivenonfet - *poly,xpc,allfets,polyfill *poly,xpc,allfets,polyfill - # RDL connects to m5 (i.e., padl) through glass cut - *mrdl *mrdl - glass metrdl -end - -#----------------------------------------------------- -# CIF/GDS output layer definitions -#----------------------------------------------------- -# NOTE: All values in this section MUST be multiples of 25 -# or else magic will scale below the allowed layout grid size - -cifoutput - -#---------------------------------------------------------------- -style gdsii -# NOTE: This section is used for actual GDS output -#---------------------------------------------------------------- - scalefactor 10 nanometers - options calma-permissive-labels - gridlimit 5 - -#---------------------------------------------------------------- -# Create a temp layer from the cell bounding box for use in -# generating ID layers. Note that "boundary", unlike "bbox", -# requires the FIXED_BBOX property (abutment box) in the cell. -#---------------------------------------------------------------- - templayer CELLBOUND - boundary - -#---------------------------------------------------------------- -# BOUND -#---------------------------------------------------------------- - layer BOUND CELLBOUND - calma 235 4 - -#---------------------------------------------------------------- -# DNWELL -#---------------------------------------------------------------- - - layer DNWELL dnwell,npn - calma 64 18 - - layer PWRES rpw - and dnwell - calma 64 13 - -#---------------------------------------------------------------- -# SUBCUT -#---------------------------------------------------------------- - - layer SUBCUT isosub - calma 81 53 - -#---------------------------------------------------------------- -# NWELL -#---------------------------------------------------------------- - - layer NWELL allnwell - bloat-all rpw dnwell - and-not rpw,pwell - calma 64 20 - - layer WELLTXT - labels allnwell noport - calma 64 5 - - layer WELLPIN - labels allnwell port - calma 64 16 - -#---------------------------------------------------------------- -# SUB (text/port only) -#---------------------------------------------------------------- - - layer SUBTXT - labels pwell noport - calma 64 59 - - layer SUBPIN - labels pwell port - calma 122 16 - -#---------------------------------------------------------------- -# DIFF -#---------------------------------------------------------------- - - layer DIFF allnactivenontap,allpactivenontap,allactiveres - calma 65 20 - - layer DIFFTXT - labels allnactivenontap,allpactivenontap noport - calma 65 6 - - layer DIFFPIN - labels allnactivenontap,allpactivenontap port - calma 65 16 - -#---------------------------------------------------------------- -# TAP -#---------------------------------------------------------------- - - layer TAP allnactivetap,allpactivetap - labels allnactivetap,allpactivetap port - calma 65 44 - - layer TAPTXT - labels allnactivetap,allpactivetap noport - calma 65 5 - -#---------------------------------------------------------------- -# FOM -#---------------------------------------------------------------- - - layer FOMFILL fomfill - labels fomfill - calma 23 28 - -#---------------------------------------------------------------- -# PSDM, NSDM (PPLUS, NPLUS implants) -#---------------------------------------------------------------- - - templayer basePSDM pdiffres,mvpdiffres - grow 15 - or xhrpoly,uhrpoly,xpc - grow 110 - bloat-or allpactivetap * 125 allnactivenontap 0 - bloat-or allpactivenontap * 125 allnactivetap 0 - - templayer baseNSDM ndiffres,mvndiffres - grow 125 - bloat-or allnactivetap * 125 allpactivenontap 0 - bloat-or allnactivenontap * 125 allpactivetap 0 - - templayer extendPSDM basePSDM - bridge 380 380 - and-not baseNSDM - - layer PSDM basePSDM,extendPSDM - grow 185 - shrink 185 - close 265000 - mask-hints PSDM - calma 94 20 - - templayer extendNSDM baseNSDM - bridge 380 380 - and-not basePSDM - - layer NSDM baseNSDM,extendNSDM - grow 185 - shrink 185 - close 265000 - mask-hints NSDM - calma 93 44 - -#---------------------------------------------------------------- -# LVID -#---------------------------------------------------------------- - - layer LVID nnfet - grow 100 - calma 81 60 - -#---------------------------------------------------------------- -# LVTN -#---------------------------------------------------------------- - - layer LVTN pfetlvt,nfetlvt,mvvar,mvnnfet,nnfet,nsonos,*pdiodelvt,*ndiodelvt,*nndiode - grow 180 - bridge 380 380 - grow 185 - shrink 185 - close 265000 - mask-hints LVTN - calma 125 44 - -#---------------------------------------------------------------- -# HVTR -#---------------------------------------------------------------- - - layer HVTR pfetmvt - grow 180 - bridge 380 380 - grow 185 - shrink 185 - close 265000 - calma 18 20 - -#---------------------------------------------------------------- -# HVTP -#---------------------------------------------------------------- - - layer HVTP scpfethvt,ppu,pfethvt,varhvt,*pdiodehvt - grow 180 - bridge 380 380 - grow 185 - shrink 185 - close 265000 - mask-hints HVTP - calma 78 44 - -#---------------------------------------------------------------- -# SONOS -#---------------------------------------------------------------- - - layer SONOS nsonos - grow 100 - grow-min 410 - bridge 500 410 - grow 250 - shrink 250 - calma 80 20 - -#---------------------------------------------------------------- -# SONOS requires COREID around area (areaid.ce). Also, the -# coreli layer indicates a cell needing COREID. Also, devices -# npd, npass, and ppu indicate a COREID cell. -#---------------------------------------------------------------- - - layer COREID - bloat-all nsonos,coreli,ppu,npd,npass,corepvar,corenvar CELLBOUND - mask-hints COREID - calma 81 2 - -#---------------------------------------------------------------- -# STDCELL applies to all cells containing scnfet or scpfet. -#---------------------------------------------------------------- - - layer STDCELL scnfet - bloat-all scpfet,scpfethvt,scnfet CELLBOUND - mask-hints STDCELL - calma 81 4 - -#---------------------------------------------------------------- -# ESDID is a marker layer for ESD devices in the padframe I/O. -#---------------------------------------------------------------- - - layer ESDID - bloat-all mvnfetesd *mvndiff,*poly - bloat-all mvpfetesd *mvpdiff,*poly - grow 100 - mask-hints ESDID - calma 81 19 - -#---------------------------------------------------------------- -# NPNID and PNPID apply to bipolar transistors -#---------------------------------------------------------------- - - layer NPNID - bloat-all npn dnwell - mask-hints NPNID - calma 82 20 - - templayer pnparea pnp - grow 400 - - layer PNPID - bloat-all pnparea *psd - or pnparea - mask-hints PNPID - calma 82 44 - -#---------------------------------------------------------------- -# RPM -#---------------------------------------------------------------- - - layer RPM - bloat-all xhrpoly xpc - grow 200 - grow-min 1270 - grow 420 - shrink 420 - calma 86 20 - -#---------------------------------------------------------------- -# URPM (2kOhms/sq. poly implant) -#---------------------------------------------------------------- - - layer URPM - bloat-all uhrpoly xpc - grow 200 - grow-min 1270 - grow 420 - shrink 420 - calma 79 20 - -#---------------------------------------------------------------- -# LDNTM (Tip implant for SONOS FETs) -#---------------------------------------------------------------- - - layer LDNTM - bloat-all nsonos *ndiff - grow 185 - grow 345 - shrink 345 - calma 11 44 - -#---------------------------------------------------------------- -# HVNTM (Tip implant for MV ndiff devices) -#---------------------------------------------------------------- - - templayer hvntm_block *mvpsd - grow 185 - - layer HVNTM - bloat-all mvnfet,mvnfetesd,mvnnfet,nnfet,*mvndiode,mvrdn,*nndiode *mvndiff - bloat-all mvvaractor *mvnsd - and-not hvntm_block - grow 185 - grow 345 - shrink 345 - and-not hvntm_block - mask-hints HVNTM - calma 125 20 - -#---------------------------------------------------------------- -# POLY -#---------------------------------------------------------------- - - layer POLY allpoly - calma 66 20 - - layer POLYTXT - labels allpoly noport - calma 66 5 - - layer POLYPIN - labels allpoly port - calma 66 16 - - layer POLYFILL polyfill - labels polyfill - calma 28 28 - -#---------------------------------------------------------------- -# HVI (includes rules NWELL 8-11 and DIFFTAP 14-26) -#---------------------------------------------------------------- - - templayer thkox_area alldiffmv,mvvar - grow 185 - bloat-all alldiffmv nwell - grow 345 - shrink 345 - - templayer large_ptap_mv thkox_area - shrink 420 - grow 420 - - templayer small_ptap_mv thkox_area - and-not large_ptap_mv - # (HVI min width rule is 0.6 but CNTM min width rule is 0.84um) - grow-min 840 - - layer HVI thkox_area,small_ptap_mv - bridge 700 600 - grow 345 - shrink 345 - mask-hints HVI - calma 75 20 - -#---------------------------------------------------------------- -# CONT (LICON) -#---------------------------------------------------------------- - - layer CONT allcont - squares-grid 0 170 170 - calma 66 44 - - # Contact for pres is different than other LICON contacts - # See rules LICON 1b, 1c (width/length) and 2b (spacing) - templayer xpc_horiz xpc - shrink 1007 - grow 1007 - - layer CONT xpc - and-not xpc_horiz - # Force long edge vertical for contacts narrower than 2um - # Minimum space is 350 but 520 satisfies no. of contacts rule - slots 80 190 520 80 2000 350 - calma 66 44 - - layer CONT xpc - and xpc_horiz - # Force long edge vertical for contacts wider than 2um - # Minimum space is 350 but 520 satisfies no. of contacts rule - slots 80 2000 350 80 190 520 - calma 66 44 - -#---------------------------------------------------------------- -# NPC (Nitride poly cut) -# surrounds CONT (LICON) on poly only (i.e., pc) -#---------------------------------------------------------------- - - # Avoids a common case of NPC bridges too close to other LICON shapes. - templayer diffcutarea pdc,ndc,psc,nsc,mvpdc,mvndc,mvpsc,mvnsc - grow 90 - - layer NPC pc - squares-grid 0 170 170 - grow 100 - bridge 270 270 - and-not diffcutarea - bridge 270 270 - grow 130 - shrink 130 - mask-hints NPC - calma 95 20 - - # NPC is also generated on xhrpoly and uhrpoly resistors - - layer NPC xpc,xhrpoly,uhrpoly - # xpc surrounds precision_resistor by 0.095um - grow 95 - grow 130 - shrink 130 - calma 95 20 - -#---------------------------------------------------------------- -# Device markers -#---------------------------------------------------------------- - - layer DIFFRES rdn,mvrdn,rdp,mvrdp - calma 65 13 - - layer POLYRES mrp1 - calma 66 13 - - # POLYSHORT is a poly layer resistor like rli, rm1, etc., for metal layers - layer POLYSHORT rmp - calma 66 15 - - # POLYRES extends to edge of contact cut - layer POLYRES xhrpoly,uhrpoly - grow 60 - and xpc - or xhrpoly,uhrpoly - calma 66 13 - - layer DIODE *pdi,*ndi,*nndi,*mvpdi,*mvndi,*pdilvt,*pdihvt,*ndilvt - # To be done: Expand to include anode, cathode, and guard ring - calma 81 23 - -#---------------------------------------------------------------- -# LI -#---------------------------------------------------------------- - layer LI allli - calma 67 20 - - layer LITXT - labels *locali,coreli noport - calma 67 5 - - layer LIPIN - labels *locali,coreli port - calma 67 16 - - layer LIRES rli - labels rli - calma 67 13 - - layer LIFILL lifill - labels lifill - calma 56 28 - -#---------------------------------------------------------------- -# MCON -#---------------------------------------------------------------- - layer MCON mcon - squares-grid 0 170 190 - calma 67 44 - -#---------------------------------------------------------------- -# MET1 -#---------------------------------------------------------------- - layer MET1 allm1 - calma 68 20 - - layer MET1TXT - labels allm1 noport - calma 68 5 - - layer MET1PIN - labels allm1 port - calma 68 16 - - layer MET1RES rm1 - labels rm1 - calma 68 13 - - layer MET1FILL m1fill - labels m1fill - calma 36 28 - -#---------------------------------------------------------------- -# VIA1 -#---------------------------------------------------------------- - layer VIA1 via1 - squares-grid 55 150 170 - calma 68 44 - -#---------------------------------------------------------------- -# MET2 -#---------------------------------------------------------------- - layer MET2 allm2 - calma 69 20 - - layer MET2TXT - labels allm2 noport - calma 69 5 - - layer MET2PIN - labels allm2 port - calma 69 16 - - layer MET2RES rm2 - labels rm2 - calma 69 13 - - layer MET2FILL m2fill - labels m2fill - calma 41 28 - -#---------------------------------------------------------------- -# VIA2 -#---------------------------------------------------------------- - layer VIA2 via2 - squares-grid 40 200 200 - calma 69 44 - -#---------------------------------------------------------------- -# MET3 -#---------------------------------------------------------------- - layer MET3 allm3 - calma 70 20 - - layer MET3TXT - labels allm3 noport - calma 70 5 - - layer MET3PIN - labels allm3 port - calma 70 16 - - layer MET3RES rm3 - labels rm3 - calma 70 13 - - layer MET3FILL m3fill - labels m3fill - calma 34 28 - -#---------------------------------------------------------------- -# VIA3 -#---------------------------------------------------------------- - layer VIA3 via3 - or mimcc - squares-grid 60 200 200 - calma 70 44 - -#---------------------------------------------------------------- -# MET4 -#---------------------------------------------------------------- - layer MET4 allm4 - calma 71 20 - - layer MET4TXT - labels allm4 noport - calma 71 5 - - layer MET4PIN - labels allm4 port - calma 71 16 - - layer MET4RES rm4 - labels rm4 - calma 71 13 - - layer MET4FILL m4fill - labels m4fill - calma 51 28 - -#---------------------------------------------------------------- -# VIA4 -#---------------------------------------------------------------- - layer VIA4 via4 - or mim2cc - squares-grid 190 800 800 - calma 71 44 - -#---------------------------------------------------------------- -# MET5 -#---------------------------------------------------------------- - layer MET5 allm5,m5fill - calma 72 20 - - layer MET5TXT - labels allm5 noport - calma 72 5 - - layer MET5PIN - labels allm5 port - calma 72 16 - - layer MET5RES rm5 - labels rm5 - calma 72 13 - - layer MET5FILL m5fill - labels m5fill - calma 59 28 - - -#---------------------------------------------------------------- -# RDL -#---------------------------------------------------------------- - layer RDL *metrdl - calma 74 20 - - layer RDLTXT - labels *metrdl noport - calma 74 5 - - layer RDLPIN - labels *metrdl port - calma 74 16 - - layer PI1 *metrdl - and padl,glass - # Test only---needs GDS layer number - - layer UBM *metrdl - shrink 50000 - grow 40000 - # Test only---needs GDS layer number - - layer PI2 *metrdl - shrink 50000 - grow 25000 - # Test only---needs GDS layer number - - -#---------------------------------------------------------------- -# GLASS -#---------------------------------------------------------------- - layer GLASS glass - calma 76 20 - -#---------------------------------------------------------------- -# CAPM -#---------------------------------------------------------------- - layer CAPM *mimcap - labels mimcap - calma 89 44 - - layer CAPM2 *mimcap2 - labels mimcap2 - calma 97 44 - -#---------------------------------------------------------------- -# Chip top level marker for DRC latchup rules to check 15um -# distance to taps (otherwise 6um is used) -#---------------------------------------------------------------- - - layer LOWTAPDENSITY - bbox top - # Clear 200um for pads + 50um for required high tap density - # in critical area. - shrink 250000 - calma 81 14 - -#---------------------------------------------------------------- -# FILLBLOCK -#---------------------------------------------------------------- - layer FILLOBSFOM obsactive - calma 22 24 - - layer FILLOBSM1 fillblock,fillblock4 - calma 62 24 - - layer FILLOBSM2 fillblock,fillblock4 - calma 105 52 - - layer FILLOBSM3 fillblock,fillblock4 - calma 107 24 - - layer FILLOBSM4 fillblock,fillblock4 - calma 112 4 - - render DNWELL cwell -0.1 0.1 - render NWELL nwell 0.0 0.2062 - render DIFF ndiffusion 0.2062 0.12 - render TAP pdiffusion 0.2062 0.12 - render POLY polysilicon 0.3262 0.18 - render CONT via 0.5062 0.43 - render LI metal1 0.9361 0.10 - render MCON via 1.0361 0.34 - render MET1 metal2 1.3761 0.36 - render VIA1 via 1.7361 0.27 - render MET2 metal3 2.0061 0.36 - render VIA2 via 2.3661 0.42 - render MET3 metal4 2.7861 0.845 - render VIA3 via 3.6311 0.39 - render MET4 metal5 4.0211 0.845 - render VIA4 via 4.8661 0.505 - render MET5 metal6 5.3711 1.26 - render CAPM metal8 2.4661 0.2 - render CAPM2 metal9 3.7311 0.2 - render RDL metal7 11.8834 4.0 - -#---------------------------------------------------------------- -style drc -#---------------------------------------------------------------- -# NOTE: This style is used for DRC only, not for GDS output -#---------------------------------------------------------------- - scalefactor 10 nanometers - options calma-permissive-labels - - # Ensure nwell overlaps dnwell at least 0.4um outside and 1.03um inside - templayer dnwell_shrink dnwell - shrink 1030 - - templayer nwell_missing dnwell - grow 400 - and-not dnwell_shrink - and-not nwell - - templayer pwell_in_dnwell dnwell - and-not nwell - - # SONOS nFET devices must be in deep nwell - templayer dnwell_missing nsonos - and-not dnwell - - # SONOS nFET devices must be in cell with abutment box - templayer abutment_box - boundary - - templayer bbox_missing nsonos - and-not abutment_box - - # Make sure nwell covers varactor poly - templayer var_poly_no_nwell - bloat-all varactor,mvvaractor *poly - grow 150 - and-not nwell - - # Define MiM cap bottom plate for spacing rule - templayer mim_bottom - bloat-all *mimcap *metal3 - - # Define MiM2 cap bottom plate for spacing rule - templayer mim2_bottom - bloat-all *mimcap2 *metal4 - - # Define areas where mim2cc is inside the boundary of mimcc - # by more than the contact surround - templayer mim2_contact_overlap - bloat-all *mimcap2 mimcc - shrink 60 - and-not *mimcap2 - - # Note that metal fill is performed by the foundry and so is not - # an option for a cifoutput style. - - # Check latchup rule (15um minimum from tap LICON center to any - # non-tap diffusion. Note that to count as a tap, the diffusion - # must be contacted to LI - - templayer ptap_reach psc,mvpsc - and-not dnwell - # grow total is 15um. grow in 0.84um increments to ensure that - # no nwell ring is crossed - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 840 - and-not nwell,dnwell - grow 635 - and-not nwell,dnwell - - templayer ptap_missing *ndiff,*mvndiff - and-not dnwell - and-not ptap_reach - - templayer ntap_reach nsc,mvnsc - # grow total is 15um. grow in 1.27um increments to ensure that - # no nwell ring is crossed. There is no difference between - # ntaps in and out of deep nwell. - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 1270 - and nwell,pnp - grow 945 - and nwell,pnp - - templayer ntap_missing *pdiff,*mvpdiff - and-not pwell_in_dnwell - and-not ntap_reach - - templayer dptap_reach psc,mvpsc - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 840 - and-not nwell - and dnwell - grow 635 - and-not nwell - and dnwell - - templayer dptap_missing *ndiff,*mvndiff - and dnwell - and-not dptap_reach - - templayer pdiff_crosses_dnwell dnwell - grow 20 - and-not dnwell - and allpdifflv,allpdiffmv - - # MV nwell must be 2um from any other nwell - templayer mvnwell - bloat-all alldiffmv nwell - grow-min 840 - bridge 700 600 - - # Simple spacing checks to lvnwell must use CIF-DRC rule - # Note that HVI may *abut* lvnwell; this can only be handled - # with mask-hints layers. - - templayer drawn_hvi - mask-hints HVI - - templayer allmvdiffnowell *mvndiff,*mvpsd - and-not drawn_hvi - - templayer nwell_or_hvi nwell,drawn_hvi - - templayer lvnwell nwell - and-not mvnwell - - templayer nwell_with_tap - bloat-all nsc,mvnsc nwell,pnp - - templayer nwell_missing_tap nwell,pnp - and-not nwell_with_tap - - templayer tap_with_licon - bloat-all allpactivetap psd,mvpsd - bloat-all allnactivetap nsd,mvnsd - - templayer tap_missing_licon allnactivetap,allpactivetap - and-not tap_with_licon - - # Make sure varactor nwell contains no P diffusion - templayer pdiff_in_varactor_well - bloat-all varactor,mvvaractor nwell - and allpactive - - # HVNTM spacing requires recreating HVNTM - templayer hvntm_block *mvpsd - grow 185 - - templayer hvntm_generate - bloat-all mvnfet,mvnfetesd,mvnnfet,nnfet,*mvndiode,mvrdn,*nndiode *mvndiff - bloat-all mvvaractor *mvnsd - and-not hvntm_block - grow 185 - grow 345 - shrink 345 - and-not hvntm_block - - # RPM spacing checks require recreating RPM - templayer rpm_generate - bloat-all xhrpoly,uhrpoly xpc - grow 200 - grow-min 1270 - grow 420 - shrink 420 - - # Check distance RPM to NSDM - templayer rpm_nsd_check rpm_generate - grow 325 - and allndifflv,allndiffmv - - # Check distance RPM to (unrelated) POLY - templayer rpm_poly_check rpm_generate - grow 200 - and-not xhrpoly,uhrpoly,xpc - and allpoly - - # Check distance RPM to HVNTM - templayer rpm_hvntm_check rpm_generate - grow 385 - and allndiffmvnontap - - templayer m1_small_hole allm1,obsm1,obsmcon - close 140000 - - templayer m1_hole_empty m1_small_hole - and-not allm1,obsm1,obsmcon - - templayer m2_small_hole allm2,obsm2 - close 140000 - - templayer m2_hole_empty m2_small_hole - and-not allm2,obsm2 - - templayer m1_huge allm1 - shrink 1500 - grow 1500 - - templayer m1_large_halo m1_huge - grow 280 - and-not m1_huge - and allm1 - - templayer m2_huge allm2 - shrink 1500 - grow 1500 - - templayer m2_large_halo m2_huge - grow 280 - and-not m2_huge - and allm2 - - templayer m3_huge allm3 - shrink 1500 - grow 1500 - - templayer m3_large_halo m3_huge - grow 400 - and-not m3_huge - and allm3 - - templayer m4_huge allm4 - shrink 1500 - grow 1500 - - templayer m4_large_halo m4_huge - grow 400 - and-not m4_huge - and allm4 - - -#---------------------------------------------------------------- -style density -#---------------------------------------------------------------- -# Style used by scripts to check for fill density -#---------------------------------------------------------------- - scalefactor 10 nanometers - options calma-permissive-labels - gridlimit 5 - - templayer fom_all alldiff,fomfill - - templayer poly_all allpoly,polyfill - - templayer li_all allli,lifill - - templayer m1_all allm1,m1fill - - templayer m2_all allm2,m2fill - - templayer m3_all allm3,m3fill - - templayer m4_all allm4,m4fill - - templayer m5_all allm5,m5fill - -#---------------------------------------------------------------- -style wafflefill variants (),(tiled) -#---------------------------------------------------------------- -# Style used by scripts for automatically generating fill layers -# NOTE: Be sure to generate output on flattened layout. -#---------------------------------------------------------------- - scalefactor 10 nanometers - options calma-permissive-labels - gridlimit 5 - -#---------------------------------------------------------------- -# Generate and retain a layer representing the bounding box. -# -# For variant (): -# The bounding box is the full extent of geometry on the top level -# cell. -# -# For variant (tiled): -# Use with a script that breaks layout into flattened tiles and runs -# fill individually on each. The tiles should be larger than the -# step size, and each should draw a layer "comment" the size of the -# step box. -#---------------------------------------------------------------- - - variants () - templayer topbox - bbox top - - variants (tiled) - templayer topbox comment - # Each tile imposes the full keepout distance rule of - # 3um on all sides. - shrink 1500 - - variants * - -#---------------------------------------------------------------- -# Generate guard-band around nwells to keep FOM from crossing -# Spacing from LV nwell = Diff/Tap 9 = 0.34um -# Spacing from HV nwell = Diff/Tap 18 = 0.43um (= 0.18 + 0.25) -# Enclosure by nwell = Diff/Tap 8 = 0.18um -#---------------------------------------------------------------- - - templayer mvnwell - bloat-all alldiffmv nwell - - templayer lvnwell allnwell - and-not mvnwell - - templayer well_shrink mvnwell - shrink 250 - or lvnwell - shrink 180 - templayer well_guardband allnwell - grow 340 - and-not well_shrink - -#--------------------------------------------------- -# Diffusion and poly keep-out areas -#--------------------------------------------------- - templayer obstruct_fom alldiff,allpoly,fomfill,polyfill,obsactive - or rpw,pnp,npn - grow 500 - or well_guardband - - templayer obstruct_poly alldiff,allpoly,fomfill,polyfill,obsactive - or rpw,pnp,npn - grow 1000 - -#--------------------------------------------------- -# FOM and POLY fill -#--------------------------------------------------- - templayer fomfill_pass1 topbox - # slots 0 4080 1320 0 4080 1320 1360 0 - slots 0 4080 1600 0 4080 1600 1360 0 - and-not obstruct_fom - and topbox - shrink 2035 - grow 2035 - -#--------------------------------------------------- - - templayer obstruct_poly_pass1 fomfill_pass1 - grow 300 - or obstruct_poly - templayer polyfill_pass1 topbox - slots 0 720 360 0 720 360 240 0 - and-not obstruct_poly_pass1 - and topbox - shrink 355 - grow 355 - -#--------------------------------------------------- - - templayer obstruct_fom_pass2 fomfill_pass1 - grow 1290 - or polyfill_pass1 - grow 300 - or obstruct_fom - templayer fomfill_pass2 topbox - slots 0 2500 1320 0 2500 1320 1360 0 - and-not obstruct_fom_pass2 - and topbox - shrink 1245 - grow 1245 - -#--------------------------------------------------- - - templayer obstruct_poly_coarse polyfill_pass1 - grow 60 - or fomfill_pass1,fomfill_pass2 - grow 300 - or obstruct_poly - templayer polyfill_coarse topbox - slots 0 720 360 0 720 360 240 120 - and-not obstruct_poly_coarse - and topbox - shrink 355 - grow 355 - -#--------------------------------------------------- - templayer obstruct_poly_medium polyfill_pass1,polyfill_coarse - grow 60 - or fomfill_pass1,fomfill_pass2 - grow 300 - or obstruct_poly - templayer polyfill_medium topbox - slots 0 540 360 0 540 360 240 100 - and-not obstruct_poly_medium - and topbox - shrink 265 - grow 265 - -#--------------------------------------------------- - templayer obstruct_poly_fine polyfill_pass1,polyfill_coarse,polyfill_medium - grow 60 - or fomfill_pass1,fomfill_pass2 - grow 300 - or obstruct_poly - templayer polyfill_fine topbox - slots 0 480 360 0 480 360 240 200 - and-not obstruct_poly_fine - and topbox - shrink 235 - grow 235 - -#--------------------------------------------------- - - templayer obstruct_fom_coarse fomfill_pass1,fomfill_pass2 - grow 1290 - or polyfill_pass1,polyfill_coarse,polyfill_medium,polyfill_fine - grow 300 - or obstruct_fom - templayer fomfill_coarse topbox - slots 0 1500 1320 0 1500 1320 1360 0 - and-not obstruct_fom_coarse - and topbox - shrink 745 - grow 745 - -#--------------------------------------------------- - - templayer obstruct_fom_fine fomfill_pass1,fomfill_pass2,fomfill_coarse - grow 1290 - or polyfill_pass1,polyfill_coarse,polyfill_medium,polyfill_fine - grow 300 - or obstruct_fom - templayer fomfill_fine topbox - slots 0 500 400 0 500 400 160 0 - and-not obstruct_fom_fine - and topbox - shrink 245 - grow 245 - -#--------------------------------------------------- - layer FOMFILL fomfill_pass1 - or fomfill_pass2 - or fomfill_coarse - or fomfill_fine - calma 23 28 - - layer POLYFILL polyfill_pass1 - or polyfill_coarse - or polyfill_medium - or polyfill_fine - calma 28 28 - -#--------------------------------------------------------- -# LI fill -# Note requirement that LI fill may not overlap (non-fill) -# diff or poly. -#--------------------------------------------------------- - - templayer obstruct_li_coarse allli,allpad,obsli,lifill,fillblock,fillblock4 - grow 2800 - or alldiff,allpoly - grow 200 - templayer lifill_coarse topbox - # slots 0 3000 650 0 3000 650 700 0 - slots 0 3000 900 0 3000 900 700 0 - and-not obstruct_li_coarse - and topbox - shrink 1495 - grow 1495 - - templayer obstruct_li_medium allli,allpad,obsli,lifill,fillblock,fillblock4 - grow 2500 - or lifill_coarse - grow 300 - or alldiff,allpoly - grow 200 - templayer lifill_medium topbox - slots 0 1500 500 0 1500 500 700 0 - and-not obstruct_li_medium - and topbox - shrink 745 - grow 745 - - templayer obstruct_li_fine allli,allpad,obsli,lifill,fillblock,fillblock4 - or lifill_coarse,lifill_medium - grow 300 - or alldiff,allpoly - grow 200 - templayer lifill_fine topbox - slots 0 580 500 0 580 500 700 0 - and-not obstruct_li_fine - and topbox - shrink 285 - grow 285 - - layer LIFILL lifill_coarse - or lifill_medium - or lifill_fine - calma 56 28 - -#--------------------------------------------------- -# MET1 fill -#--------------------------------------------------- - - templayer obstruct_m1_coarse allm1,allpad,obsm1,m1fill,fillblock,fillblock4 - grow 3000 - templayer met1fill_coarse topbox - # slots 0 2000 200 0 2000 200 700 0 - slots 0 2000 800 0 2000 800 700 350 - and-not obstruct_m1_coarse - and topbox - shrink 995 - grow 995 - - templayer obstruct_m1_medium allm1,allpad,obsm1,m1fill,fillblock,fillblock4 - grow 2800 - or met1fill_coarse - grow 200 - templayer met1fill_medium topbox - slots 0 1000 200 0 1000 200 700 0 - and-not obstruct_m1_medium - and topbox - shrink 495 - grow 495 - - templayer obstruct_m1_fine allm1,allpad,obsm1,m1fill,fillblock,fillblock4 - grow 300 - or met1fill_coarse,met1fill_medium - grow 200 - templayer met1fill_fine topbox - slots 0 580 200 0 580 200 700 0 - and-not obstruct_m1_fine - and topbox - shrink 285 - grow 285 - - templayer obstruct_m1_veryfine allm1,allpad,obsm1,m1fill,fillblock,fillblock4 - grow 100 - or met1fill_coarse,met1fill_medium,met1fill_fine - grow 200 - templayer met1fill_veryfine topbox - slots 0 300 200 0 300 200 100 50 - and-not obstruct_m1_veryfine - and topbox - shrink 145 - grow 145 - - layer MET1FILL met1fill_coarse - or met1fill_medium - or met1fill_fine - or met1fill_veryfine - calma 36 28 - -#--------------------------------------------------- -# MET2 fill -#--------------------------------------------------- - templayer obstruct_m2 allm2,allpad,obsm2,m2fill,fillblock,fillblock4 - grow 3000 - templayer met2fill_coarse topbox - # slots 0 2000 200 0 2000 200 700 350 - slots 0 2000 800 0 2000 800 700 350 - and-not obstruct_m2 - and topbox - shrink 995 - grow 995 - - templayer obstruct_m2_medium allm2,allpad,obsm2,m2fill,fillblock,fillblock4 - grow 2800 - or met2fill_coarse - grow 200 - templayer met2fill_medium topbox - slots 0 1000 200 0 1000 200 700 350 - and-not obstruct_m2_medium - and topbox - shrink 495 - grow 495 - - templayer obstruct_m2_fine allm2,allpad,obsm2,m2fill,fillblock,fillblock4 - grow 300 - or met2fill_coarse,met2fill_medium - grow 200 - templayer met2fill_fine topbox - slots 0 580 200 0 580 200 700 350 - and-not obstruct_m2_fine - and topbox - shrink 285 - grow 285 - - templayer obstruct_m2_veryfine allm2,allpad,obsm2,m2fill,fillblock,fillblock4 - grow 100 - or met2fill_coarse,met2fill_medium,met2fill_fine - grow 200 - templayer met2fill_veryfine topbox - slots 0 300 200 0 300 200 100 100 - and-not obstruct_m2_veryfine - and topbox - shrink 145 - grow 145 - - layer MET2FILL met2fill_coarse - or met2fill_medium - or met2fill_fine - or met2fill_veryfine - calma 41 28 - -#--------------------------------------------------- -# MET3 fill -#--------------------------------------------------- - templayer obstruct_m3 allm3,allpad,obsm3,m3fill,fillblock,fillblock4 - grow 3000 - templayer met3fill_coarse topbox - # slots 0 2000 300 0 2000 300 700 700 - slots 0 2000 800 0 2000 800 700 350 - and-not obstruct_m3 - and topbox - shrink 995 - grow 995 - - templayer obstruct_m3_medium allm3,allpad,obsm3,m3fill,fillblock,fillblock4 - grow 2700 - or met3fill_coarse - grow 300 - templayer met3fill_medium topbox - slots 0 1000 300 0 1000 300 700 700 - and-not obstruct_m3_medium - and topbox - shrink 495 - grow 495 - - templayer obstruct_m3_fine allm3,allpad,obsm3,m3fill,fillblock,fillblock4 - grow 200 - or met3fill_coarse,met3fill_medium - grow 300 - templayer met3fill_fine topbox - slots 0 580 300 0 580 300 700 700 - and-not obstruct_m3_fine - and topbox - shrink 285 - grow 285 - - templayer obstruct_m3_veryfine allm3,allpad,obsm3,m3fill,fillblock,fillblock4 - # Note: Adding 0.1 to waffle rule to clear wide spacing rule - grow 100 - or met3fill_coarse,met3fill_medium,met3fill_fine - grow 300 - templayer met3fill_veryfine topbox - slots 0 400 300 0 400 300 150 200 - and-not obstruct_m3_veryfine - and topbox - shrink 195 - grow 195 - - layer MET3FILL met3fill_coarse - or met3fill_medium - or met3fill_fine - or met3fill_veryfine - calma 34 28 - -#--------------------------------------------------- -# MET4 fill -#--------------------------------------------------- - templayer obstruct_m4 allm4,allpad,obsm4,m4fill,fillblock,fillblock4 - grow 3000 - templayer met4fill_coarse topbox - # slots 0 2000 300 0 2000 300 700 1050 - slots 0 2000 800 0 2000 800 700 350 - and-not obstruct_m4 - and topbox - shrink 995 - grow 995 - - templayer obstruct_m4_medium allm4,allpad,obsm4,m4fill,fillblock,fillblock4 - grow 2700 - or met4fill_coarse - grow 300 - templayer met4fill_medium topbox - slots 0 1000 300 0 1000 300 700 1050 - and-not obstruct_m4_medium - and topbox - shrink 495 - grow 495 - - templayer obstruct_m4_fine allm4,allpad,obsm4,m4fill,fillblock,fillblock4 - grow 200 - or met4fill_coarse,met4fill_medium - grow 300 - templayer met4fill_fine topbox - slots 0 580 300 0 580 300 700 1050 - and-not obstruct_m4_fine - and topbox - shrink 285 - grow 285 - - templayer obstruct_m4_veryfine allm4,allpad,obsm4,m4fill,fillblock,fillblock4 - # Note: Adding 0.1 to waffle rule to clear wide spacing rule - grow 100 - or met4fill_coarse,met4fill_medium,met4fill_fine - grow 300 - templayer met4fill_veryfine topbox - slots 0 400 300 0 400 300 150 300 - and-not obstruct_m4_veryfine - and topbox - shrink 195 - grow 195 - - layer MET4FILL met4fill_coarse - or met4fill_medium - or met4fill_fine - or met4fill_veryfine - calma 51 28 - -#--------------------------------------------------- -# MET5 fill -#--------------------------------------------------- - templayer obstruct_m5 allm5,allpad,obsm5,m5fill,fillblock - grow 3000 - templayer met5fill_coarse topbox - slots 0 5000 1600 0 5000 1600 1000 100 - and-not obstruct_m5 - and topbox - shrink 2495 - grow 2495 - - templayer obstruct_m5_medium allm5,allpad,obsm5,m5fill,fillblock - grow 1400 - or met5fill_coarse - grow 1600 - templayer met5fill_medium topbox - slots 0 3000 1600 0 3000 1600 1000 100 - and-not obstruct_m5_medium - and topbox - shrink 1495 - grow 1495 - - layer MET5FILL met5fill_coarse - or met5fill_medium - calma 59 28 - -end - -#----------------------------------------------------------------------- -cifinput -#----------------------------------------------------------------------- -# NOTE: All values in this section MUST be multiples of 25 -# or else magic will scale below the allowed layout grid size -#----------------------------------------------------------------------- - -style sky130 variants (vendor),() - scalefactor 10 nanometers - gridlimit 5 - - options ignore-unknown-layer-labels no-reconnect-labels - - ignore NPC - ignore SEALID - ignore CAPID - ignore LDNTM - ignore HVNTM - ignore POLYMOD - ignore LOWTAPDENSITY - ignore FILLOBSPOLY - ignore OUTLINE - - layer pnp NWELL,WELLTXT,WELLPIN - and PNPID - labels NWELL - variants (vendor) - labels WELLTXT port - variants () - labels WELLTXT text - variants * - labels WELLPIN port - - layer nwell NWELL,WELLTXT,WELLPIN - and-not PNPID - labels NWELL - variants (vendor) - labels WELLTXT port - variants () - labels WELLTXT text - variants * - labels WELLPIN port - - templayer nwellarea NWELL - copyup nwelcheck - - # Copy nwell areas up for diffusion checks - templayer xnwelcheck nwelcheck - copyup nwelcheck - - templayer hvarea HVI - copyup hvcheck - - # Copy high-voltage (HVI) areas up for diffusion checks - templayer xhvcheck hvcheck - copyup hvcheck - - # Always draw pwell under p-tap and n-diff. This is not always - # necessary but works better with deep nwell for correct extraction. - layer pwell TAP,DIFF - and-not NWELL,nwelcheck - grow 130 - or SUBTXT,SUBPIN - grow 420 - shrink 420 - variants (vendor) - labels SUBTXT port - variants () - labels SUBTXT text - variants * - labels SUBPIN port - - layer dnwell DNWELL - labels DNWELL - - layer isosub SUBCUT - labels SUBCUT - - layer npn DNWELL - and-not NWELL,nwelcheck - and NPNID - - layer rpw PWRES - and DNWELL - labels PWRES - - templayer ndiffarea DIFF,DIFFTXT,DIFFPIN,barediff - and-not POLY - and-not NWELL,nwelcheck - and-not PSDM - and-not DIODE - and-not DIFFRES - and-not HVI,hvcheck - and NSDM - and-not CORELI - copyup ndifcheck - labels DIFF - variants (vendor) - labels DIFFTXT port - variants () - labels DIFFTXT text - variants * - labels DIFFPIN port - - layer ndiff ndiffarea - - # Copy ndiff areas up for contact checks - templayer xndifcheck ndifcheck - copyup ndifcheck - - templayer mvndiffarea DIFF,DIFFTXT,DIFFPIN,barediff - and-not POLY - and-not NWELL,nwelcheck - and-not PSDM - and-not DIODE - and-not DIFFRES - and HVI,hvcheck - and NSDM - copyup ndifcheck - labels DIFF - labels DIFFTXT text - variants (vendor) - labels DIFFTXT port - variants () - labels DIFFTXT text - variants * - labels DIFFPIN port - - layer mvndiff mvndiffarea - - # Copy ndiff areas up for contact checks - templayer mvxndifcheck mvndifcheck - copyup mvndifcheck - - layer ndiode DIFF,barediff - and NSDM - and DIODE - and-not NWELL,nwelcheck - and-not POLY - and-not PSDM - and-not HVI,hvcheck - and-not LVTN - labels DIFF - - layer ndiodelvt DIFF,barediff - and NSDM - and DIODE - and-not NWELL,nwelcheck - and-not POLY - and-not PSDM - and-not HVI,hvcheck - and LVTN - labels DIFF - - templayer ndiodearea DIODE - and NSDM - and-not HVI,hvcheck - and-not NWELL,nwelcheck - copyup DIODE,NSDM - - layer ndiffres DIFFRES - and NSDM - and-not HVI,hvcheck - labels DIFF - - templayer pdiffarea DIFF,DIFFTXT,DIFFPIN,barediff - and-not POLY - and NWELL,nwelcheck - and-not NSDM - and-not DIODE - and-not HVI,hvcheck - and PSDM - copyup pdifcheck - labels DIFF - variants (vendor) - labels DIFFTXT port - variants () - labels DIFFTXT text - variants * - labels DIFFPIN port - - layer pdiff pdiffarea - - layer mvndiode DIFF,barediff - and NSDM - and DIODE - and HVI,hvcheck - and-not POLY - and-not PSDM - and-not LVTN - labels DIFF - - layer nndiode DIFF,barediff - and NSDM - and DIODE - and HVI,hvcheck - and-not POLY - and-not PSDM - and LVTN - labels DIFF - - templayer mvndiodearea DIODE - and NSDM - and HVI,hvcheck - and-not NWELL,nwelcheck - copyup DIODE,NSDM - - layer mvndiffres DIFFRES - and NSDM - and HVI,hvcheck - labels DIFF - - templayer mvpdiffarea DIFF,DIFFTXT,DIFFPIN,barediff - and-not POLY - and NWELL,nwelcheck - and-not NSDM - and HVI,hvcheck - and-not DIODE - and-not DIFFRES - and PSDM - copyup mvpdifcheck - labels DIFF - variants (vendor) - labels DIFFTXT port - variants () - labels DIFFTXT text - variants * - labels DIFFPIN port - - layer mvpdiff mvpdiffarea - - # Copy pdiff areas up for contact checks - templayer xpdifcheck pdifcheck - copyup pdifcheck - - layer pdiode DIFF,barediff - and PSDM - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and-not LVTN - and-not HVTP - and DIODE - labels DIFF - - layer pdiodelvt DIFF,barediff - and PSDM - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and LVTN - and-not HVTP - and DIODE - labels DIFF - - layer pdiodehvt DIFF,barediff - and PSDM - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and-not LVTN - and HVTP - and DIODE - labels DIFF - - templayer pdiodearea DIODE - and PSDM - and-not HVI,hvcheck - copyup DIODE,PSDM - - # Define pfet areas as known pdiff, regardless of the presence of a well. - - templayer pfetarea DIFF,barediff - and POLY - or baretrans - and-not NSDM - and-not HVI,hvcheck - - layer pfet pfetarea - and-not LVTN - and-not HVTP - and-not STDCELL - and-not COREID - labels DIFF - - layer scpfet pfetarea - and-not LVTN - and-not HVTP - and STDCELL - and-not COREID - labels DIFF - - layer scpfethvt pfetarea - and-not LVTN - and HVTP - and STDCELL - labels DIFF - - layer ppu pfetarea - and-not LVTN - and HVTP - and COREID - # Shrink-grow operation eliminates the smaller parasitie device - # shrink 70 - # grow 70 - labels DIFF - - layer pfetlvt pfetarea - and LVTN - labels DIFF - - layer pfetmvt pfetarea - and HVTR - labels DIFF - - layer pfethvt pfetarea - and HVTP - and-not STDCELL - and-not COREID - labels DIFF - - # Always force nwell under pfet (nwell encloses pdiff by 0.18) - layer nwell pfetarea - and-not COREID - grow 180 - - # Copy mvpdiff areas up for contact checks - templayer mvxpdifcheck mvpdifcheck - copyup mvpdifcheck - - layer mvpdiode DIFF,barediff - and PSDM - and-not POLY - and-not NSDM - and HVI,hvcheck - and DIODE - labels DIFF - - templayer mvpdiodearea DIODE - and PSDM - and HVI,hvcheck - copyup DIODE,PSDM - - # Define pfet areas as known pdiff, - # regardless of the presence of a - # well. - - templayer mvpfetarea DIFF,barediff - and POLY - or baretrans - and-not NSDM - and HVI,hvcheck - - layer mvpfet mvpfetarea - and-not ESDID - labels DIFF - - layer mvpfetesd mvpfetarea - and ESDID - labels DIFF - - layer pdiff DIFF,DIFFTXT,DIFFPIN,barediff - and-not NSDM - and-not POLY - and-not HVI,hvcheck - and-not DIODE - and-not DIFFRES - labels DIFF - variants (vendor) - labels DIFFTXT port - variants () - labels DIFFTXT text - variants * - labels DIFFPIN port - - layer pdiffres DIFFRES - and PSDM - and NWELL,nwelcheck - and-not HVI,hvcheck - labels DIFF - - layer nfet DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not HVI,hvcheck - and-not LVTN - and-not SONOS - and-not STDCELL - and-not COREID - labels DIFF - - layer scnfet DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not NWELL,nwelcheck - and-not HVI,hvcheck - and-not LVTN - and-not SONOS - and STDCELL - labels DIFF - - layer npass DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not NWELL,nwelcheck - and COREID - labels DIFF - - layer npd DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not NWELL,nwelcheck - and COREID - # Shrink-grow operation eliminates the smaller npass device - shrink 70 - grow 70 - labels DIFF - - # Devices abutting tap under gate are officially npd, not npass - layer npd TAP - grow 100 - and DIFF - and POLY - and-not PSDM - and NSDM - and-not NWELL,nwelcheck - and COREID - labels DIFF - - layer nfetlvt DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not HVI,hvcheck - and LVTN - and-not SONOS - labels DIFF - - layer nsonos DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not HVI,hvcheck - and LVTN - and SONOS - labels DIFF - - templayer nsdarea TAP - and NSDM - and NWELL,nwelcheck - and-not POLY - and-not PSDM - and-not HVI,hvcheck - and-not CORELI - copyup nsubcheck - - layer nsd nsdarea - labels TAP - - layer nsd TAP,TAPTXT - and NSDM - and-not POLY - and-not HVI,hvcheck - labels TAP - labels TAPTXT text - - layer corenvar TAP - and NSDM - and POLY - and COREID - labels TAP - - templayer nsdexpand nsdarea - grow 500 - - # Copy nsub areas up for contact checks - templayer xnsubcheck nsubcheck - copyup nsubcheck - - templayer psdarea TAP - and PSDM - and-not NWELL,nwelcheck - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and-not pfetexpand - copyup psubcheck - - layer psd psdarea - labels TAP - - layer psd TAP - and PSDM - and-not POLY - and-not HVI,hvcheck - labels TAP - labels TAPTXT text - - layer corepvar TAP - and PSDM - and POLY - and COREID - labels TAP - - templayer psdexpand psdarea - grow 500 - - layer mvpdiff DIFF,DIFFTXT,DIFFPIN,barediff - and-not NSDM - and-not POLY - and HVI,hvcheck - and mvpfetexpand - labels DIFF - variants (vendor) - labels DIFFTXT port - variants () - labels DIFFTXT text - variants * - labels DIFFPIN port - - layer mvpdiffres DIFFRES - and PSDM - and NWELL,nwelcheck - and HVI,hvcheck - and-not mvrdpioedge - labels DIFF - - templayer mvnfetarea DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and-not LVTN - and HVI,hvcheck - grow 350 - - templayer mvnnfetarea DIFF,TAP,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and LVTN - and HVI,hvcheck - and-not mvnfetarea - - layer mvnfetesd DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and HVI,hvcheck - and ESDID - and-not mvnnfetarea - labels DIFF - - layer mvnfet DIFF,barediff - and POLY - or baretrans - and-not PSDM - and NSDM - and HVI,hvcheck - and-not ESDID - and-not mvnnfetarea - labels DIFF - - layer nnfet mvnnfetarea - and LVID - labels DIFF - - layer mvnnfet mvnnfetarea - and-not LVID - labels DIFF - - templayer mvnsdarea TAP - and NSDM - and NWELL,nwelcheck - and-not POLY - and-not PSDM - and HVI,hvcheck - copyup mvnsubcheck - - layer mvnsd mvnsdarea - labels TAP - - layer mvnsd TAP,TAPTXT - and NSDM - and HVI,hvcheck - labels TAP - labels TAPTXT text - - templayer mvnsdexpand mvnsdarea - grow 500 - - # Copy nsub areas up for contact checks - templayer mvxnsubcheck mvnsubcheck - copyup mvnsubcheck - - templayer mvpsdarea DIFF,barediff - and PSDM - and-not NWELL,nwelcheck - and-not POLY - and-not NSDM - and HVI,hvcheck - and-not mvpfetexpand - copyup mvpsubcheck - - layer mvpsd mvpsdarea - labels DIFF - - layer mvpsd TAP,TAPTXT - and PSDM - and HVI,hvcheck - labels TAP - labels TAPTXT text - - templayer mvpsdexpand mvpsdarea - grow 500 - - # Copy psub areas up for contact checks - templayer xpsubcheck psubcheck - copyup psubcheck - - templayer mvxpsubcheck mvpsubcheck - copyup mvpsubcheck - - layer psd TAP - and-not PSDM - and-not NSDM - and-not POLY - and-not HVI,hvcheck - and-not pfetexpand - and psdexpand - - layer nsd TAP - and-not PSDM - and-not NSDM - and-not POLY - and-not HVI,hvcheck - and nsdexpand - - layer mvpsd TAP - and-not PSDM - and-not NSDM - and-not POLY - and HVI,hvcheck - and-not mvpfetexpand - and mvpsdexpand - - layer mvnsd TAP - and-not PSDM - and-not NSDM - and-not POLY - and HVI,hvcheck - and mvnsdexpand - - templayer hresarea POLY - and RPM - grow 3000 - - templayer uresarea POLY - and URPM - grow 3000 - - templayer diffresarea DIFFRES - and-not HVI,hvcheck - grow 3000 - - templayer mvdiffresarea DIFFRES - and HVI,hvcheck - grow 3000 - - templayer resarea diffresarea,mvdiffresarea,hresarea,uresarea - - layer pfet POLY - and DIFF - and diffresarea - and-not NSDM - and-not STDCELL - - layer scpfet POLY - and DIFF - and diffresarea - and-not HVTP - and-not NSDM - and STDCELL - - layer scpfethvt POLY - and DIFF - and diffresarea - and HVTP - and-not NSDM - and STDCELL - - templayer xpolyterm RPM,URPM - and POLY - and-not POLYRES - # add back the 0.06um contact surround in the direction of the resistor - grow 60 - and POLY - - layer xpc xpolyterm - - templayer polyarea POLY,POLYTXT,POLYPIN - and-not POLYRES - and-not POLYSHORT - and-not DIFF - and-not TAP - and-not RPM - and-not URPM - copyup polycheck - - layer poly polyarea - labels POLY - variants (vendor) - labels POLYTXT port - variants () - labels POLYTXT text - variants * - labels POLYPIN port - - # Copy (non-resistor) poly areas up for contact checks - templayer xpolycheck polycheck - copyup polycheck - - layer mrp1 POLY - and POLYRES - and-not RPM - and-not URPM - labels POLY - - layer rmp POLY - and POLYSHORT - labels POLY - - layer xhrpoly POLY - and POLYRES - and RPM - and-not URPM - and PSDM - and NPC - and-not xpolyterm - labels POLY - - layer uhrpoly POLY - and POLYRES - and URPM - and-not RPM - and NPC - and-not xpolyterm - labels POLY - - templayer ndcbase CONT - or barecont - and LI - or licont - and DIFF - and NSDM - and-not NWELL,nwelcheck - and-not HVI,hvcheck - - layer ndc ndcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or ndcbase - labels CONT - - templayer nscbase CONT - or barecont - and LI - or licont - and DIFF,TAP - and NSDM - and NWELL,nwelcheck - and-not HVI,hvcheck - - layer nsc nscbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or nscbase - labels CONT - - templayer pdcbase CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and NWELL,nwelcheck - and-not HVI,hvcheck - - layer pdc pdcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdcbase - labels CONT - - templayer pdcnowell CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and pfetexpand - and-not HVI,hvcheck - - layer pdc pdcnowell - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdcnowell - labels CONT - - templayer pscbase CONT - or barecont - and LI - or licont - and DIFF,TAP - and PSDM - and-not NWELL,nwelcheck - and-not pfetexpand - and-not HVI,hvcheck - - layer psc pscbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or pscbase - labels CONT - - templayer pcbase CONT - or barecont - and LI - or licont - and POLY - and-not DIFF - and-not RPM,URPM - - layer pc pcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or pcbase - labels CONT - - templayer ndicbase CONT - or barecont - and LI - or licont - and DIFF - and NSDM - and DIODE - and-not POLY - and-not PSDM - and-not HVI,hvcheck - and-not LVTN - - layer ndic ndicbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or ndicbase - labels CONT - - templayer ndilvtcbase CONT - or barecont - and LI - or licont - and DIFF - and NSDM - and DIODE - and-not POLY - and-not PSDM - and-not HVI,hvcheck - and LVTN - - layer ndilvtc ndilvtcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or ndilvtcbase - labels CONT - - templayer pdicbase CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and DIODE - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and-not LVTN - and-not HVTP - - layer pdic pdicbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdicbase - labels CONT - - templayer pdilvtcbase CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and DIODE - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and LVTN - and-not HVTP - - layer pdilvtc pdilvtcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdilvtcbase - labels CONT - - templayer pdihvtcbase CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and DIODE - and-not POLY - and-not NSDM - and-not HVI,hvcheck - and-not LVTN - and HVTP - - layer pdihvtc pdihvtcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdihvtcbase - labels CONT - - templayer mvndcbase CONT - or barecont - and LI - or licont - and DIFF - and NSDM - and-not NWELL,nwelcheck - and HVI,hvcheck - - layer mvndc mvndcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvndcbase - labels CONT - - templayer mvnscbase CONT - or barecont - and LI - or licont - and DIFF,TAP - and NSDM - and NWELL,nwelcheck - and HVI,hvcheck - - layer mvnsc mvnscbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvnscbase - labels CONT - - templayer mvpdcbase CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and NWELL,nwelcheck - and HVI,hvcheck - - layer mvpdc mvpdcbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpdcbase - labels CONT - - templayer mvpdcnowell CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and mvpfetexpand - and MET1 - and HVI,hvcheck - - layer mvpdc mvpdcnowell - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpdcnowell - labels CONT - - templayer mvpscbase CONT - or barecont - and LI - or licont - and DIFF,TAP - and PSDM - and-not NWELL,nwelcheck - and-not mvpfetexpand - and HVI,hvcheck - - layer mvpsc mvpscbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpscbase - labels CONT - - templayer mvndicbase CONT - or barecont - and LI - or licont - and DIFF - and NSDM - and DIODE - and-not POLY - and-not PSDM - and-not LVTN - and HVI,hvcheck - - layer mvndic mvndicbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvndicbase - labels CONT - - templayer nndicbase CONT - or barecont - and LI - or licont - and DIFF - and NSDM - and DIODE - and-not POLY - and-not PSDM - and LVTN - and HVI,hvcheck - - layer nndic nndicbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or nndicbase - labels CONT - - templayer mvpdicbase CONT - or barecont - and LI - or licont - and DIFF - and PSDM - and DIODE - and-not POLY - and-not NSDM - and HVI,hvcheck - - layer mvpdic mvpdicbase - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpdicbase - labels CONT - - layer fomfill FOMFILL - labels FOMFILL - - layer polyfill POLYFILL - labels POLYFILL - - layer coreli LI,LITXT,LIPIN - and-not LIRES,LISHORT - and COREID - labels LI - variants (vendor) - labels LITXT port - variants () - labels LITXT text - variants * - labels LIPIN port - - layer locali LI,LITXT,LIPIN - and-not LIRES,LISHORT - and-not COREID - labels LI - variants (vendor) - labels LITXT port - variants () - labels LITXT text - variants * - labels LIPIN port - - layer rli LI - and LIRES,LISHORT - labels LIRES,LISHORT - - layer lifill LIFILL - labels LIFILL - - layer mcon MCON - grow 95 - shrink 95 - shrink 85 - grow 85 - or MCON - labels MCON - - layer m1 MET1,MET1TXT,MET1PIN - and-not MET1RES,MET1SHORT - labels MET1 - variants (vendor) - labels MET1TXT port - variants () - labels MET1TXT text - variants * - labels MET1PIN port - - layer rm1 MET1 - and MET1RES,MET1SHORT - labels MET1RES,MET1SHORT - - layer m1fill MET1FILL - labels MET1FILL - - layer mimcap MET3 - and CAPM - labels CAPM - - layer mimcc VIA3 - and CAPM - grow 60 - grow 40 - shrink 40 - labels CAPM - - layer mimcap2 MET4 - and CAPM2 - labels CAPM2 - - layer mim2cc VIA4 - and CAPM2 - grow 190 - grow 210 - shrink 210 - labels CAPM2 - - - templayer m2cbase VIA1 - and-not COREID - grow 5 - or VIA1 - grow 50 - - layer m2c m2cbase - grow 30 - shrink 30 - shrink 130 - grow 130 - or m2cbase - - layer m2 MET2,MET2TXT,MET2PIN - and-not MET2RES,MET2SHORT - labels MET2 - variants (vendor) - labels MET2TXT port - variants () - labels MET2TXT text - variants * - labels MET2PIN port - - layer rm2 MET2 - and MET2RES,MET2SHORT - labels MET2RES,MET2SHORT - - layer m2fill MET2FILL - labels MET2FILL - - templayer m3cbase VIA2 - grow 40 - - layer m3c m3cbase - grow 60 - shrink 60 - shrink 140 - grow 140 - or m3cbase - - layer m3 MET3,MET3TXT,MET3PIN - and-not MET3RES,MET3SHORT - labels MET3 - variants (vendor) - labels MET3TXT port - variants () - labels MET3TXT text - variants * - labels MET3PIN port - - layer rm3 MET3 - and MET3RES,MET3SHORT - labels MET3RES,MET3SHORT - - layer m3fill MET3FILL - labels MET3FILL - - - templayer via3base VIA3 - and-not CAPM - grow 60 - - layer via3 via3base - grow 40 - shrink 40 - shrink 160 - grow 160 - or via3base - - layer m4 MET4,MET4TXT,MET4PIN - and-not MET4RES,MET4SHORT - labels MET4 - variants (vendor) - labels MET4TXT port - variants () - labels MET4TXT text - variants * - labels MET4PIN port - - layer rm4 MET4 - and MET4RES,MET4SHORT - labels MET4RES,MET4SHORT - - layer m4fill MET4FILL - labels MET4FILL - - layer m5 MET5,MET5TXT,MET5PIN - and-not MET5RES,MET5SHORT - labels MET5 - variants (vendor) - labels MET5TXT port - variants () - labels MET5TXT text - variants * - labels MET5PIN port - - layer rm5 MET5 - and MET5RES,MET5SHORT - labels MET5RES,MET5SHORT - - layer m5fill MET5FILL - labels MET5FILL - - templayer via4base VIA4 - and-not CAPM2 - grow 190 - - layer via4 via4base - grow 210 - shrink 210 - shrink 590 - grow 590 - or via4base - - layer metrdl RDL,RDLTXT,RDLPIN - labels RDL - variants (vendor) - labels RDLTXT port - variants () - labels RDLTXT text - variants * - labels RDLPIN port - - # Find diffusion not covered in - # NSDM or PSDM and pull it into - # the next layer up - - templayer gentrans DIFF - and-not PSDM - and-not NSDM - and POLY - copyup baretrans - - templayer gendiff DIFF,TAP - and-not PSDM - and-not NSDM - and-not POLY - and-not COREID - copyup barediff - - # Handle contacts found by copyup - - templayer ndiccopy CONT - and LI - and DIODE - and NSDM - and-not HVI,hvcheck - - layer ndic ndiccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or ndiccopy - labels CONT - - templayer mvndiccopy CONT - and LI - and DIODE - and NSDM - and HVI,hvcheck - - layer mvndic mvndiccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvndiccopy - labels CONT - - templayer pdiccopy CONT - and LI - and DIODE - and PSDM - and-not HVI,hvcheck - - layer pdic pdiccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdiccopy - labels CONT - - templayer mvpdiccopy CONT - and LI - and DIODE - and PSDM - and HVI,hvcheck - - layer mvpdic mvpdiccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpdiccopy - labels CONT - - templayer ndccopy CONT - and ndifcheck - - layer ndc ndccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or ndccopy - labels CONT - - templayer mvndccopy CONT - and mvndifcheck - - layer mvndc mvndccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvndccopy - labels CONT - - templayer pdccopy CONT - and pdifcheck - - layer pdc pdccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or pdccopy - labels CONT - - templayer mvpdccopy CONT - and mvpdifcheck - - layer mvpdc mvpdccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpdccopy - labels CONT - - templayer pccopy CONT - and polycheck - - layer pc pccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or pccopy - labels CONT - - templayer nsccopy CONT - and nsubcheck - - layer nsc nsccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or nsccopy - labels CONT - - templayer mvnsccopy CONT - and mvnsubcheck - - layer mvnsc mvnsccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvnsccopy - labels CONT - - templayer psccopy CONT - and psubcheck - - layer psc psccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or psccopy - labels CONT - - templayer mvpsccopy CONT - and mvpsubcheck - - layer mvpsc mvpsccopy - grow 85 - shrink 85 - shrink 85 - grow 85 - or mvpsccopy - labels CONT - - # Find contacts not covered in - # metal and pull them into the - # next layer up - - templayer gencont CONT - and LI - and-not DIFF,TAP - and-not POLY - and-not DIODE - and-not nsubcheck - and-not psubcheck - and-not mvnsubcheck - and-not mvpsubcheck - and-not CORELI - copyup barelicont - - templayer barecont CONT - and-not LI - and-not nsubcheck - and-not psubcheck - and-not mvnsubcheck - and-not mvpsubcheck - and-not CORELI - copyup barecont - - layer glass GLASS,PADTXT,PADPIN - labels GLASS - variants (vendor) - labels PADTXT port - variants () - labels PADTXT text - variants * - labels PADPIN port - - templayer boundary BOUND,STDCELL,PADCELL - boundary - - layer comment LVSTEXT - labels LVSTEXT text - - layer comment TTEXT - labels TTEXT text - - layer fillblock FILLOBSM1,FILLOBSM2,FILLOBSM3,FILLOBSM4 - labels FILLOBSM1,FILLOBSM2,FILLOBSM3,FILLOBSM4 - - layer obsactive FILLOBSFOM - -# MOS Varactor - - layer var POLY - and TAP - and NSDM - and NWELL,nwelcheck - and-not HVI,hvcheck - and-not HVTP - # NOTE: Else forms a varactor that is not in the vendor netlist. - and-not COREID - labels POLY - - layer varhvt POLY - and TAP - and NSDM - and NWELL,nwelcheck - and-not HVI,hvcheck - and HVTP - labels POLY - - layer mvvar POLY - and TAP - and NSDM - and NWELL,nwelcheck - and HVI,hvcheck - labels POLY - - calma NWELL 64 20 - calma DIFF 65 20 - calma DNWELL 64 18 - calma SUBCUT 81 53 - calma PWRES 64 13 - calma TAP 65 44 - # LVTN - calma LVTN 125 44 - # HVTR - calma HVTR 18 20 - # HVTP - calma HVTP 78 44 - # SONOS (TUNM) - calma SONOS 80 20 - # NSDM (NPLUS) - calma NSDM 93 44 - # PSDM (PPLUS) - calma PSDM 94 20 - # HVI (THKOX) - calma HVI 75 20 - # NPC - calma NPC 95 20 - # P+ POLY MASK - calma RPM 86 20 - calma URPM 79 20 - calma LDNTM 11 44 - calma HVNTM 125 20 - # Poly resistor ID mark - calma POLYRES 66 13 - # Diffusion resistor ID mark - calma DIFFRES 65 13 - calma POLY 66 20 - calma POLYMOD 66 83 - # 3.3V native FET ID mark - calma LVID 81 60 - # Diode ID mark - calma DIODE 81 23 - # Bipolar NPN mark - calma NPNID 82 20 - # Bipolar PNP mark - calma PNPID 82 44 - # Capacitor ID - calma CAPID 82 64 - # Core area ID mark - calma COREID 81 2 - # Standard cell ID mark - calma STDCELL 81 4 - # Padframe cell ID mark - calma PADCELL 81 3 - # Seal ring ID mark - calma SEALID 81 1 - # Low tap density ID mark - calma LOWTAPDENSITY 81 14 - # ESD area ID - calma ESDID 81 19 - calma OUTLINE 236 0 - - # LICON - calma CONT 66 44 - calma LI 67 20 - calma MCON 67 44 - - calma MET1 68 20 - calma VIA1 68 44 - calma MET2 69 20 - calma VIA2 69 44 - calma MET3 70 20 - calma VIA3 70 44 - calma MET4 71 20 - calma VIA4 71 44 - calma MET5 72 20 - calma RDL 74 20 - calma GLASS 76 20 - - calma SUBTXT 64 59 - calma PADTXT 76 5 - calma DIFFTXT 65 6 - calma TAPTXT 65 5 - calma WELLTXT 64 5 - calma LITXT 67 5 - calma POLYTXT 66 5 - calma MET1TXT 68 5 - calma MET2TXT 69 5 - calma MET3TXT 70 5 - calma MET4TXT 71 5 - calma MET5TXT 72 5 - calma RDLTXT 74 5 - - calma LIRES 67 13 - calma MET1RES 68 13 - calma MET2RES 69 13 - calma MET3RES 70 13 - calma MET4RES 71 13 - calma MET5RES 72 13 - - calma LIFILL 56 28 - calma MET1FILL 36 28 - calma MET2FILL 41 28 - calma MET3FILL 34 28 - calma MET4FILL 51 28 - calma MET5FILL 59 28 - - calma POLYSHORT 66 15 - calma LISHORT 67 15 - calma MET1SHORT 68 15 - calma MET2SHORT 69 15 - calma MET3SHORT 70 15 - calma MET4SHORT 71 15 - calma MET5SHORT 72 15 - - calma SUBPIN 122 16 - calma PADPIN 76 16 - calma DIFFPIN 65 16 - calma POLYPIN 66 16 - calma WELLPIN 64 16 - calma LIPIN 67 16 - calma MET1PIN 68 16 - calma MET2PIN 69 16 - calma MET3PIN 70 16 - calma MET4PIN 71 16 - calma MET5PIN 72 16 - calma RDLPIN 74 16 - - calma BOUND 235 4 - - calma LVSTEXT 83 44 - - calma CAPM 89 44 - calma CAPM2 97 44 - - calma FILLOBSM1 62 24 - calma FILLOBSM2 105 52 - calma FILLOBSM3 107 24 - calma FILLOBSM4 112 4 - calma FILLOBSFOM 22 24 - calma FILLOBSPOLY 33 24 - - calma FOMFILL 23 28 - calma POLYFILL 28 28 - calma LIFILL 56 28 - calma MET1FILL 36 28 - calma MET2FILL 41 28 - calma MET3FILL 34 28 - calma MET4FILL 51 28 - calma MET5FILL 59 28 - -#----------------------------------------------------------------------- - -style rdlimport - # This style is for reading shapes generated with the RDL layers - - scalefactor 10 nanometers - gridlimit 5 - - options ignore-unknown-layer-labels no-reconnect-labels - - layer mrdl RDL - layer mrdlc RDLC - - calma RDL 10 0 - calma RDLC 20 0 - -end - -#----------------------------------------------------- -# Digital flow maze router cost parameters -#----------------------------------------------------- - -mzrouter -end - -#----------------------------------------------------- -# Vendor DRC rules -#----------------------------------------------------- - -drc - - style drc variants (fast),(full),(routing) - scalefactor 10 - cifstyle drc - - variants (fast),(full) - -#----------------------------- -# DNWELL -#----------------------------- - - width dnwell 3000 "Deep N-well width < %d (dnwell.2)" - spacing dnwell dnwell 6300 touching_ok "Deep N-well spacing < %d (dnwell.3)" - spacing allnwell dnwell 4500 surround_ok \ - "Deep N-well spacing to N-well < %d (nwell.7)" - - variants (full) - cifmaxwidth nwell_missing 0 bend_illegal \ - "N-well overlap of Deep N-well < 0.4um outside, 1.03um inside (nwell.5a, 7)" - cifmaxwidth dnwell_missing 0 bend_illegal \ - "SONOS nFET must be in Deep N-well (tunm.6a)" - - cifmaxwidth pdiff_crosses_dnwell 0 bend_illegal \ - "P+ diff cannot straddle Deep N-well (dnwell.5)" - variants (fast),(full) - -#----------------------------- -# NWELL -#----------------------------- - - width allnwell 840 "N-well width < %d (nwell.1)" - spacing allnwell allnwell 1270 touching_ok "N-well spacing < %d (nwell.2a)" - - variants (full) - cifmaxwidth nwell_missing_tap 0 bend_illegal \ - "All nwells must contain metal-connected N+ taps (nwell.4)" - - cifspacing mvnwell lvnwell 2000 touching_illegal \ - "Spacing of HV nwell to LV nwell < 2.0um (nwell.8)" - cifspacing mvnwell mvnwell 2000 touching_ok \ - "Spacing of HV nwell to HV nwell < 2.0um (nwell.8)" - variants (fast),(full) - -#----------------------------- -# DIFF -#----------------------------- - - width *ndiff,nfet,scnfet,npd,npass,*nsd,*ndiode,ndiffres,*pdiff,pfet,scpfet,scpfethvt,ppu,*psd,*pdiode,pdiffres,fomfill \ - 150 "Diffusion width < %d (diff/tap.1)" - width *mvndiff,mvnfet,mvnfetesd,mvnnfet,nnfet,*mvndiode,*nndiode,mvndiffres,*mvpdiff,mvpfet,mvpfetesd,*mvpdiode,mvpdiffres 290 \ - "MV Diffusion width < %d (diff/tap.14)" - - width *mvnsd,*mvpsd 150 "MV Tap width < %d (diff/tap.1)" - extend *mvpsd *mvndiff 700 "MV Butting tap length < %d (diff/tap.16)" - extend *mvnsd *mvpdiff 700 "MV Butting tap length < %d (diff/tap.16)" - extend *psd *ndiff 290 "Butting tap length < %d (diff/tap.4)" - extend *nsd *pdiff 290 "Butting tap length < %d (diff/tap.4)" - width mvpdiffres 150 "MV P-Diffusion resistor width < %d (diff/tap.14a)" - spacing alldifflv,var,varhvt,fomfill alldifflv,var,varhvt,fomfill 270 touching_ok \ - "Diffusion spacing < %d (diff/tap.3)" - spacing alldiffmvnontap,mvvar alldiffmvnontap,mvvar 300 touching_ok \ - "MV Diffusion spacing < %d (diff/tap.15a)" - spacing alldiffmv *mvnsd,*mvpsd 270 touching_ok \ - "MV Diffusion to MV tap spacing < %d (diff/tap.3)" - spacing *mvndiff,mvnfet,mvnfetesd,mvnnfet,nnfet,*mvndiode,*nndiode,mvndiffres,mvvar *mvpsd 370 \ - touching_ok "MV P-Diffusion to MV N-tap spacing < %d (diff/tap.15b)" - spacing *mvnsd,*mvpdiff,mvpfet,mvpfetesd,mvvar,*mvpdiode *mvpsd,*psd 760 touching_illegal \ - "MV Diffusion in N-well to P-tap spacing < %d (diff/tap.20 + diff/tap.17,19)" - spacing *ndiff,*ndiode,nfet allnwell 340 touching_illegal \ - "N-Diffusion spacing to N-well < %d (diff/tap.9)" - spacing *mvndiff,*mvndiode,mvnfet,mvnnfet,nnfet allnwell 340 touching_illegal \ - "N-Diffusion spacing to N-well < %d (diff/tap.9)" - spacing *psd allnwell 130 touching_illegal \ - "P-tap spacing to N-well < %d (diff/tap.11)" - spacing *mvpsd allnwell 130 touching_illegal \ - "P-tap spacing to N-well < %d (diff/tap.11)" - surround *nsd allnwell 180 absence_illegal \ - "N-well overlap of N-tap < %d (diff/tap.10)" - surround *mvnsd allnwell 330 absence_illegal \ - "N-well overlap of MV N-tap < %d (diff/tap.19)" - surround *pdiff,*pdiode,pfet,scpfet,ppu allnwell 180 absence_illegal \ - "N-well overlap of P-Diffusion < %d (diff/tap.8)" - surround *mvpdiff,*mvpdiode,mvpfet,mvpfetesd allnwell 330 absence_illegal \ - "N-well overlap of P-Diffusion < %d (diff/tap.17)" - surround mvvar allnwell 560 absence_illegal \ - "N-well overlap of MV varactor < %d (lvtn.10 + lvtn.4b)" - spacing *mvndiode *mvndiode 1070 touching_ok \ - "MV N-diode spacing < %d (hvntm.2 + 2 * hvntm.3)" - -variants (full) - cifspacing allmvdiffnowell lvnwell 825 touching_illegal \ - "MV diffusion to LV nwell spacing < %d (hvi.5 + nsd/psd.5)" - cifspacing nwell_or_hvi nwell_or_hvi 700 touching_ok \ - "HVI to HVI or LV nwell spacing < %d (hvi.5)" -variants (fast),(full) - - spacing allnfets allpactivenonfet 270 touching_illegal \ - "nFET cannot abut P-diffusion (diff/tap.3)" - spacing allpfets allnactivenonfet 270 touching_illegal \ - "pFET cannot abut N-diffusion (diff/tap.3)" - - # Butting junction rules - edge4way (*psd)/a ~(*ndiff,*psd)/a 125 ~(*ndiff)/a (*ndiff)/a 125 \ - "N-Diffusion to P-tap spacing < %d across butted junction (psd.5b)" - edge4way (*ndiff)/a ~(*ndiff,*psd)/a 125 ~(*psd)/a (*psd)/a 125 \ - "N-Diffusion to P-tap spacing < %d across butted junction (psd.5a)" - edge4way (*nsd)/a ~(*pdiff,*nsd)/a 125 ~(*pdiff)/a (*pdiff)/a 125 \ - "P-Diffusion to N-tap spacing < %d across butted junction (nsd.5b)" - edge4way (*pdiff)/a ~(*pdiff,*nsd)/a 125 ~(*nsd)/a (*nsd)/a 125 \ - "P-Diffusion to N-tap spacing < %d across butted junction (nsd.5a)" - - edge4way (*mvpsd)/a ~(*mvndiff,*mvpsd)/a 125 ~(*mvndiff)/a (*mvndiff)/a 125 \ - "MV N-Diffusion to MV P-tap spacing < %d across butted junction (psd.5b)" - edge4way (*mvndiff)/a ~(*mvndiff,*mvpsd)/a 125 ~(*mvpsd)/a (*mvpsd)/a 125 \ - "MV N-Diffusion to MV P-tap spacing < %d across butted junction (psd.5a)" - edge4way (*mvnsd)/a ~(*mvpdiff,*mvnsd)/a 125 ~(*mvpdiff)/a (*mvpdiff)/a 125 \ - "MV P-Diffusion to MV N-tap spacing < %d across butted junction (nsd.5b)" - edge4way (*mvpdiff)/a ~(*mvpdiff,*mvnsd)/a 125 ~(*mvnsd)/a (*mvnsd)/a 125 \ - "MV P-Diffusion to MV N-tap spacing < %d across butted junction (nsd.5a)" - - # Sandwiched butting junction restrictions - edge4way (*pdiff)/a (*nsd)/a 400 ~(*pdiff)/a 0 0 "NSDM width < %d (diff/tap.5)" - edge4way (*ndiff)/a (*psd)/a 400 ~(*ndiff)/a 0 0 "PSDM width < %d (diff/tap.5)" - - area *nsd,*mvnsd 70110 150 "N-tap minimum area < 0.07011um^2 (nsd.10b)" - area *psd,*mvpsd 70110 150 "P-tap minimum area < 0.07011um^2 (psd.10b)" - - angles allactive 90 "Only 90 degree angles permitted on diff and tap (x.2)" - - variants (full) - cifmaxwidth tap_missing_licon 0 bend_illegal "All taps must be contacted (licon.16)" - - # Latchup rules - cifmaxwidth ptap_missing 0 bend_illegal \ - "N-diff distance to P-tap must be < 15.0um (LU.2)" - cifmaxwidth dptap_missing 0 bend_illegal \ - "N-diff distance to P-tap in deep nwell.must be < 15.0um (LU.2.1)" - cifmaxwidth ntap_missing 0 bend_illegal \ - "P-diff distance to N-tap must be < 15.0um (LU.3)" - - variants (fast),(full) - -#----------------------------- -# POLY -#----------------------------- - - width allpoly,polyfill 150 "poly width < %d (poly.1a)" - spacing allpoly,polyfill allpoly,polyfill 210 touching_ok "poly spacing < %d (poly.2)" - - spacing allpolynonfet,polyfill \ - *ndiff,*mvndiff,*ndiode,*nndiode,ndiffres,*ndiodelvt,*pdiff,*mvpdiff,*pdiode,pdiffres,*pdiodelvt,*pdiodehvt \ - 75 corner_ok allfets \ - "poly spacing to Diffusion < %d (poly.4)" - spacing npres *nsd 480 touching_illegal \ - "poly resistor spacing to N-tap < %d (poly.9)" - overhang *ndiff,rndiff nfet,scnfet,npd,npass 250 "N-Diffusion overhang of nFET < %d (poly.7)" - overhang *mvndiff,mvrndiff mvnfet,mvnnfet,nnfet 250 \ - "N-Diffusion overhang of nFET < %d (poly.7)" - overhang *pdiff,rpdiff pfet,scpfet,ppu 250 "P-Diffusion overhang of pmos < %d (poly.7)" - overhang *mvpdiff,mvrpdiff mvpfet,mvpfetesd 250 "P-Diffusion overhang of pmos < %d (poly.7)" - overhang *poly allfetsstd,allfetsspecial 130 "poly overhang of transistor < %d (poly.8)" - overhang *poly allfetscore 110 "poly overhang of SRAM core transistor < %d (poly.8)" - rect_only allfets "No bends in transistors (poly.11)" - rect_only xhrpoly,uhrpoly "No bends in poly resistors (poly.11)" - extend xpc/a xhrpoly,uhrpoly 2160 \ - "poly contact extends poly resistor by < %d (licon.1c + li.5)" - spacing xhrpoly,uhrpoly,xpc xhrpoly,uhrpoly,xpc 1240 touching_illegal \ - "Distance between precision resistors < %d (rpm.2 + 2 * rpm.3)" - - variants (fast) - - spacing xhrpoly,uhrpoly,xpc allndifflv,allndiffmv 525 touching_illegal \ - "Distance from precision resistor to N+ diffusion < %d (rpm.3 + rpm.6 + nsd.5a)" - spacing xhrpoly,uhrpoly,xpc *poly 400 touching_illegal \ - "Distance from precision resistor to unrelated poly < %d (rpm.3 + rpm.7)" - spacing xhrpoly,uhrpoly,xpc allndiffmvnontap 585 touching_illegal \ - "Distance from precision resistor to MV N+ device < %d (rpm.3 + rpm.9 + hvntm.3)" - - # Minimum width requirement means actual spacing from res to ndiff has to be - # constructed from mask rules. These supercede the simpler checks. - - variants (full) - - cifmaxwidth rpm_nsd_check 0 bend_illegal \ - "Distance from precision resistor to N+ diffusion < 0.525um (rpm.3 + rpm.6 + nsd.5a)" - cifmaxwidth rpm_poly_check 0 bend_illegal \ - "Distance from precision resistor to unrelated poly < 0.4um (rpm.3 + rpm.7)" - cifmaxwidth rpm_hvntm_check 0 bend_illegal \ - "Distance from precision resistor to MV N+ device < 0.585um (rpm.3 + rpm.9 + hvntm.3)" - - variants (fast),(full) - - angles allpoly,polyfill 90 "Only 90 degree angles permitted on poly (x.2)" - -#-------------------------------------------------------------------- -# HVTP -#-------------------------------------------------------------------- - - spacing pfethvt,pdiodehvt,varactorhvt pfet,ppu,scpfet,mvpfet,mvpfetesd,pfetlvt,pfetmvt \ - 360 touching_illegal \ - "Min. spacing between pFET and HVTP < %d (hvtp.4)" - - spacing pfethvt,pdiodehvt,varactorhvt varactor 360 touching_illegal \ - "Min. spacing between varactor and HVTP < %d (hvtp.4 + varac.3)" - -#-------------------------------------------------------------------- -# LVTN -#-------------------------------------------------------------------- - - spacing pfetlvt,nfetlvt,pdiodelvt,ndiodelvt \ - allfetsnolvt 360 touching_illegal \ - "Min. spacing between FET and LVTN < %d (lvtn.3a)" - - spacing pfetlvt,nfetlvt,pdiodelvt,ndiodelvt scpfethvt,pfethvt,pdiodehvt,varactorhvt \ - 740 touching_illegal \ - "Min. spacing between LVTN and HVTP < %d (lvtn.9)" - - # Spacing across S/D direction requires edge rule - edge4way allfetsnolvt allactivenonfet 415 \ - ~(pfetlvt,nfetlvt,pdiodelvt,ndiodelvt)/a allfetsnolvt 415 \ - "Min. spacing between FET and LVTN in S/D direction < %d (lvtn.3b)" - -#-------------------------------------------------------------------- -# NPC (Nitride poly Cut) -#-------------------------------------------------------------------- - -# Layer NPC is defined automatically around poly contacts (grow 0.1um) - -#-------------------------------------------------------------------- -# CONT (LICON, contact between poly/diff and LI) -#-------------------------------------------------------------------- - - width ndc/li 170 "N-diffusion contact width < %d (licon.1)" - width nsc/li 170 "N-tap contact width < %d (licon.1)" - width pdc/li 170 "P-diffusion contact width < %d (licon.1)" - width psc/li 170 "P-tap contact width < %d (licon.1)" - width ndic/li 170 "N-diode contact width < %d (licon.1)" - width pdic/li 170 "P-diode contact width < %d (licon.1)" - width pc/li 170 "poly contact width < %d (licon.1)" - - width xpc/li 350 "poly resistor contact width < %d (licon.1b + 2 * li.5)" - area xpc/li 700000 350 "poly resistor contact length < 2.0um (licon.1c)" - area allli,*obsli 56100 170 "Local interconnect minimum area < %a (li.6)" - - width mvndc/li 170 "N-diffusion contact width < %d (licon.1)" - width mvnsc/li 170 "N-tap contact width < %d (licon.1)" - width mvpdc/li 170 "P-diffusion contact width < %d (licon.1)" - width mvpsc/li 170 "P-tap contact width < %d (licon.1)" - width mvndic/li 170 "N-diode contact width < %d (licon.1)" - width mvpdic/li 170 "P-diode contact width < %d (licon.1)" - - spacing allpdiffcont allndiffcont 170 touching_illegal \ - "Diffusion contact spacing < %d (licon.2)" - spacing allndiffcont allndiffcont 170 touching_ok \ - "Diffusion contact spacing < %d (licon.2)" - spacing allpdiffcont allpdiffcont 170 touching_ok \ - "Diffusion contact spacing < %d (licon.2)" - spacing pc pc 170 touching_ok "Poly1 contact spacing < %d (licon.2)" - - spacing pc alldiff 190 touching_illegal \ - "poly contact spacing to diffusion < %d (licon.14)" - spacing pc allpdifflv,allpdiffmv 235 touching_illegal \ - "poly contact spacing to P-diffusion < %d (licon.9 + psdm.5a)" - - spacing ndc,pdc nfet,nfetlvt,pfet,pfethvt,pfetlvt,pfetmvt 55 touching_illegal \ - "Diffusion contact to gate < %d (licon.11)" - spacing ndc,pdc scnfet,scpfet,scpfethvt 50 touching_illegal \ - "Diffusion contact to standard cell gate < %d (licon.11)" - spacing ndc,pdc npd,npass,ppu 40 touching_illegal \ - "Diffusion contact to SRAM gate < %d (licon.11)" - spacing mvndc,mvpdc mvnfet,mvnfetesd,mvnnfet,nnfet,mvpfet,mvpfetesd 55 touching_illegal \ - "Diffusion contact to gate < %d (licon.11)" - spacing nsc varactor,varhvt 250 touching_illegal \ - "Diffusion contact to varactor gate < %d (licon.10)" - spacing mvnsc mvvar 250 touching_illegal \ - "Diffusion contact to varactor gate < %d (licon.10)" - - surround ndc/a *ndiff,nfet,scnfet,npd,npass,nfetlvt,rnd 40 absence_illegal \ - "N-diffusion overlap of N-diffusion contact < %d (licon.5a)" - surround pdc/a *pdiff,pfet,scpfet,scpfethvt,ppu,pfethvt,pfetmvt,pfetlvt,rpd \ - 40 absence_illegal \ - "P-diffusion overlap of P-diffusion contact < %d (licon.5a)" - surround ndic/a *ndi 40 absence_illegal \ - "N-diode overlap of N-diode contact < %d (licon.5a)" - surround pdic/a *pdi 40 absence_illegal \ - "P-diode overlap of N-diode contact < %d (licon.5a)" - - spacing psc/a allnactivenontap 60 touching_illegal \ - "Min. space between P-tap contact and butting N diffusion < %d (licon.5b)" - spacing nsc/a allpactivenontap 60 touching_illegal \ - "Min. space between N-tap contact and butting P diffusion < %d (licon.5b)" - - surround ndc/a *ndiff,nfet,scnfet,npd,npass,nfetlvt,rnd 60 directional \ - "N-diffusion overlap of N-diffusion contact < %d in one direction (licon.5c)" - surround pdc/a *pdiff,pfet,scpfet,scpfethvt,ppu,pfethvt,pfetmvt,pfetlvt,rpd \ - 60 directional \ - "P-diffusion overlap of P-diffusion contact < %d in one direction (licon.5c)" - surround ndic/a *ndi 60 directional \ - "N-diode overlap of N-diode contact < %d in one direction (licon.5c)" - surround pdic/a *pdi 60 directional \ - "P-diode overlap of N-diode contact < %d in one direction (licon.5c)" - - surround nsc/a *nsd 120 directional \ - "N-tap overlap of N-tap contact < %d in one direction (licon.7)" - surround psc/a *psd 120 directional \ - "P-tap overlap of P-tap contact < %d in one direction (licon.7)" - - surround mvndc/a *mvndiff,mvnfet,mvnfetesd,mvrnd 40 absence_illegal \ - "N-diffusion overlap of N-diffusion contact < %d (licon.5a)" - surround mvpdc/a *mvpdiff,mvpfet,mvpfetesd,mvrpd 40 absence_illegal \ - "P-diffusion overlap of P-diffusion contact < %d (licon.5a)" - surround mvndic/a *mvndi 40 absence_illegal \ - "N-diode overlap of N-diode contact < %d (licon.5a)" - surround mvpdic/a *mvpdi 40 absence_illegal \ - "P-diode overlap of N-diode contact < %d (licon.5a)" - - spacing mvpsc/a allndiffmvnontap 60 touching_illegal \ - "Min. space between P-tap contact and butting N diffusion < %d (licon.5b)" - spacing mvnsc/a allpdiffmvnontap 60 touching_illegal \ - "Min. space between N-tap contact and butting P diffusion < %d (licon.5b)" - - surround mvndc/a *mvndiff,mvnfet,mvnfetesd,mvrnd 60 directional \ - "N-diffusion overlap of N-diffusion contact < %d in one direction (licon.5c)" - surround mvpdc/a *mvpdiff,mvpfet,mvpfetesd,mvrpd 60 directional \ - "P-diffusion overlap of P-diffusion contact < %d in one direction (licon.5c)" - surround mvndic/a *mvndi 60 directional \ - "N-diode overlap of N-diode contact < %d in one direction (licon.5c)" - surround mvpdic/a *mvpdi 60 directional \ - "P-diode overlap of N-diode contact < %d in one direction (licon.5c)" - - surround mvnsc/a *mvnsd 120 directional \ - "N-tap overlap of N-tap contact < %d in one direction (licon.7)" - surround mvpsc/a *mvpsd 120 directional \ - "P-tap overlap of P-tap contact < %d in one direction (licon.7)" - - surround pc/a *poly,mrp1,xhrpoly,uhrpoly 50 absence_illegal \ - "poly overlap of poly contact < %d (licon.8)" - surround pc/a *poly,mrp1,xhrpoly,uhrpoly 80 directional \ - "poly overlap of poly contact < %d in one direction (licon.8a)" - - exact_overlap (allcont)/a - -#------------------------------------------------------------- -# LI - Local interconnect layer -#------------------------------------------------------------- - -variants * - - width *li 170 "Local interconnect width < %d (li.1)" - width rli 290 "Local interconnect width < %d (li.7)" - - spacing *locali,rli *locali,rli,*obsli 170 touching_ok \ - "Local interconnect spacing < %d (li.3)" - - # Local interconnect in core (SRAM) cells has more relaxed rules. There are - # no special layers for the contacts in core cells, so they must be included - # in the rule. - width coreli,pc,ndc,nsc,pdc,psc,allli,*obsli 140 \ - "Core local interconnect width < %d (li.c1)" - - spacing coreli,pc,ndc,nsc,pdc,psc,mcon allli,*obsli 140 touching_ok \ - "Core local interconnect spacing < %d (li.c2)" - - surround pc/li *li,coreli 80 directional \ - "Local interconnect overlap of poly contact < %d in one direction (li.5)" - - surround ndc/li,nsc/li,pdc/li,psc/li,ndic/li,pdic/li,mvndc/li,mvnsc/li,mvpdc/li,mvpsc/li,mvndic/li,mvpdic/li \ - *li,rli,coreli 80 directional \ - "Local interconnect overlap of diffusion contact < %d in one direction (li.5)" - - area allli,*obsli,coreli 56100 170 "Local interconnect minimum area < %a (li.6)" - - angles *locali,rli 90 "Only 90 degree angles permitted on local interconnect (x.2)" - angles coreli 45 \ - "Only 45 degree angles permitted on local interconnect in SRAM cell (x.2)" - -#------------------------------------------------------------- -# MCON - Contact between local interconnect and metal1 -#------------------------------------------------------------- - - width mcon/m1 170 "mcon.width < %d (mcon.1)" - spacing mcon/m1 mcon/m1,obsmcon/m1 190 touching_ok "mcon.spacing < %d (mcon.2)" - - exact_overlap mcon/li - -#------------------------------------------------------------- -# METAL1 - -#------------------------------------------------------------- - - width *m1,rm1 140 "Metal1 width < %d (met1.1)" - spacing allm1,m1fill allm1,*obsm1,m1fill 140 touching_ok "Metal1 spacing < %d (met1.2)" - area allm1,*obsm1 83000 140 "Metal1 minimum area < %a (met1.6)" - - surround mcon/m1 *met1 30 absence_illegal \ - "Metal1 overlap of local interconnect contact < %d (met1.4)" - surround mcon/m1 *met1 60 directional \ - "Metal1 overlap of local interconnect contact < %d in one direction (met1.5)" - - angles allm1,m1fill 45 "Only 45 and 90 degree angles permitted on metal1 (x.3a)" - -variants (fast),(full) - widespacing allm1 3005 allm1,*obsm1,m1fill 280 touching_ok \ - "Metal1 > 3um spacing to unrelated m1 < %d (met1.3b)" - widespacing *obsm1 3005 allm1 280 touching_ok \ - "Metal1 > 3um spacing to unrelated m1 < %d (met1.3b)" - -variants (full) - cifmaxwidth m1_hole_empty 0 bend_illegal \ - "Min area of metal1 holes > 0.14um^2 (met1.7)" - - cifspacing m1_large_halo m1_large_halo 280 touching_ok \ - "Spacing of metal1 features attached to and within 0.28um of large metal1 < %d (met1.3a)" -variants * - -#-------------------------------------------------- -# VIA1 -#-------------------------------------------------- - - width v1/m1 260 "Via1 width < %d (via.1a + 2 * via.4a)" - spacing v1 v1 60 touching_ok "Via1 spacing < %d (via.2 - 2 * via.4a)" - surround v1/m1 *m1,rm1 30 directional \ - "Metal1 overlap of Via1 < %d in one direction (via.5a - via.4a)" - surround v1/m2 *m2,rm2 30 directional \ - "Metal2 overlap of Via1 < %d in one direction (met2.5 - met2.4)" - - exact_overlap v1/m1 - -#-------------------------------------------------- -# METAL2 - -#-------------------------------------------------- - - width allm2,m2fill 140 "Metal2 width < %d (met2.1)" - spacing allm2 allm2,obsm2,m2fill 140 touching_ok "Metal2 spacing < %d (met2.2)" - area allm2,obsm2 67600 140 "Metal2 minimum area < %a (met2.6)" - - angles allm2 45 "Only 45 and 90 degree angles permitted on metal2 (x.3a)" - -variants (fast),(full) - widespacing allm2 3005 allm2,obsm2,m2fill 280 touching_ok \ - "Metal2 > 3um spacing to unrelated m2 < %d (met2.3b)" - widespacing obsm2 3005 allm2 280 touching_ok \ - "Metal2 > 3um spacing to unrelated m2 < %d (met2.3b)" - -variants (full) - cifmaxwidth m2_hole_empty 0 bend_illegal \ - "Min area of metal2 holes > 0.14um^2 (met2.7)" - - cifspacing m2_large_halo m2_large_halo 280 touching_ok \ - "Spacing of metal2 features attached to and within 0.28um of large metal2 < %d (met2.3a)" -variants * - -#-------------------------------------------------- -# VIA2 -#-------------------------------------------------- - - width v2/m2 280 "via2 width < %d (via2.1a + 2 * via2.4)" - - spacing v2 v2 120 touching_ok "via2 spacing < %d (via2.2 - 2 * via2.4)" - - surround v2/m2 *m2,rm2 45 directional \ - "Metal2 overlap of via2 < %d in one direction (via2.4a - via2.4)" - surround v2/m3 *m3,rm3 25 absence_illegal "Metal3 overlap of via2 < %d (met3.4)" - - exact_overlap v2/m2 - -#-------------------------------------------------- -# METAL3 - -#-------------------------------------------------- - - width allm3,m3fill 300 "Metal3 width < %d (met3.1)" - spacing allm3 allm3,obsm3,m3fill 300 touching_ok "Metal3 spacing < %d (met3.2)" - area allm3,obsm3 240000 300 "Metal3 minimum area < %a (met3.6)" - - angles allm3 45 "Only 45 and 90 degree angles permitted on metal3 (x.3a)" - -variants (fast),(full) - widespacing allm3,m3fill 3005 allm3,obsm3 400 touching_ok \ - "Metal3 > 3um spacing to unrelated m3 < %d (met3.3d)" - widespacing obsm3 3005 allm3 400 touching_ok \ - "Metal3 > 3um spacing to unrelated m3 < %d (met3.3d)" -variants (full) - cifspacing m3_large_halo m3_large_halo 400 touching_ok \ - "Spacing of metal3 features attached to and within 0.40um of large metal3 < %d (met3.3c)" -variants * - - -#-------------------------------------------------- -# VIA3 - Requires METAL5 Module -#-------------------------------------------------- - - width v3/m3 320 "via3 width < %d (via3.1 + 2 * via3.4)" - spacing v3 v3 80 touching_ok "via3 spacing < %d (via3.2 - 2 * via3.4)" - surround v3/m3 *m3,rm3 30 directional \ - "Metal3 overlap of via3 in one direction < %d (via3.5 - via3.4)" - surround v3/m4 *m4,rm4 5 absence_illegal \ - "Metal4 overlap of via3 < %d (met4.3 - via3.4)" - - exact_overlap v3/m3 - -#----------------------------- -# METAL4 - METAL4 Module -#----------------------------- - -variants * - - width allm4,m4fill 300 "Metal4 width < %d (met4.1)" - spacing allm4 allm4,obsm4,m4fill 300 touching_ok "Metal4 spacing < %d (met4.2)" - area allm4,obsm4 240000 300 "Metal4 minimum area < %a (met4.4a)" - - angles allm4 45 "Only 45 and 90 degree angles permitted on metal4 (x.3a)" - -variants (fast),(full) - widespacing allm4,m4fill 3005 allm4,obsm4 400 touching_ok \ - "Metal4 > 3um spacing to unrelated m4 < %d (met4.5b)" - widespacing obsm4 3005 allm4 400 touching_ok \ - "Metal4 > 3um spacing to unrelated m4 < %d (met4.5b)" -variants (full) - cifspacing m4_large_halo m4_large_halo 400 touching_ok \ - "Spacing of metal4 features attached to and within 0.40um of large metal4 < %d (met4.5a)" -variants * - -#-------------------------------------------------- -# VIA4 - Requires METAL5 Module -#-------------------------------------------------- - - width v4/m4 1180 "via4 width < %d (via4.1 + 2 * via4.4)" - spacing v4 v4 420 touching_ok "via4 spacing < %d (via4.2 - 2 * via4.4)" - surround v4/m5 *m5,rm5 120 absence_illegal \ - "Metal5 overlap of via4 < %d (met5.3 - via4.4)" - - exact_overlap v4/m4 - -#----------------------------- -# METAL5 - METAL5 Module -#----------------------------- - - width allm5,m5fill 1600 "Metal5 width < %d (met5.1)" - spacing allm5 allm5,obsm5,m5fill 1600 touching_ok "Metal5 spacing < %d (met5.2)" - area allm5,obsm5 4000000 1600 "Metal5 minimum area < %a (met5.4)" - - angles allm5 45 "Only 45 and 90 degree angles permitted on metal5 (x.3a)" - - - -variants (full) - - width metrdl 10000 "RDL width < %d (rdl.1)" - spacing metrdl metrdl 10000 touching_ok "RDL spacing < %d (rdl.2)" - surround glass metrdl 10750 absence_ok "RDL must surround glass cut by %d (rdl.3)" - spacing padl metrdl 19660 surround_ok "RDL spacing to unrelated pad < %d (rdl.6)" - -variants (fast),(full) - - -#-------------------------------------------------- -# NMOS, PMOS -#-------------------------------------------------- - - edge4way *poly allfetsstd 420 allfets 0 0 \ - "Transistor width < %d (diff/tap.2)" - edge4way *poly allfetsspecial 360 allfets 0 0 \ - "Transistor in standard cell width < %d (diff/tap.2)" - edge4way *poly npass,npd,nsonos 210 allfets 0 0 \ - "N-Transistor in SRAM core width < %d (diff/tap.2)" - edge4way *poly ppu 140 allfets 0 0 \ - "P-Transistor in SRAM core width < %d (diff/tap.2)" - - # Except: Note that standard cells allow transistor width minimum 0.36um - width pfetlvt 350 "LVT PMOS gate length < %d (poly.1b)" - - spacing allpolynonfet,polyfill *nsd 55 corner_ok var,varhvt,corenvar \ - "poly spacing to diffusion tap < %d (poly.5)" - spacing allpolynonfet,polyfill *psd 55 corner_ok corepvar \ - "poly spacing to diffusion tap < %d (poly.5)" - spacing allpolynonfet,polyfill *mvnsd 55 corner_ok mvvar \ - "poly spacing to diffusion tap < %d (poly.5)" - spacing allpolynonfet,polyfill *mvpsd 55 touching_illegal \ - "poly spacing to diffusion tap < %d (poly.5)" - - edge4way *psd *ndiff 300 ~(nfet,npass,npd,scnfet,nfetlvt,nsonos)/a *psd 300 \ - "Butting P-tap spacing to NMOS gate < %d (poly.6)" - edge4way *nsd *pdiff 300 ~(pfet,ppu,scpfet,scpfethvt,pfetlvt,pfetmvt)/a *nsd 300 \ - "Butting N-tap spacing to PMOS gate < %d (poly.6)" - edge4way *mvpsd *mvndiff 300 ~(mvnfet,mvnfetesd,mvnnfet,nnfet)/a *mvpsd 300 \ - "Butting MV P-tap spacing to MV NMOS gate < %d (poly.6)" - edge4way *mvnsd *mvpdiff 300 ~(mvpfet,mvpfetesd)/a *mvnsd 300 \ - "Butting MV N-tap spacing to MV PMOS gate < %d (poly.6)" - - # No LV FETs in HV diff - spacing pfet,scpfet,scpfethvt,ppu,pfetlvt,pfetmvt,pfethvt,*pdiff *mvpdiff 360 touching_illegal \ - "LV P-diffusion to MV P-diffusion < %d (diff/tap.23 + diff/tap.22)" - - spacing nfet,scnfet,npd,npass,nfetlvt,varactor,varhvt,*ndiff *mvndiff 360 touching_illegal \ - "LV N-diffusion to MV N-diffusion < %d (diff/tap.23 + diff/tap.22)" - - # No HV FETs in LV diff - spacing mvpfet,mvpfetesd,*mvpdiff *pdiff 360 touching_illegal \ - "MV P-diffusion to LV P-diffusion < %d (diff/tap.23 + diff/tap.22)" - - spacing mvnfet,mvnfetesd,mvvaractor,*mvndiff *ndiff 360 touching_illegal \ - "MV N-diffusion to LV N-diffusion < %d (diff/tap.23 + diff/tap.22)" - - # Minimum length of MV FETs. Note that this is larger than the minimum - # width (0.29um), so an edge rule is required - - edge4way mvndiff mvnfet,mvnfetesd 500 mvnfet,mvnfetesd 0 0 \ - "MV NMOS minimum length < %d (poly.13)" - - edge4way mvnsd mvvaractor 500 mvvaractor 0 0 \ - "MV Varactor minimum length < %d (poly.13)" - - edge4way mvpdiff mvpfet,mvpfetesd 500 mvpfet,mvpfetesd 0 0 \ - "MV PMOS minimum length < %d (poly.13)" - -#-------------------------------------------------- -# mrp1 (N+ poly resistor) -#-------------------------------------------------- - - width mrp1 330 "mrp1 resistor width < %d (poly.3)" - -#-------------------------------------------------- -# xhrpoly (P+ poly resistor) -# uhrpoly (P+ poly resistor, 2kOhm/sq) -#-------------------------------------------------- - - # NOTE: u/xhrpoly resistor requires discrete widths 0.35, 0.69, ... up to 1.27. - width xhrpoly 350 "xhrpoly resistor width < %d (P+ poly.1a)" - width uhrpoly 350 "uhrpoly resistor width < %d (P+ poly.1a)" - - spacing xhrpoly,uhrpoly,xpc alldiff 480 touching_illegal \ - "xhrpoly/uhrpoly resistor spacing to diffusion < %d (poly.9)" - - spacing mrp1,xhrpoly,uhrpoly,xpc allfets 480 touching_illegal \ - "Poly resistor spacing to poly < %d (poly.9)" - - spacing xhrpoly,uhrpoly,xpc *poly 480 touching_illegal \ - "Poly resistor spacing to poly < %d (poly.9)" - - spacing mrp1 *poly 480 touching_ok \ - "Poly resistor spacing to poly < %d (poly.9)" - - spacing mrp1,xhrpoly,uhrpoly,xpc alldiff 480 touching_illegal \ - "Poly resistor spacing to diffusion < %d (poly.9)" - -#------------------------------------ -# nsonos -#------------------------------------ - -variants (full) - cifmaxwidth bbox_missing 0 bend_illegal \ - "SONOS transistor must be in cell with abutment box (tunm.8)" -variants (fast),(full) - -#------------------------------------ -# MOS Varactor device rules -#------------------------------------ - - overhang *nsd var,varhvt 250 \ - "N-Tap overhang of Varactor < %d (var.4)" - - overhang *mvnsd mvvar 250 \ - "N-Tap overhang of Varactor < %d (var.4)" - - width var,varhvt,mvvar 180 "Varactor length < %d (var.1)" - extend var,varhvt,mvvar *poly 1000 "Varactor width < %d (var.2)" - -variants (full) - cifmaxwidth var_poly_no_nwell 0 bend_illegal \ - "N-well overlap of varactor poly < 0.15um (varac.5)" - - cifmaxwidth pdiff_in_varactor_well 0 bend_illegal \ - "Varactor N-well must not contain P+ diffusion (varac.7)" -variants (fast),(full) - -#----------------------------------------------------------- -# MiM CAP (CAPM) - -#----------------------------------------------------------- - - width *mimcap 1000 "MiM cap width < %d (capm.1)" - spacing *mimcap *mimcap 840 touching_ok "MiM cap spacing < %d (capm.2a)" - spacing *mimcap via3/m3 80 touching_illegal \ - "MiM cap spacing to via3 < %d (capm.5 - via3.4)" - surround *mimcc *mimcap 80 absence_illegal \ - "MiM cap must surround MiM cap contact by %d (capm.4 - via3.4)" - rect_only *mimcap "MiM cap must be rectangular (capm.7) - - surround *mimcap *metal3/m3 140 absence_illegal \ - "Metal3 must surround MiM cap by %d (capm.3)" - spacing via2 *mimcap 100 touching_illegal \ - "MiM cap spacing to via2 < %d (capm.8 - via2.4)" - spacing *mimcap *metal3/m3 500 surround_ok \ - "MiM cap spacing to unrelated metal3 < %d (capm.11)" - -variants (full) - cifspacing mim_bottom mim_bottom 1200 touching_ok \ - "MiM cap bottom plate spacing < %d (capm.2b)" -variants (fast),(full) - - # MiM cap contact rules (VIA3) - - width mimcc/c1 320 "MiM cap contact width < %d (via3.1 + 2 * via3.4)" - spacing mimcc mimcc 80 touching_ok "MiM cap contact spacing < %d (via3.2 - 2 * via3.4)" - surround mimcc/m4 *m4 5 directional \ - "Metal4 overlap of MiM cap contact in one direction < %d (met4.3 - via3.4)" - exact_overlap mimcc/c1 - - width *mimcap2 1000 "MiM2 cap width < %d (cap2m.1)" - spacing *mimcap2 *mimcap2 840 touching_ok "MiM2 cap spacing < %d (cap2m.2a)" - spacing *mimcap2 via4/m4 10 touching_illegal \ - "MiM2 cap spacing to via4 < %d (cap2m.5 - via4.4)" - surround *mim2cc *mimcap2 10 absence_illegal \ - "MiM2 cap must surround MiM cap 2 contact by %d (cap2m.4 - via4.4)" - rect_only *mimcap2 "MiM2 cap must be rectangular (cap2m.7) - - surround *mimcap2 *metal4/m4 140 absence_illegal \ - "Metal4 must surround MiM2 cap by %d (cap2m.3)" - spacing via3 *mimcap2 80 touching_illegal \ - "MiM2 cap spacing to via3 < %d (cap2m.8 - via3.4)" - spacing *mimcap2 *metal4/m4 500 surround_ok \ - "MiM2 cap spacing to unrelated metal4 < %d (cap2m.11)" - -variants (full) - cifmaxwidth mim2_contact_overlap 0 bend_illegal \ - "MiM2 cap contact must not cross MiM cap contact (cap2m.8)" - - cifspacing mim2_bottom mim2_bottom 1200 touching_ok \ - "MiM2 cap bottom plate spacing < %d (cap2m.2b)" -variants (fast),(full) - - # MiM cap contact rules (VIA4) - - width mim2cc/c2 1180 "MiM2 cap contact width < %d (via4.1 + 2 * via4.4)" - spacing mim2cc mim2cc 420 touching_ok \ - "MiM2 cap contact spacing < %d (via4.2 - 2 * via4.4)" - surround mim2cc/m5 *m5 120 absence_illegal \ - "Metal5 overlap of MiM2 cap contact < %d (met5.3 - via4.4)" - exact_overlap mim2cc/c2 - - -#---------------------------- -# HVNTM -#---------------------------- -variants (full) - cifspacing hvntm_generate hvntm_generate 700 touching_ok \ - "HVNTM spacing < %d (hvntm.2)" -variants (fast),(full) - -#---------------------------- -# End DRC style -#---------------------------- - -end - -#---------------------------- -# LEF format definitions -#---------------------------- - -lef - - masterslice pwell pwell PWELL substrate - masterslice nwell nwell NWELL - - routing li li1 LI1 LI li - - routing m1 met1 MET1 m1 - routing m2 met2 MET2 m2 - routing m3 met3 MET3 m3 - routing m4 met4 MET4 m4 - routing m5 met5 MET5 m5 - routing mrdl met6 MET6 m6 MRDL METRDL - - cut mcon mcon MCON Mcon - cut m2c via via1 VIA VIA1 cont2 via12 - cut m3c via2 VIA2 cont3 via23 - cut via3 via3 VIA3 cont4 via34 - cut via4 via4 VIA4 cont5 via45 - - obs obsli li1 - obs obsm1 met1 - obs obsm2 met2 - obs obsm3 met3 - - obs obsm4 met4 - obs obsm5 met5 - obs obsmrdl met6 - - # NOTE: obsmcon only used with li1, not obsli. - obs obsmcon mcon - - # Vias on obstruction layers should be ignored, so cast to obstruction metal. - obs obsm1 via - obs obsm2 via2 - obs obsm3 via3 - obs obsm4 via4 - -end - -#----------------------------------------------------- -# Device and Parasitic extraction -#----------------------------------------------------- - - -extract - style ngspice variants (),(orig),(si) - cscale 1 - # NOTE: SkyWater SPICE libraries use .option scale 1E6 so all - # dimensions must be in units of microns in the extract file. - # Use extract style "ngspice(si)" to override this and produce - # a file with SI units for length/area. - - variants (),(orig) - lambda 1E6 - variants (si) - lambda 1.0 - variants * - - units microns - step 7 - sidehalo 2 - - # NOTE: MiM cap layers have been purposely put out of order, - # may want to reconsider. - - planeorder dwell 0 - planeorder well 1 - planeorder active 2 - planeorder locali 3 - planeorder metal1 4 - planeorder metal2 5 - planeorder metal3 6 - planeorder metal4 7 - planeorder metal5 8 - planeorder metali 9 - planeorder block 10 - planeorder comment 11 - planeorder cap1 12 - planeorder cap2 13 - - height dnwell -0.1 0.1 - height nwell,pwell 0.0 0.2062 - height alldiff 0.2062 0.12 - height fomfill 0.2062 0.12 - height allpoly 0.3262 0.18 - height polyfill 0.3262 0.18 - height alldiffcont 0.3262 0.61 - height pc 0.5062 0.43 - height allli 0.9361 0.10 - height mcon 1.0361 0.34 - height allm1 1.3761 0.36 - height m1fill 1.3761 0.36 - height v1 1.7361 0.27 - height allm2 2.0061 0.36 - height m2fill 1.3761 0.36 - height v2 2.3661 0.42 - height allm3 2.7861 0.845 - height m3fill 1.3761 0.36 - height v3 3.6311 0.39 - height allm4 4.0211 0.845 - height m4fill 1.3761 0.36 - height v4 4.8661 0.505 - height allm5 5.3711 1.26 - height m5fill 1.3761 0.36 - height mimcap 2.4661 0.2 - height mimcap2 3.7311 0.2 - height mimcc 2.6661 0.12 - height mim2cc 3.9311 0.09 - height mrdlc 6.6311 0.63 - height mrdl 7.2611 3.0 - - # Antenna check parameters - # Note that checks w/diode diffusion are not modeled - model partial - antenna poly sidewall 50 none - antenna allcont surface 3 none - antenna li sidewall 75 0 450 - antenna mcon surface 3 0 18 - antenna m1,m2,m3 sidewall 400 2600 400 - antenna v1 surface 3 0 18 - antenna v2 surface 6 0 36 - antenna m4,m5 sidewall 400 2600 400 - antenna v3,v4 surface 6 0 36 - - tiedown alldiffnonfet - - substrate *ppdiff,*mvppdiff,space/w,pwell well $SUB -dnwell,isosub - -# Resistances are in milliohms per square -# Optional 3rd argument is the corner adjustment fraction -# Device values come from trtc.cor (typical corner) - resist (dnwell)/dwell 2200000 - resist (pwell)/well 3050000 - resist (nwell)/well 1700000 - resist (rpw)/well 3050000 0.5 - resist (*ndiff,nsd)/active 120000 - resist (*pdiff,*psd)/active 197000 - resist (*mvndiff,mvnsd)/active 114000 - resist (*mvpdiff,*mvpsd)/active 191000 - - resist ndiffres/active 120000 0.5 - resist pdiffres/active 197000 0.5 - resist mvndiffres/active 114000 0.5 - resist mvpdiffres/active 191000 0.5 - resist mrp1/active 48200 0.5 - resist xhrpoly/active 319800 0.5 - resist uhrpoly/active 2000000 0.5 - - resist (allpolynonres)/active 48200 - resist rmp/active 48200 - - resist (allli)/locali 12200 - resist (allm1)/metal1 125 - resist (allm2)/metal2 125 - resist (allm3)/metal3 47 - resist (allm4)/metal4 47 - resist (allm5)/metal5 29 - resist mrdl/metali 5 - - # These types should not be considered as electrical nodes - resist blocktypes None - resist obstypes None - resist idtypes None - resist comment None - - contact ndc,nsc 15000 - contact pdc,psc 15000 - contact mvndc,mvnsc 15000 - contact mvpdc,mvpsc 15000 - contact pc 15000 - contact mcon 152000 - contact m2c 4500 - contact m3c 3410 - contact mimcc 4500 - contact mim2cc 3410 - contact via3 3410 - contact via4 380 - contact mrdlc 6 - -#------------------------------------------------------------------------- -# Parasitic capacitance values: Use document (...) -#------------------------------------------------------------------------- -# This uses the new "default" definitions that determine the intervening -# planes from the planeorder stack, take care of the reflexive sideoverlap -# definitions, and generally clean up the section and make it more readable. -# -# Also uses "units microns" statement. All values are taken from the -# document PEX/xRC/cap_models. Fringe capacitance values are approximated. -# Units are aF/um^2 for area caps and aF/um for perimeter and sidewall caps. -#------------------------------------------------------------------------- -# Remember that device capacitances to substrate are taken care of by the -# models. Thus, active and poly definitions ignore all "fet" types. -# fet types are excluded when computing parasitic capacitance to -# active from layers above them because poly is a shield; fet types are -# included for parasitics from layers above to poly. Resistor types -# should be removed from all parasitic capacitance calculations, or else -# they just create floating caps. Technically, the capacitance probably -# should be split between the two terminals. Unsure of the correct model. -#------------------------------------------------------------------------- - -#n-well -# NOTE: This value not found in PEX files -defaultareacap nwell well 120 - -#n-active -# Rely on device models to capture *ndiff area cap -# Do not extract parasitics from resistors -# defaultareacap allnactivenonfet active 790 -# defaultperimeter allnactivenonfet active 280 - -#p-active -# Rely on device models to capture *pdiff area cap -# Do not extract parasitics from resistors -# defaultareacap allpactivenonfet active 810 -# defaultperimeter allpactivenonfet active 300 - -#poly -# Do not extract parasitics from resistors -# defaultsidewall allpolynonfet active 22 -# defaultareacap allpolynonfet active 106 -# defaultperimeter allpolynonfet active 57 - - defaultsidewall *poly active 23 - defaultareacap *poly active nwell,obswell,pwell well 106 - defaultperimeter *poly active nwell,obswell,pwell well 55 - -#locali - defaultsidewall allli locali 33 - defaultareacap allli locali nwell,obswell,pwell well 37 - defaultperimeter allli locali nwell,obswell,pwell well 55 - defaultoverlap allli locali nwell well 37 - -#locali->diff - defaultoverlap allli locali allactivenonfet active 37 - defaultsideoverlap allli locali allactivenonfet active 55 - -#locali->poly - defaultoverlap allli locali allpolynonres active 94 - defaultsideoverlap allli locali allpolynonres active 52 - defaultsideoverlap *poly active allli locali 25 - -#metal1 - defaultsidewall allm1 metal1 45 - defaultareacap allm1 metal1 nwell,obswell,pwell well 26 - defaultperimeter allm1 metal1 nwell,obswell,pwell well 41 - defaultoverlap allm1 metal1 nwell well 26 - -#metal1->diff - defaultoverlap allm1 metal1 allactivenonfet active 26 - defaultsideoverlap allm1 metal1 allactivenonfet active 41 - -#metal1->poly - defaultoverlap allm1 metal1 allpolynonres active 45 - defaultsideoverlap allm1 metal1 allpolynonres active 47 - defaultsideoverlap *poly active allm1 metal1 17 - -#metal1->locali - defaultoverlap allm1 metal1 allli locali 114 - defaultsideoverlap allm1 metal1 allli locali 59 - defaultsideoverlap allli locali allm1 metal1 35 - -#metal2 - defaultsidewall allm2 metal2 50 - defaultareacap allm2 metal2 nwell,obswell,pwell well 17 - defaultperimeter allm2 metal2 nwell,obswell,pwell well 41 - defaultoverlap allm2 metal2 nwell well 38 - -#metal2->diff - defaultoverlap allm2 metal2 allactivenonfet active 17 - defaultsideoverlap allm2 metal2 allactivenonfet active 41 - -#metal2->poly - defaultoverlap allm2 metal2 allpolynonres active 24 - defaultsideoverlap allm2 metal2 allpolynonres active 41 - defaultsideoverlap *poly active allm2 metal2 11 - -#metal2->locali - defaultoverlap allm2 metal2 allli locali 38 - defaultsideoverlap allm2 metal2 allli locali 46 - defaultsideoverlap allli locali allm2 metal2 22 - -#metal2->metal1 - defaultoverlap allm2 metal2 allm1 metal1 134 - defaultsideoverlap allm2 metal2 allm1 metal1 67 - defaultsideoverlap allm1 metal1 allm2 metal2 48 - -#metal3 - defaultsidewall allm3 metal3 63 - defaultoverlap allm3 metal3 nwell well 12 - defaultareacap allm3 metal3 nwell,obswell,pwell well 12 - defaultperimeter allm3 metal3 nwell,obswell,pwell well 41 - -#metal3->diff - defaultoverlap allm3 metal3 allactive active 12 - defaultsideoverlap allm3 metal3 allactive active 41 - -#metal3->poly - defaultoverlap allm3 metal3 allpolynonres active 16 - defaultsideoverlap allm3 metal3 allpolynonres active 44 - defaultsideoverlap *poly active allm3 metal3 9 - -#metal3->locali - defaultoverlap allm3 metal3 allli locali 21 - defaultsideoverlap allm3 metal3 allli locali 47 - defaultsideoverlap allli locali allm3 metal3 15 - -#metal3->metal1 - defaultoverlap allm3 metal3 allm1 metal1 35 - defaultsideoverlap allm3 metal3 allm1 metal1 55 - defaultsideoverlap allm1 metal1 allm3 metal3 27 - -#metal3->metal2 - defaultoverlap allm3 metal3 allm2 metal2 86 - defaultsideoverlap allm3 metal3 allm2 metal2 70 - defaultsideoverlap allm2 metal2 allm3 metal3 44 - -#metal4 - defaultsidewall allm4 metal4 67 -# defaultareacap alltopm metal4 well 6 - areacap allm4/m4 8 - defaultoverlap allm4 metal4 nwell well 8 - defaultperimeter allm4 metal4 well 37 - -#metal4->diff - defaultoverlap allm4 metal4 allactivenonfet active 8 - defaultsideoverlap allm4 metal4 allactivenonfet active 37 - -#metal4->poly - defaultoverlap allm4 metal4 allpolynonres active 10 - defaultsideoverlap allm4 metal4 allpolynonres active 38 - defaultsideoverlap *poly active allm4 metal4 6 - -#metal4->locali - defaultoverlap allm4 metal4 allli locali 12 - defaultsideoverlap allm4 metal4 allli locali 40 - defaultsideoverlap allli locali allm4 metal4 10 - -#metal4->metal1 - defaultoverlap allm4 metal4 allm1 metal1 15 - defaultsideoverlap allm4 metal4 allm1 metal1 43 - defaultsideoverlap allm1 metal1 allm4 metal4 16 - -#metal4->metal2 - defaultoverlap allm4 metal4 allm2 metal2 20 - defaultsideoverlap allm4 metal4 allm2 metal2 46 - defaultsideoverlap allm2 metal2 allm4 metal4 22 - -#metal4->metal3 - defaultoverlap allm4 metal4 allm3 metal3 84 - defaultsideoverlap allm4 metal4 allm3 metal3 71 - defaultsideoverlap allm3 metal3 allm4 metal4 43 - -#metal5 - defaultsidewall allm5 metal5 127 -# defaultareacap allm5 metal5 well 6 - areacap allm5/m5 6 - defaultoverlap allm5 metal5 nwell well 6 - defaultperimeter allm5 metal5 well 39 - -#metal5->diff - defaultoverlap allm5 metal5 allactivenonfet active 6 - defaultsideoverlap allm5 metal5 allactivenonfet active 39 - -#metal5->poly - defaultoverlap allm5 metal5 allpolynonres active 7 - defaultsideoverlap allm5 metal5 allpolynonres active 40 - defaultsideoverlap *poly active allm5 metal5 6 - -#metal5->locali - defaultoverlap allm5 metal5 allli locali 8 - defaultsideoverlap allm5 metal5 allli locali 41 - defaultsideoverlap allli locali allm5 metal5 8 - -#metal5->metal1 - defaultoverlap allm5 metal5 allm1 metal1 9 - defaultsideoverlap allm5 metal5 allm1 metal1 43 - defaultsideoverlap allm1 metal1 allm5 metal5 12 - -#metal5->metal2 - defaultoverlap allm5 metal5 allm2 metal2 11 - defaultsideoverlap allm5 metal5 allm2 metal2 46 - defaultsideoverlap allm2 metal2 allm5 metal5 16 - -#metal5->metal3 - defaultoverlap allm5 metal5 allm3 metal3 20 - defaultsideoverlap allm5 metal5 allm3 metal3 54 - defaultsideoverlap allm3 metal3 allm5 metal5 28 - -#metal5->metal4 - defaultoverlap allm5 metal5 allm4 metal4 68 - defaultsideoverlap allm5 metal5 allm4 metal4 83 - defaultsideoverlap allm4 metal4 allm5 metal5 47 - - -# Devices: Base models (not subcircuit wrappers) - -variants (),(si) - - device msubcircuit sky130_fd_pr__pfet_01v8 pfet,scpfet \ - *pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__special_pfet_pass ppu \ - *pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__pfet_01v8_lvt pfetlvt \ - *pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__pfet_01v8_mvt pfetmvt \ - *pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__pfet_01v8_hvt pfethvt,scpfethvt \ - *pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - - device msubcircuit sky130_fd_pr__nfet_01v8 nfet,scnfet \ - *ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__special_nfet_latch npd \ - *ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__special_nfet_latch npd \ - *ndiff,ndiffres *srampvar pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__special_nfet_pass npass \ - *ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__nfet_01v8_lvt nfetlvt \ - *ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_bs_flash__special_sonosfet_star nsonos \ - *ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device subcircuit sky130_fd_pr__cap_var_lvt varactor \ - *nndiff nwell error l=l w=w a1=as a2=ad p1=ps p2=pd - device subcircuit sky130_fd_pr__cap_var_hvt varhvt \ - *nndiff nwell error l=l w=w a1=as a2=ad p1=ps p2=pd - device subcircuit sky130_fd_pr__cap_var mvvaractor \ - *mvnndiff nwell error l=l w=w a1=as a2=ad p1=ps p2=pd - - # Bipolars - device msubcircuit sky130_fd_pr__npn_05v5_W1p00L1p00 npn *ndiff dnwell space/w \ - error +npn1p00 - device msubcircuit sky130_fd_pr__npn_05v5_W1p00L2p00 npn *ndiff dnwell space/w \ - error +npn2p00 - device msubcircuit sky130_fd_pr__npn_05v5 npn *ndiff dnwell space/w error a2=area - device msubcircuit sky130_fd_pr__pnp_05v5_W0p68L0p68 pnp *pdiff \ - pwell,space/w +pnp0p68 - device msubcircuit sky130_fd_pr__pnp_05v5_W3p40L3p40 pnp *pdiff \ - pwell,space/w +pnp3p40 - device msubcircuit sky130_fd_pr__pnp_05v5 pnp *pdiff pwell,space/w a2=area - device msubcircuit sky130_fd_pr__npn_11v0_W1p00L1p00 npn *mvndiff \ - dnwell space/w error +npn11p0 - device msubcircuit sky130_fd_pr__npn_11v0 npn *mvndiff dnwell space/w error a2=area - - # Ignore the extended-drain FET geometry that forms part of the high-voltage - # bipolar devices. - device msubcircuit Ignore mvnfet *mvndiff,mvndiffres dnwell pwell,space/w error +npn,pnp - device msubcircuit Ignore mvpfet *mvpdiff,mvpdiffres pwell,space/w nwell error +npn,pnp - - # Extended drain devices (must appear before the regular devices) - device msubcircuit sky130_fd_pr__nfet_20v0_nvt mvnnfet *mvndiff,mvndiffres \ - dnwell pwell,space/w error l=l w=w a1=as a2=ad p1=ps p2=pd - device msubcircuit sky130_fd_pr__nfet_20v0 mvnfet *mvndiff,mvndiffres \ - dnwell pwell,space/w error l=l w=w a1=as a2=ad p1=ps p2=pd - device msubcircuit sky130_fd_pr__pfet_20v0 mvpfet *mvpdiff,mvpdiffres \ - pwell,space/w nwell error l=l w=w a1=as a2=ad p1=ps p2=pd - - device msubcircuit sky130_fd_pr__pfet_g5v0d10v5 mvpfet \ - *mvpdiff,mvpdiffres *mvpdiff,mvpdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__nfet_g5v0d10v5 mvnfet \ - *mvndiff,mvndiffres *mvndiff,mvndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__nfet_05v0_nvt mvnnfet \ - *mvndiff,mvndiffres *mvndiff,mvndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__nfet_03v3_nvt nnfet \ - *mvndiff,mvndiffres *mvndiff,mvndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__esd_nfet_g5v0d10v5 mvnfetesd \ - *mvndiff,mvndiffres *mvndiff,mvndiffres pwell,space/w error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - device msubcircuit sky130_fd_pr__esd_pfet_g5v0d10v5 mvpfetesd \ - *mvpdiff,mvpdiffres *mvpdiff,mvpdiffres nwell error l=l w=w \ - a1=as p1=ps a2=ad p2=pd - - device resistor sky130_fd_pr__res_generic_l1 rli1 *li,coreli - device resistor sky130_fd_pr__res_generic_m1 rmetal1 *metal1 - device resistor sky130_fd_pr__res_generic_m2 rmetal2 *metal2 - device resistor sky130_fd_pr__res_generic_m3 rmetal3 *metal3 - device resistor sky130_fd_pr__res_generic_m4 rm4 *m4 - device resistor sky130_fd_pr__res_generic_m5 rm5 *m5 - - device rsubcircuit sky130_fd_pr__res_high_po_0p35 xhrpoly \ - xpc pwell,space/w error +res0p35 l=l - device rsubcircuit sky130_fd_pr__res_high_po_0p69 xhrpoly \ - xpc pwell,space/w error +res0p69 l=l - device rsubcircuit sky130_fd_pr__res_high_po_1p41 xhrpoly \ - xpc pwell,space/w error +res1p41 l=l - device rsubcircuit sky130_fd_pr__res_high_po_2p85 xhrpoly \ - xpc pwell,space/w error +res2p85 l=l - device rsubcircuit sky130_fd_pr__res_high_po_5p73 xhrpoly \ - xpc pwell,space/w error +res5p73 l=l - device rsubcircuit sky130_fd_pr__res_high_po xhrpoly \ - xpc pwell,space/w error l=l w=w - device rsubcircuit sky130_fd_pr__res_xhigh_po_0p35 uhrpoly \ - xpc pwell,space/w error +res0p35 l=l - device rsubcircuit sky130_fd_pr__res_xhigh_po_0p69 uhrpoly \ - xpc pwell,space/w error +res0p69 l=l - device rsubcircuit sky130_fd_pr__res_xhigh_po_1p41 uhrpoly \ - xpc pwell,space/w error +res1p41 l=l - device rsubcircuit sky130_fd_pr__res_xhigh_po_2p85 uhrpoly \ - xpc pwell,space/w error +res2p85 l=l - device rsubcircuit sky130_fd_pr__res_xhigh_po_5p73 uhrpoly \ - xpc pwell,space/w error +res5p73 l=l - device rsubcircuit sky130_fd_pr__res_xhigh_po uhrpoly \ - xpc pwell,space/w error l=l w=w - - device rsubcircuit sky130_fd_pr__res_generic_nd ndiffres \ - *ndiff pwell,space/w error l=l w=w - device rsubcircuit sky130_fd_pr__res_generic_pd pdiffres \ - *pdiff nwell error l=l w=w - device rsubcircuit sky130_fd_pr__res_iso_pw rpw \ - pwell dnwell error l=l w=w - device rsubcircuit sky130_fd_pr__res_generic_nd__hv mvndiffres \ - *mvndiff pwell,space/w error l=l w=w - device rsubcircuit sky130_fd_pr__res_generic_pd__hv mvpdiffres \ - *mvpdiff nwell error l=l w=w - - device resistor sky130_fd_pr__res_generic_po rmp *poly - device resistor sky130_fd_pr__res_generic_po mrp1 *poly - - device pdiode sky130_fd_pr__diode_pd2nw_05v5 *pdiode nwell a=area p=pj - device pdiode sky130_fd_pr__diode_pd2nw_05v5_lvt *pdiodelvt nwell a=area p=pj - device pdiode sky130_fd_pr__diode_pd2nw_05v5_hvt *pdiodehvt nwell a=area p=pj - device pdiode sky130_fd_pr__diode_pd2nw_11v0 *mvpdiode nwell a=area p=pj - - device ndiode sky130_fd_pr__diode_pw2nd_05v5 *ndiode pwell,space/w a=area p=pj - device ndiode sky130_fd_pr__diode_pw2nd_05v5_lvt *ndiodelvt pwell,space/w a=area p=pj - device ndiode sky130_fd_pr__diode_pw2nd_05v5_nvt *nndiode pwell,space/w a=area p=pj - device ndiode sky130_fd_pr__diode_pw2nd_11v0 *mvndiode pwell,space/w a=area p=pj - - device csubcircuit sky130_fd_pr__cap_mim_m3_1 *mimcap *m3 w=w l=l - device csubcircuit sky130_fd_pr__cap_mim_m3_2 *mimcap2 *m4 w=w l=l - - variants (orig) - - device mosfet sky130_fd_pr__pfet_01v8 scpfet,pfet pdiff,pdiffres,pdc nwell - device mosfet sky130_fd_pr__special_pfet_pass ppu pdiff,pdiffres,pdc nwell - device mosfet sky130_fd_pr__pfet_01v8_lvt pfetlvt pdiff,pdiffres,pdc nwell - device mosfet sky130_fd_pr__pfet_01v8_mvt pfetmvt pdiff,pdiffres,pdc nwell - device mosfet sky130_fd_pr__pfet_01v8_hvt scpfethvt,pfethvt pdiff,pdiffres,pdc nwell - device mosfet sky130_fd_pr__nfet_01v8 scnfet,nfet ndiff,ndiffres,ndc pwell,space/w - device mosfet sky130_fd_pr__special_nfet_pass npass ndiff,ndiffres,ndc pwell,space/w - device mosfet sky130_fd_pr__special_nfet_latch npd ndiff,ndiffres,ndc pwell,space/w - device mosfet sky130_fd_pr__special_nfet_latch npd ndiff,ndiffres,ndc pwell,space/w - device mosfet sky130_fd_pr__nfet_01v8_lvt nfetlvt ndiff,ndiffres,ndc pwell,space/w - device mosfet sky130_fd_bs_flash__special_sonosfet_star nsonos ndiff,ndiffres,ndc \ - pwell,space/w - - # Note that corenvar, corepvar are not considered devices, and extract as - # parasitic capacitance instead (but cap values need to be added). - - # Extended drain devices (must appear before the regular devices) - device mosfet sky130_fd_pr__nfet_20v0_nvt mvnnfet *mvndiff,mvndiffres \ - dnwell pwell,space/w error - device mosfet sky130_fd_pr__nfet_20v0 mvnfet *mvndiff,mvndiffres \ - dnwell pwell,space/w error - device mosfet sky130_fd_pr__pfet_20v0 mvpfet *mvpdiff,mvpdiffres \ - pwell,space/w nwell error - - device mosfet sky130_fd_pr__pfet_g5v0d10v5 mvpfet mvpdiff,mvpdiffres,mvpdc nwell - device mosfet sky130_fd_pr__esd_pfet_g5v0d10v5 mvpfetesd mvpdiff,mvpdiffres,mvpdc nwell - device mosfet sky130_fd_pr__nfet_g5v0d10v5 mvnfet mvndiff,mvndiffres,mvndc pwell,space/w - device mosfet sky130_fd_pr__esd_nfet_g5v0d10v5 mvnfetesd mvndiff,mvndiffres,mvndc pwell,space/w - device mosfet sky130_fd_pr__nfet_05v0_nvt mvnnfet *mvndiff,mvndiffres pwell,space/w - device mosfet sky130_fd_pr__nfet_03v3_nvt nnfet *mvndiff,mvndiffres pwell,space/w - - # These devices always extract as subcircuits - device subcircuit sky130_fd_pr__cap_var_lvt varactor *nndiff nwell error l=l w=w - device subcircuit sky130_fd_pr__cap_var_hvt varhvt *nndiff nwell error l=l w=w - device subcircuit sky130_fd_pr__cap_var mvvaractor *mvnndiff nwell error l=l w=w - - device resistor sky130_fd_pr__res_generic_po rmp *poly - device resistor sky130_fd_pr__res_generic_l1 rli1 *li,coreli - device resistor sky130_fd_pr__res_generic_m1 rmetal1 *metal1 - device resistor sky130_fd_pr__res_generic_m2 rmetal2 *metal2 - device resistor sky130_fd_pr__res_generic_m3 rmetal3 *metal3 - device resistor sky130_fd_pr__res_generic_m4 rm4 *m4 - device resistor sky130_fd_pr__res_generic_m5 rm5 *m5 - - device resistor sky130_fd_pr__res_high_po_0p35 xhrpoly xpc +res0p35 - device resistor sky130_fd_pr__res_high_po_0p69 xhrpoly xpc +res0p69 - device resistor sky130_fd_pr__res_high_po_1p41 xhrpoly xpc +res1p41 - device resistor sky130_fd_pr__res_high_po_2p85 xhrpoly xpc +res2p85 - device resistor sky130_fd_pr__res_high_po_5p73 xhrpoly xpc +res5p73 - device resistor sky130_fd_pr__res_high_po xhrpoly xpc - device resistor sky130_fd_pr__res_xhigh_po_0p35 uhrpoly xpc +res0p35 - device resistor sky130_fd_pr__res_xhigh_po_0p69 uhrpoly xpc +res0p69 - device resistor sky130_fd_pr__res_xhigh_po_1p41 uhrpoly xpc +res1p41 - device resistor sky130_fd_pr__res_xhigh_po_2p85 uhrpoly xpc +res2p85 - device resistor sky130_fd_pr__res_xhigh_po_5p73 uhrpoly xpc +res5p73 - device resistor sky130_fd_pr__res_xhigh_po uhrpoly xpc - device resistor sky130_fd_pr__res_generic_po mrp1 *poly - device resistor sky130_fd_pr__res_generic_nd ndiffres *ndiff - device resistor sky130_fd_pr__res_generic_pd pdiffres *pdiff - device resistor mrdn_hv mvndiffres *mvndiff - device resistor mrdp_hv mvpdiffres *mvpdiff - device resistor sky130_fd_pr__res_iso_pw rpw pwell - - device ndiode sky130_fd_pr__diode_pw2nd_05v5 *ndiode pwell,space/w a=area - device ndiode sky130_fd_pr__diode_pw2nd_05v5_lvt *ndiodelvt pwell,space/w a=area - device ndiode sky130_fd_pr__diode_pw2nd_05v5_nvt *nndiode pwell,space/w a=area - device ndiode sky130_fd_pr__diode_pw2nd_11v0 *mvndiode pwell,space/w a=area - - device pdiode sky130_fd_pr__diode_pd2nw_05v5 *pdiode nwell a=area - device pdiode sky130_fd_pr__diode_pd2nw_05v5_lvt *pdiodelvt nwell a=area - device pdiode sky130_fd_pr__diode_pd2nw_05v5_hvt *pdiodehvt nwell a=area - device pdiode sky130_fd_pr__diode_pd2nw_11v0 *mvpdiode nwell a=area - - device bjt sky130_fd_pr__npn_05v5_W1p00L1p00 npn *ndiff dnwell space/w error +npn1p00 - device bjt sky130_fd_pr__npn_05v5_W1p00L2p00 npn *ndiff dnwell space/w error +npn2p00 - device bjt sky130_fd_pr__npn_05v5 npn *ndiff dnwell space/w error a2=area - device bjt sky130_fd_pr__pnp_05v5_W0p68L0p68 pnp *pdiff pwell,space/w +pnp0p68 - device bjt sky130_fd_pr__pnp_05v5_W3p40L3p40 pnp *pdiff pwell,space/w +pnp3p40 - device bjt sky130_fd_pr__pnp_05v5 pnp *pdiff pwell,space/w a2=area - device bjt sky130_fd_pr__npn_11v0_W1p00L1p00 npn *mvndiff dnwell space/w error +npn11p0 - device bjt sky130_fd_pr__npn_11v0 npn *mvndiff dnwell space/w error a2=area - - device capacitor sky130_fd_pr__cap_mim_m3_1 *mimcap *m3 1 - device capacitor sky130_fd_pr__cap_mim_m3_2 *mimcap2 *m4 1 - -end - -#----------------------------------------------------- -# Wiring tool definitions -#----------------------------------------------------- - -wiring - # All wiring values are in nanometers - scalefactor 10 - - contact mcon 170 li 0 0 m1 30 60 - contact v1 260 m1 0 30 m2 0 30 - contact v2 280 m2 0 45 m3 25 0 - contact v3 320 m3 0 30 m4 5 5 - contact v4 1180 m4 0 m5 120 - - contact pc 170 poly 50 80 li 0 80 - contact pdc 170 pdiff 40 60 li 0 80 - contact ndc 170 ndiff 40 60 li 0 80 - contact psc 170 psd 40 60 li 0 80 - contact nsc 170 nsd 40 60 li 0 80 - -end - -#----------------------------------------------------- -# Plain old router. . . -#----------------------------------------------------- - -router -end - -#------------------------------------------------------------ -# Plowing (restored in magic 8.2, need to fill this section) -#------------------------------------------------------------ - -plowing -end - -#----------------------------------------------------------------- -# No special plot layers defined (use default PNM color choices) -#----------------------------------------------------------------- - -plot - style pnm - default - draw fillblock no_color_at_all - draw fillblock4 no_color_at_all - draw fomfill no_color_at_all - draw polyfill no_color_at_all - draw m1fill no_color_at_all - draw m2fill no_color_at_all - draw m3fill no_color_at_all - draw m4fill no_color_at_all - draw m5fill no_color_at_all - draw nwell cwell -end -
diff --git a/caravel/mag/user_analog_project_wrapper.mag b/caravel/mag/user_analog_project_wrapper.mag index 75541f9..931a1fd 100644 --- a/caravel/mag/user_analog_project_wrapper.mag +++ b/caravel/mag/user_analog_project_wrapper.mag
@@ -1,6 +1,6 @@ magic tech sky130A -timestamp 1634389431 +timestamp 1634491023 << metal2 >> rect 262 -400 318 240 rect 853 -400 909 240 @@ -687,7 +687,7 @@ rect 292000 0 292050 352000 rect -50 -50 292050 0 use layout_opamp layout_opamp_0 -timestamp 1634389310 +timestamp 1634491023 transform 1 0 223449 0 1 340529 box -58029 -2522 68132 10992 << labels >>
diff --git a/gds/layout_opamp.gds b/gds/layout_opamp.gds index 3cac90a..eed3d13 100644 --- a/gds/layout_opamp.gds +++ b/gds/layout_opamp.gds Binary files differ
diff --git a/gds/user_analog_project_wrapper.gds b/gds/user_analog_project_wrapper.gds index e6fda78..1295e1f 100644 --- a/gds/user_analog_project_wrapper.gds +++ b/gds/user_analog_project_wrapper.gds Binary files differ
diff --git a/mag/layout_opamp.mag b/mag/layout_opamp.mag index cb400d8..b85a86d 100644 --- a/mag/layout_opamp.mag +++ b/mag/layout_opamp.mag
@@ -1,6 +1,6 @@ magic tech sky130A -timestamp 1634389310 +timestamp 1634491023 << nwell >> rect -107 244 1438 6840 << nmos >> @@ -768,12 +768,10 @@ rect 494 -108 512 -70 rect 559 -108 573 -70 rect 494 -149 573 -108 -rect 274 -171 328 -169 -rect 210 -199 328 -171 +rect 210 -205 328 -171 rect 494 -187 508 -149 rect 555 -187 573 -149 rect 494 -195 573 -187 -rect 216 -205 328 -199 rect 274 -296 328 -205 rect 263 -309 329 -296 rect 263 -349 278 -309 @@ -1015,18 +1013,17 @@ rect 149 -198 155 -160 rect 504 -187 508 -149 rect 555 -180 561 -149 -rect 555 -187 741 -180 +rect 555 -187 693 -180 rect 95 -223 157 -198 -rect 504 -208 741 -187 -rect 507 -213 741 -208 +rect 504 -213 693 -187 rect -1025 -245 157 -223 rect -1133 -263 157 -245 rect -1133 -265 -966 -263 rect -1096 -347 -938 -345 rect 652 -347 692 -213 -rect -1096 -349 695 -347 +rect -1096 -349 694 -347 rect -1096 -440 -1063 -349 -rect -995 -404 695 -349 +rect -995 -404 694 -349 rect -995 -440 -938 -404 rect -1096 -456 -938 -440 rect 62664 -543 63233 -92 @@ -1117,15 +1114,4 @@ rect 66189 -540 68132 -13 rect 62664 -738 68132 -540 rect 62664 -771 67046 -738 -<< labels >> -rlabel metal1 121 -211 121 -211 1 in1 -rlabel locali 64 1534 64 1534 1 vdd -rlabel locali 815 -2490 815 -2490 1 vss -rlabel metal1 688 -197 688 -197 1 in2 -rlabel metal1 1247 195 1247 195 1 out -rlabel metal3 64472 -440 64472 -440 1 io_analog[0] -rlabel metal3 61078 8337 61078 8337 1 io_analog[1] -rlabel metal3 10346 8600 10346 8600 1 io_analog[2] -rlabel metal3 -15693 8951 -15693 8951 1 io_analog[3] -rlabel metal3 -57179 8864 -57179 8864 1 io_analog[4] << end >>
diff --git a/mag/layout_opamp_tapeout.mag b/mag/layout_opamp_tapeout.mag deleted file mode 100644 index 77787b3..0000000 --- a/mag/layout_opamp_tapeout.mag +++ /dev/null
@@ -1,1250 +0,0 @@ -magic -tech sky130A -timestamp 1634022751 -<< error_p >> -rect 1123 -1529 1124 -1512 -rect 1651 -1522 1652 -1505 -<< nwell >> -rect 1142 1031 2687 7627 -<< pwell >> -rect 715 2359 778 2373 -rect 863 2359 926 2362 -rect 715 2353 926 2359 -rect 715 702 1047 2353 -rect 2773 4631 3118 4940 -rect 1215 757 1954 962 -rect 715 557 1196 702 -rect 715 143 1047 557 -rect 715 -230 1046 143 -rect 791 -241 1046 -230 -rect 791 -244 853 -241 -rect 944 -291 1046 -241 -rect 944 -1318 1288 -291 -rect 1478 -1458 1822 570 -rect 2774 -1375 3118 4631 -<< nmos >> -rect 1330 770 1430 949 -rect 1731 770 1831 949 -rect 1062 -1305 1162 -304 -rect 1596 -1445 1696 557 -rect 2892 -1362 2992 4927 -<< pmos >> -rect 1326 1093 1426 2094 -rect 1755 1093 1855 2094 -rect 2185 1212 2285 7501 -<< ndiff >> -rect 733 2336 760 2343 -rect 733 2319 738 2336 -rect 755 2319 760 2336 -rect 733 2312 760 2319 -rect 809 2322 836 2329 -rect 809 2305 814 2322 -rect 831 2305 836 2322 -rect 809 2298 836 2305 -rect 733 -187 760 -180 -rect 733 -204 738 -187 -rect 755 -204 760 -187 -rect 733 -211 760 -204 -rect 881 2325 908 2332 -rect 881 2308 886 2325 -rect 903 2308 908 2325 -rect 881 2301 908 2308 -rect 1002 2316 1029 2323 -rect 1002 2299 1007 2316 -rect 1024 2299 1029 2316 -rect 1002 2292 1029 2299 -rect 809 -201 836 -194 -rect 809 -218 814 -201 -rect 831 -218 836 -201 -rect 809 -225 836 -218 -rect 881 -198 908 -191 -rect 881 -215 886 -198 -rect 903 -215 908 -198 -rect 881 -222 908 -215 -rect 2786 4644 2892 4927 -rect 2787 2894 2892 4644 -rect 2787 2876 2824 2894 -rect 2841 2876 2892 2894 -rect 2787 2805 2892 2876 -rect 2787 2787 2824 2805 -rect 2841 2787 2892 2805 -rect 1228 914 1330 949 -rect 1228 896 1262 914 -rect 1279 896 1330 914 -rect 1228 825 1330 896 -rect 1228 807 1262 825 -rect 1279 807 1330 825 -rect 1228 770 1330 807 -rect 1430 914 1540 949 -rect 1430 896 1481 914 -rect 1498 896 1540 914 -rect 1430 819 1540 896 -rect 1430 801 1477 819 -rect 1494 801 1540 819 -rect 1430 770 1540 801 -rect 1629 914 1731 949 -rect 1629 896 1663 914 -rect 1680 896 1731 914 -rect 1629 825 1731 896 -rect 1629 807 1663 825 -rect 1680 807 1731 825 -rect 1629 770 1731 807 -rect 1831 914 1941 949 -rect 1831 896 1882 914 -rect 1899 896 1941 914 -rect 1831 819 1941 896 -rect 1831 801 1878 819 -rect 1895 801 1941 819 -rect 1831 770 1941 801 -rect 2787 892 2892 2787 -rect 2787 874 2824 892 -rect 2841 874 2892 892 -rect 2787 803 2892 874 -rect 2787 785 2824 803 -rect 2841 785 2892 803 -rect 1491 467 1596 557 -rect 1491 449 1539 467 -rect 1556 449 1596 467 -rect 1001 -209 1028 -202 -rect 1001 -226 1006 -209 -rect 1023 -226 1028 -209 -rect 1001 -233 1028 -226 -rect 957 -377 1062 -304 -rect 957 -395 1006 -377 -rect 1023 -395 1062 -377 -rect 957 -1053 1062 -395 -rect 957 -1071 994 -1053 -rect 1011 -1071 1062 -1053 -rect 957 -1142 1062 -1071 -rect 957 -1160 994 -1142 -rect 1011 -1160 1062 -1142 -rect 957 -1305 1062 -1160 -rect 1162 -1053 1275 -304 -rect 1162 -1071 1213 -1053 -rect 1230 -1071 1275 -1053 -rect 1162 -1148 1275 -1071 -rect 1162 -1166 1209 -1148 -rect 1226 -1166 1275 -1148 -rect 1162 -1305 1275 -1166 -rect 1491 -1193 1596 449 -rect 1491 -1211 1528 -1193 -rect 1545 -1211 1596 -1193 -rect 1491 -1282 1596 -1211 -rect 1491 -1300 1528 -1282 -rect 1545 -1300 1596 -1282 -rect 1491 -1445 1596 -1300 -rect 1696 -1193 1809 557 -rect 1696 -1211 1747 -1193 -rect 1764 -1211 1809 -1193 -rect 1696 -1288 1809 -1211 -rect 1696 -1306 1743 -1288 -rect 1760 -1306 1809 -1288 -rect 1696 -1445 1809 -1306 -rect 2787 -1110 2892 785 -rect 2787 -1128 2824 -1110 -rect 2841 -1128 2892 -1110 -rect 2787 -1199 2892 -1128 -rect 2787 -1217 2824 -1199 -rect 2841 -1217 2892 -1199 -rect 2787 -1362 2892 -1217 -rect 2992 2894 3105 4927 -rect 2992 2876 3043 2894 -rect 3060 2876 3105 2894 -rect 2992 2799 3105 2876 -rect 2992 2781 3039 2799 -rect 3056 2781 3105 2799 -rect 2992 892 3105 2781 -rect 2992 874 3043 892 -rect 3060 874 3105 892 -rect 2992 797 3105 874 -rect 2992 779 3039 797 -rect 3056 779 3105 797 -rect 2992 -1110 3105 779 -rect 2992 -1128 3043 -1110 -rect 3060 -1128 3105 -1110 -rect 2992 -1205 3105 -1128 -rect 2992 -1223 3039 -1205 -rect 3056 -1223 3105 -1205 -rect 2992 -1362 3105 -1223 -<< pdiff >> -rect 2079 7218 2185 7501 -rect 2080 5468 2185 7218 -rect 2080 5450 2117 5468 -rect 2134 5450 2185 5468 -rect 2080 5379 2185 5450 -rect 2080 5361 2117 5379 -rect 2134 5361 2185 5379 -rect 2080 3466 2185 5361 -rect 2080 3448 2117 3466 -rect 2134 3448 2185 3466 -rect 2080 3377 2185 3448 -rect 2080 3359 2117 3377 -rect 2134 3359 2185 3377 -rect 2080 2350 2185 3359 -rect 2080 2332 2126 2350 -rect 2143 2332 2185 2350 -rect 1221 2029 1326 2094 -rect 1221 2011 1266 2029 -rect 1283 2011 1326 2029 -rect 1221 1345 1326 2011 -rect 1221 1327 1258 1345 -rect 1275 1327 1326 1345 -rect 1221 1256 1326 1327 -rect 1221 1238 1258 1256 -rect 1275 1238 1326 1256 -rect 1221 1093 1326 1238 -rect 1426 2018 1539 2094 -rect 1426 2000 1476 2018 -rect 1493 2000 1539 2018 -rect 1426 1345 1539 2000 -rect 1426 1327 1477 1345 -rect 1494 1327 1539 1345 -rect 1426 1250 1539 1327 -rect 1426 1232 1473 1250 -rect 1490 1232 1539 1250 -rect 1426 1093 1539 1232 -rect 1650 2018 1755 2094 -rect 1650 2000 1698 2018 -rect 1715 2000 1755 2018 -rect 1650 1345 1755 2000 -rect 1650 1327 1687 1345 -rect 1704 1327 1755 1345 -rect 1650 1256 1755 1327 -rect 1650 1238 1687 1256 -rect 1704 1238 1755 1256 -rect 1650 1093 1755 1238 -rect 1855 1345 1968 2094 -rect 1855 1327 1906 1345 -rect 1923 1327 1968 1345 -rect 1855 1250 1968 1327 -rect 1855 1232 1902 1250 -rect 1919 1232 1968 1250 -rect 1855 1093 1968 1232 -rect 2080 1464 2185 2332 -rect 2080 1446 2117 1464 -rect 2134 1446 2185 1464 -rect 2080 1375 2185 1446 -rect 2080 1357 2117 1375 -rect 2134 1357 2185 1375 -rect 2080 1212 2185 1357 -rect 2285 5468 2398 7501 -rect 2285 5450 2336 5468 -rect 2353 5450 2398 5468 -rect 2285 5373 2398 5450 -rect 2285 5355 2332 5373 -rect 2349 5355 2398 5373 -rect 2285 3466 2398 5355 -rect 2285 3448 2336 3466 -rect 2353 3448 2398 3466 -rect 2285 3371 2398 3448 -rect 2285 3353 2332 3371 -rect 2349 3353 2398 3371 -rect 2285 2885 2398 3353 -rect 2285 2867 2336 2885 -rect 2353 2867 2398 2885 -rect 2285 1464 2398 2867 -rect 2285 1446 2336 1464 -rect 2353 1446 2398 1464 -rect 2285 1369 2398 1446 -rect 2285 1351 2332 1369 -rect 2349 1351 2398 1369 -rect 2285 1212 2398 1351 -<< ndiffc >> -rect 738 2319 755 2336 -rect 814 2305 831 2322 -rect 738 -204 755 -187 -rect 886 2308 903 2325 -rect 1007 2299 1024 2316 -rect 814 -218 831 -201 -rect 886 -215 903 -198 -rect 2824 2876 2841 2894 -rect 2824 2787 2841 2805 -rect 1262 896 1279 914 -rect 1262 807 1279 825 -rect 1481 896 1498 914 -rect 1477 801 1494 819 -rect 1663 896 1680 914 -rect 1663 807 1680 825 -rect 1882 896 1899 914 -rect 1878 801 1895 819 -rect 2824 874 2841 892 -rect 2824 785 2841 803 -rect 1539 449 1556 467 -rect 1006 -226 1023 -209 -rect 1006 -395 1023 -377 -rect 994 -1071 1011 -1053 -rect 994 -1160 1011 -1142 -rect 1213 -1071 1230 -1053 -rect 1209 -1166 1226 -1148 -rect 1528 -1211 1545 -1193 -rect 1528 -1300 1545 -1282 -rect 1747 -1211 1764 -1193 -rect 1743 -1306 1760 -1288 -rect 2824 -1128 2841 -1110 -rect 2824 -1217 2841 -1199 -rect 3043 2876 3060 2894 -rect 3039 2781 3056 2799 -rect 3043 874 3060 892 -rect 3039 779 3056 797 -rect 3043 -1128 3060 -1110 -rect 3039 -1223 3056 -1205 -<< pdiffc >> -rect 2117 5450 2134 5468 -rect 2117 5361 2134 5379 -rect 2117 3448 2134 3466 -rect 2117 3359 2134 3377 -rect 2126 2332 2143 2350 -rect 1266 2011 1283 2029 -rect 1258 1327 1275 1345 -rect 1258 1238 1275 1256 -rect 1476 2000 1493 2018 -rect 1477 1327 1494 1345 -rect 1473 1232 1490 1250 -rect 1698 2000 1715 2018 -rect 1687 1327 1704 1345 -rect 1687 1238 1704 1256 -rect 1906 1327 1923 1345 -rect 1902 1232 1919 1250 -rect 2117 1446 2134 1464 -rect 2117 1357 2134 1375 -rect 2336 5450 2353 5468 -rect 2332 5355 2349 5373 -rect 2336 3448 2353 3466 -rect 2332 3353 2349 3371 -rect 2336 2867 2353 2885 -rect 2336 1446 2353 1464 -rect 2332 1351 2349 1369 -<< psubdiff >> -rect 1065 651 1183 689 -rect 1065 599 1089 651 -rect 1141 599 1183 651 -rect 1065 570 1183 599 -<< nsubdiff >> -rect 1805 2480 1843 2485 -rect 1776 2465 1901 2480 -rect 1776 2447 1815 2465 -rect 1832 2447 1901 2465 -rect 1776 2428 1901 2447 -<< psubdiffcont >> -rect 1089 599 1141 651 -<< nsubdiffcont >> -rect 1815 2447 1832 2465 -<< poly >> -rect 2185 7501 2285 7524 -rect 1324 2193 1437 2226 -rect 1324 2142 1352 2193 -rect 1403 2142 1437 2193 -rect 1324 2103 1437 2142 -rect 1755 2192 1855 2223 -rect 1755 2141 1785 2192 -rect 1836 2141 1855 2192 -rect 1326 2094 1426 2103 -rect 1755 2094 1855 2141 -rect 2892 4927 2992 4950 -rect 2185 1143 2285 1212 -rect 2185 1126 2210 1143 -rect 2228 1126 2285 1143 -rect 2185 1099 2285 1126 -rect 1326 1047 1426 1093 -rect 1755 1047 1855 1093 -rect 1330 949 1430 983 -rect 1731 949 1831 983 -rect 1330 701 1430 770 -rect 1731 762 1831 770 -rect 1330 683 1363 701 -rect 1380 683 1430 701 -rect 1330 649 1430 683 -rect 1730 707 1831 762 -rect 1730 689 1776 707 -rect 1793 689 1831 707 -rect 1730 650 1831 689 -rect 1330 648 1429 649 -rect 1596 557 1696 582 -rect 1062 -304 1162 -256 -rect 1062 -1320 1162 -1305 -rect 1061 -1512 1164 -1320 -rect 2892 -1375 2992 -1362 -rect 1061 -1529 1089 -1512 -rect 1107 -1529 1123 -1512 -rect 1141 -1529 1164 -1512 -rect 1061 -1583 1164 -1529 -rect 1596 -1505 1696 -1445 -rect 1596 -1522 1617 -1505 -rect 1635 -1522 1651 -1505 -rect 1669 -1522 1696 -1505 -rect 2890 -1489 2992 -1375 -rect 2890 -1506 2935 -1489 -rect 2953 -1506 2992 -1489 -rect 2890 -1517 2992 -1506 -rect 1596 -1552 1696 -1522 -rect 2896 -1529 2990 -1517 -<< polycont >> -rect 1352 2142 1403 2193 -rect 1785 2141 1836 2192 -rect 2210 1126 2228 1143 -rect 1363 683 1380 701 -rect 1776 689 1793 707 -rect 1089 -1529 1107 -1512 -rect 1123 -1529 1141 -1512 -rect 1617 -1522 1635 -1505 -rect 1651 -1522 1669 -1505 -rect 2935 -1506 2953 -1489 -<< ndiffres >> -rect 728 2343 765 2360 -rect 728 2312 733 2343 -rect 760 2312 765 2343 -rect 728 176 765 2312 -rect 804 2329 841 2346 -rect 804 2298 809 2329 -rect 836 2298 841 2329 -rect 728 -180 764 176 -rect 728 -211 733 -180 -rect 760 -211 764 -180 -rect 728 -217 764 -211 -rect 804 162 841 2298 -rect 876 2332 913 2349 -rect 876 2301 881 2332 -rect 908 2301 913 2332 -rect 876 165 913 2301 -rect 997 2323 1034 2340 -rect 997 2292 1002 2323 -rect 1029 2292 1034 2323 -rect 804 -194 840 162 -rect 804 -225 809 -194 -rect 836 -225 840 -194 -rect 804 -231 840 -225 -rect 876 -191 912 165 -rect 876 -222 881 -191 -rect 908 -222 912 -191 -rect 876 -228 912 -222 -rect 997 156 1034 2292 -rect 997 -202 1033 156 -rect 997 -233 1001 -202 -rect 1028 -233 1033 -202 -rect 997 -239 1033 -233 -<< locali >> -rect 44409 82192 45223 82197 -rect -6542 81588 -5893 81598 -rect -74300 80640 -74297 81485 -rect -73703 80640 -73700 81485 -rect -32425 81348 -31707 81353 -rect -32425 80466 -32417 81348 -rect -31715 80466 -31707 81348 -rect -6542 80851 -6532 81588 -rect -5903 80851 -5893 81588 -rect 44409 81023 44411 82192 -rect 45221 81023 45223 82192 -rect 44409 81018 45223 81023 -rect -6542 80841 -5893 80851 -rect -32425 80461 -31707 80466 -rect -74823 79829 -73314 80043 -rect -74823 79200 -74324 79829 -rect -73586 79200 -73314 79829 -rect -74823 66264 -73314 79200 -rect -32967 79756 -31247 80034 -rect -32967 79270 -32509 79756 -rect -31592 79270 -31247 79756 -rect -32967 72136 -31247 79270 -rect -7309 80015 -148 80342 -rect -7309 79601 -6543 80015 -rect -5914 79842 -148 80015 -rect -5914 79601 -103 79842 -rect -7309 78819 -103 79601 -rect -853 75622 -103 78819 -rect 44333 79067 45063 79069 -rect 44333 78005 44347 79067 -rect 45049 78005 45063 79067 -rect 44333 78003 45063 78005 -rect -625 72733 -103 75622 -rect -2065 72136 -1273 72461 -rect -35045 70966 -1174 72136 -rect -35137 66400 -6241 67033 -rect -35137 66264 -7847 66400 -rect -74823 65483 -7847 66264 -rect -7110 65483 -6241 66400 -rect -74823 64901 -6241 65483 -rect -74458 64804 -6241 64901 -rect -35137 64389 -6241 64804 -rect -2065 63760 -1273 70966 -rect -625 69954 -127 72733 -rect 41842 71340 49922 71948 -rect 41842 70998 49391 71340 -rect 49660 70998 49922 71340 -rect 50403 71342 50818 71343 -rect 50403 71000 50404 71342 -rect 50817 71000 50818 71342 -rect 50403 70999 50818 71000 -rect 41842 70682 49922 70998 -rect 41842 70557 44036 70682 -rect 48085 70654 49922 70682 -rect -625 67957 -169 69954 -rect -1873 36780 -1396 63760 -rect -625 43427 -164 67957 -rect 6513 66282 8206 67046 -rect 6513 65365 6826 66282 -rect 7563 65365 8206 66282 -rect 6513 64060 8206 65365 -rect 15580 65424 17827 65914 -rect 15580 64470 16273 65424 -rect 17263 64470 17827 65424 -rect 6667 49694 7593 64060 -rect -1873 34727 -1250 36780 -rect -1727 3401 -1250 34727 -rect -532 12311 -164 43427 -rect 6681 13258 7525 49694 -rect -486 5910 -164 12311 -rect 6644 11434 7525 13258 -rect 162 8381 408 8427 -rect 5176 8381 5508 8427 -rect 111 7945 5565 8381 -rect -486 4178 -143 5910 -rect -1727 2789 -1188 3401 -rect -1259 243 -1188 2789 -rect -467 557 -143 4178 -rect 162 2406 408 7945 -rect 2090 5468 2156 5492 -rect 2090 5450 2117 5468 -rect 2134 5450 2156 5468 -rect 2090 5421 2156 5450 -rect 2310 5468 2376 5492 -rect 2310 5450 2336 5468 -rect 2353 5450 2376 5468 -rect 2310 5421 2376 5450 -rect 2090 5379 2156 5403 -rect 2090 5361 2117 5379 -rect 2134 5361 2156 5379 -rect 2090 5332 2156 5361 -rect 2310 5373 2376 5404 -rect 2310 5355 2332 5373 -rect 2349 5355 2376 5373 -rect 2310 5333 2376 5355 -rect 2090 3466 2156 3490 -rect 2090 3448 2117 3466 -rect 2134 3448 2156 3466 -rect 2090 3419 2156 3448 -rect 2310 3466 2376 3490 -rect 2310 3448 2336 3466 -rect 2353 3448 2376 3466 -rect 2310 3419 2376 3448 -rect 2090 3377 2156 3401 -rect 2090 3359 2117 3377 -rect 2134 3359 2156 3377 -rect 2090 3330 2156 3359 -rect 2310 3371 2376 3402 -rect 2310 3353 2332 3371 -rect 2349 3353 2376 3371 -rect 2310 3331 2376 3353 -rect 5176 3032 5508 7945 -rect 6644 4059 7089 11434 -rect 15580 7664 17827 64470 -rect 15580 7071 15941 7664 -rect 16319 7071 17827 7664 -rect 15580 6817 17827 7071 -rect 6644 3789 6805 4059 -rect 7002 3789 7089 4059 -rect 6644 3261 7089 3789 -rect 41842 3032 43068 70557 -rect 2314 2903 2380 2916 -rect 2797 2903 2863 2918 -rect 2314 2894 2863 2903 -rect 2314 2885 2824 2894 -rect 2314 2867 2336 2885 -rect 2353 2876 2824 2885 -rect 2841 2876 2863 2894 -rect 2353 2867 2863 2876 -rect 2314 2863 2863 2867 -rect 2314 2845 2380 2863 -rect 2797 2847 2863 2863 -rect 3017 2894 3083 2918 -rect 3017 2876 3043 2894 -rect 3060 2876 3083 2894 -rect 3017 2847 3083 2876 -rect 2797 2805 2863 2829 -rect 2797 2787 2824 2805 -rect 2841 2787 2863 2805 -rect 2797 2758 2863 2787 -rect 3017 2799 3083 2830 -rect 3017 2781 3039 2799 -rect 3056 2781 3083 2799 -rect 3017 2759 3083 2781 -rect 1798 2473 1930 2480 -rect 1798 2467 1936 2473 -rect 1796 2465 1936 2467 -rect 1796 2447 1815 2465 -rect 1832 2447 1936 2465 -rect 1796 2415 1936 2447 -rect 162 2404 912 2406 -rect 1099 2404 1137 2405 -rect 162 2385 1139 2404 -rect 727 2375 1139 2385 -rect 729 2348 767 2375 -rect 1099 2373 1137 2375 -rect 1100 2351 1137 2373 -rect 1900 2362 1936 2415 -rect 2099 2362 2165 2374 -rect 1900 2358 2165 2362 -rect 1284 2351 2165 2358 -rect 878 2349 912 2351 -rect 1100 2350 2165 2351 -rect 730 2336 765 2348 -rect 730 2319 738 2336 -rect 755 2319 765 2336 -rect 730 2309 765 2319 -rect 731 2301 765 2309 -rect 806 2346 840 2347 -rect 806 2338 841 2346 -rect 878 2338 913 2349 -rect 1100 2342 2126 2350 -rect 1013 2340 1036 2342 -rect 806 2325 913 2338 -rect 806 2322 886 2325 -rect 806 2305 814 2322 -rect 831 2308 886 2322 -rect 903 2308 913 2325 -rect 1000 2323 1036 2340 -rect 831 2305 913 2308 -rect 806 2303 913 2305 -rect 806 2295 841 2303 -rect 878 2298 913 2303 -rect 807 2287 841 2295 -rect 879 2290 913 2298 -rect 942 2320 970 2323 -rect 999 2320 1036 2323 -rect 942 2316 1036 2320 -rect 942 2299 1007 2316 -rect 1024 2305 1036 2316 -rect 1100 2338 1695 2342 -rect 1100 2320 1471 2338 -rect 1488 2324 1695 2338 -rect 1712 2332 2126 2342 -rect 2143 2332 2165 2350 -rect 1712 2324 2165 2332 -rect 1488 2320 2165 2324 -rect 1100 2308 2165 2320 -rect 1024 2299 1034 2305 -rect 2099 2303 2165 2308 -rect 942 2288 1034 2299 -rect 942 1639 970 2288 -rect 1000 2281 1034 2288 -rect 1321 2225 1442 2233 -rect 1321 2193 1856 2225 -rect 1253 2169 1290 2172 -rect 1321 2169 1352 2193 -rect 1253 2142 1352 2169 -rect 1403 2192 1856 2193 -rect 1403 2142 1785 2192 -rect 1253 2141 1785 2142 -rect 1836 2141 1856 2192 -rect 1253 2136 1856 2141 -rect 1253 2053 1290 2136 -rect 1321 2108 1856 2136 -rect 1321 2102 1442 2108 -rect 1240 2029 1306 2053 -rect 1240 2011 1266 2029 -rect 1283 2011 1306 2029 -rect 1240 1982 1306 2011 -rect 1450 2023 1516 2042 -rect 1450 2005 1473 2023 -rect 1491 2018 1516 2023 -rect 1450 2000 1476 2005 -rect 1493 2000 1516 2018 -rect 1450 1971 1516 2000 -rect 1672 2023 1738 2042 -rect 1672 2005 1695 2023 -rect 1713 2018 1738 2023 -rect 1672 2000 1698 2005 -rect 1715 2000 1738 2018 -rect 1672 1971 1738 2000 -rect 5176 1849 43068 3032 -rect 41842 1706 43068 1849 -rect 942 1623 972 1639 -rect 944 1261 972 1623 -rect 2090 1464 2156 1488 -rect 2090 1446 2117 1464 -rect 2134 1446 2156 1464 -rect 2090 1417 2156 1446 -rect 2310 1464 2376 1488 -rect 2310 1446 2336 1464 -rect 2353 1446 2376 1464 -rect 2310 1417 2376 1446 -rect 2090 1375 2156 1399 -rect 1231 1345 1297 1369 -rect 1231 1327 1258 1345 -rect 1275 1327 1297 1345 -rect 1231 1298 1297 1327 -rect 1451 1345 1517 1369 -rect 1451 1327 1477 1345 -rect 1494 1327 1517 1345 -rect 1451 1298 1517 1327 -rect 1660 1345 1726 1369 -rect 1660 1327 1687 1345 -rect 1704 1327 1726 1345 -rect 1660 1298 1726 1327 -rect 1880 1345 1946 1369 -rect 1880 1327 1906 1345 -rect 1923 1327 1946 1345 -rect 2090 1357 2117 1375 -rect 2134 1357 2156 1375 -rect 2090 1328 2156 1357 -rect 2310 1369 2376 1400 -rect 2310 1351 2332 1369 -rect 2349 1351 2376 1369 -rect 2310 1329 2376 1351 -rect 1880 1298 1946 1327 -rect 2320 1289 2353 1329 -rect 940 1206 972 1261 -rect 1231 1256 1297 1280 -rect 1231 1238 1258 1256 -rect 1275 1238 1297 1256 -rect 1231 1209 1297 1238 -rect 1451 1250 1517 1281 -rect 1451 1232 1473 1250 -rect 1490 1232 1517 1250 -rect 1451 1210 1517 1232 -rect 1660 1256 1726 1280 -rect 1660 1238 1687 1256 -rect 1704 1238 1726 1256 -rect 1880 1250 1946 1281 -rect 1880 1248 1902 1250 -rect 1660 1209 1726 1238 -rect 1877 1232 1902 1248 -rect 1919 1232 1946 1250 -rect 1877 1210 1946 1232 -rect 2320 1248 2614 1289 -rect 2320 1215 2353 1248 -rect 940 770 971 1206 -rect 1254 938 1281 1209 -rect 1877 1004 1922 1210 -rect 2305 1159 2347 1173 -rect 2193 1143 2347 1159 -rect 2193 1126 2210 1143 -rect 2228 1126 2347 1143 -rect 2193 1112 2347 1126 -rect 2305 1024 2347 1112 -rect 2305 1004 2329 1024 -rect 2419 1004 2449 1248 -rect 1877 965 2329 1004 -rect 2401 991 2480 1004 -rect 2401 974 2457 991 -rect 2474 974 2480 991 -rect 2401 965 2480 974 -rect 1877 938 1922 965 -rect 1235 914 1301 938 -rect 1235 896 1262 914 -rect 1279 896 1301 914 -rect 1235 867 1301 896 -rect 1455 914 1521 938 -rect 1455 896 1481 914 -rect 1498 896 1521 914 -rect 1455 867 1521 896 -rect 1636 914 1702 938 -rect 1636 896 1663 914 -rect 1680 896 1702 914 -rect 1636 867 1702 896 -rect 1856 914 1922 938 -rect 1856 896 1882 914 -rect 1899 896 1922 914 -rect 1856 867 1922 896 -rect 2797 892 2863 916 -rect 2797 874 2824 892 -rect 2841 874 2863 892 -rect 1235 825 1301 849 -rect 1235 807 1262 825 -rect 1279 807 1301 825 -rect 1235 778 1301 807 -rect 1455 832 1521 850 -rect 1636 832 1702 849 -rect 1455 825 1702 832 -rect 1455 819 1663 825 -rect 1455 801 1477 819 -rect 1494 807 1663 819 -rect 1680 807 1702 825 -rect 1494 801 1702 807 -rect 1455 784 1702 801 -rect 1455 779 1521 784 -rect 501 557 680 561 -rect -486 494 680 557 -rect -486 441 571 494 -rect 624 441 680 494 -rect -486 407 680 441 -rect -486 402 651 407 -rect -1259 166 646 243 -rect -1259 41 410 166 -rect 572 41 646 166 -rect -1250 -45 646 41 -rect 939 225 971 770 -rect 1462 734 1505 779 -rect 1636 778 1702 784 -rect 1856 819 1922 850 -rect 2797 845 2863 874 -rect 3017 892 3083 916 -rect 3017 874 3043 892 -rect 3060 874 3083 892 -rect 3017 845 3083 874 -rect 1856 801 1878 819 -rect 1895 801 1922 819 -rect 1856 779 1922 801 -rect 2797 803 2863 827 -rect 2797 785 2824 803 -rect 2841 785 2863 803 -rect 2797 756 2863 785 -rect 3017 797 3083 828 -rect 3017 779 3039 797 -rect 3056 779 3083 797 -rect 3017 757 3083 779 -rect 1336 701 1415 727 -rect 1336 683 1363 701 -rect 1380 683 1415 701 -rect 1067 651 1215 668 -rect 1067 599 1089 651 -rect 1141 599 1215 651 -rect 1067 579 1215 599 -rect 1336 617 1415 683 -rect 1336 599 1366 617 -rect 1383 599 1415 617 -rect 1336 584 1415 599 -rect 1459 616 1505 734 -rect 1743 707 1822 735 -rect 1743 689 1776 707 -rect 1793 689 1822 707 -rect 1743 628 1822 689 -rect 1523 616 1577 618 -rect 1459 588 1577 616 -rect 1743 610 1772 628 -rect 1789 610 1822 628 -rect 1743 592 1822 610 -rect 1465 582 1577 588 -rect 1523 491 1577 582 -rect 1512 467 1578 491 -rect 1512 449 1539 467 -rect 1556 449 1578 467 -rect 1512 420 1578 449 -rect 719 -187 773 -166 -rect 719 -204 738 -187 -rect 755 -202 773 -187 -rect 795 -201 849 -180 -rect 795 -202 814 -201 -rect 755 -204 814 -202 -rect 719 -218 814 -204 -rect 831 -218 849 -201 -rect 719 -224 849 -218 -rect 719 -240 768 -224 -rect 795 -229 849 -224 -rect 867 -198 921 -177 -rect 867 -215 886 -198 -rect 903 -215 921 -198 -rect 867 -226 921 -215 -rect 798 -237 849 -229 -rect 870 -238 921 -226 -rect 939 -238 970 225 -rect 995 -209 1034 -194 -rect 995 -226 1006 -209 -rect 1023 -226 1034 -209 -rect 995 -228 1034 -226 -rect 995 -229 1035 -228 -rect 995 -238 1037 -229 -rect 870 -263 970 -238 -rect 993 -261 1037 -238 -rect 876 -266 970 -263 -rect 880 -267 903 -266 -rect 1000 -297 1035 -261 -rect 1001 -353 1033 -297 -rect 979 -377 1045 -353 -rect 979 -395 1006 -377 -rect 1023 -395 1045 -377 -rect 979 -424 1045 -395 -rect 967 -1053 1033 -1029 -rect 967 -1071 994 -1053 -rect 1011 -1071 1033 -1053 -rect 967 -1100 1033 -1071 -rect 1187 -1053 1253 -1029 -rect 1187 -1071 1213 -1053 -rect 1230 -1071 1253 -1053 -rect 1187 -1100 1253 -1071 -rect 2797 -1110 2863 -1086 -rect 967 -1142 1033 -1118 -rect 967 -1160 994 -1142 -rect 1011 -1160 1033 -1142 -rect 967 -1189 1033 -1160 -rect 1187 -1148 1253 -1117 -rect 1187 -1156 1209 -1148 -rect 1187 -1174 1208 -1156 -rect 1226 -1166 1253 -1148 -rect 2797 -1128 2824 -1110 -rect 2841 -1128 2863 -1110 -rect 2797 -1157 2863 -1128 -rect 3017 -1110 3083 -1086 -rect 3017 -1128 3043 -1110 -rect 3060 -1128 3083 -1110 -rect 3017 -1157 3083 -1128 -rect 1225 -1174 1253 -1166 -rect 1187 -1188 1253 -1174 -rect 977 -1503 1019 -1189 -rect 1501 -1193 1567 -1169 -rect 1501 -1211 1528 -1193 -rect 1545 -1211 1567 -1193 -rect 1501 -1240 1567 -1211 -rect 1721 -1193 1787 -1169 -rect 1721 -1211 1747 -1193 -rect 1764 -1211 1787 -1193 -rect 1721 -1240 1787 -1211 -rect 2797 -1199 2863 -1175 -rect 2797 -1217 2824 -1199 -rect 2841 -1217 2863 -1199 -rect 2797 -1246 2863 -1217 -rect 3017 -1205 3083 -1174 -rect 3017 -1223 3039 -1205 -rect 3056 -1223 3083 -1205 -rect 3017 -1245 3083 -1223 -rect 1501 -1282 1567 -1258 -rect 1501 -1300 1528 -1282 -rect 1545 -1300 1567 -1282 -rect 1501 -1329 1567 -1300 -rect 1721 -1288 1787 -1257 -rect 1721 -1301 1743 -1288 -rect 1721 -1318 1738 -1301 -rect 1760 -1306 1787 -1288 -rect 1756 -1318 1787 -1306 -rect 1721 -1328 1787 -1318 -rect 1591 -1480 3004 -1463 -rect 1073 -1489 3004 -1480 -rect 1073 -1503 2935 -1489 -rect 959 -1505 2935 -1503 -rect 959 -1512 1617 -1505 -rect 959 -1529 1089 -1512 -rect 1107 -1529 1123 -1512 -rect 1141 -1522 1617 -1512 -rect 1635 -1522 1651 -1505 -rect 1669 -1506 2935 -1505 -rect 2953 -1506 3004 -1489 -rect 1669 -1522 3004 -1506 -rect 1141 -1529 3004 -1522 -rect 959 -1534 3004 -1529 -rect 959 -1550 1685 -1534 -rect 1073 -1556 1685 -1550 -rect 3037 -1630 3060 -1245 -rect 3034 -1654 3060 -1630 -rect 3785 -1420 19267 -1189 -rect 3785 -1654 15882 -1420 -rect 2974 -1669 15882 -1654 -rect 1114 -1683 15882 -1669 -rect 1114 -1700 1206 -1683 -rect 1224 -1689 15882 -1683 -rect 1224 -1700 1741 -1689 -rect 1114 -1706 1741 -1700 -rect 1758 -1706 15882 -1689 -rect 1114 -1728 15882 -1706 -rect 2974 -1742 15882 -1728 -rect 3785 -1834 15882 -1742 -rect 16439 -1834 19267 -1420 -rect 3785 -2309 19267 -1834 -<< viali >> -rect -74297 80640 -73703 81485 -rect -32417 80466 -31715 81348 -rect -6532 80851 -5903 81588 -rect 44411 81023 45221 82192 -rect -74324 79200 -73586 79829 -rect -32509 79270 -31592 79756 -rect -6543 79601 -5914 80015 -rect 44347 78005 45049 79067 -rect -7847 65483 -7110 66400 -rect 49391 70998 49660 71340 -rect 50404 71000 50817 71342 -rect 6826 65365 7563 66282 -rect 16273 64470 17263 65424 -rect 15941 7071 16319 7664 -rect 6805 3789 7002 4059 -rect 1471 2320 1488 2338 -rect 1695 2324 1712 2342 -rect 1473 2018 1491 2023 -rect 1473 2005 1476 2018 -rect 1476 2005 1491 2018 -rect 1695 2018 1713 2023 -rect 1695 2005 1698 2018 -rect 1698 2005 1713 2018 -rect 2457 974 2474 991 -rect 571 441 624 494 -rect 410 41 572 166 -rect 1366 599 1383 617 -rect 1772 610 1789 628 -rect 1208 -1166 1209 -1156 -rect 1209 -1166 1225 -1156 -rect 1208 -1174 1225 -1166 -rect 1738 -1306 1743 -1301 -rect 1743 -1306 1756 -1301 -rect 1738 -1318 1756 -1306 -rect 1206 -1700 1224 -1683 -rect 1741 -1706 1758 -1689 -rect 15882 -1834 16439 -1420 -<< metal1 >> -rect -74661 82360 -73301 83221 -rect -74654 81485 -73305 82360 -rect -32763 82352 -31335 83228 -rect -6906 83080 -5560 83082 -rect -6918 82838 -5560 83080 -rect 15818 82908 17657 83151 -rect -6916 82753 -5560 82838 -rect -74654 80640 -74297 81485 -rect -73703 80640 -73305 81485 -rect -74654 79829 -73305 80640 -rect -74654 79200 -74324 79829 -rect -73586 79200 -73305 79829 -rect -74654 78879 -73305 79200 -rect -32751 81352 -31359 82352 -rect -32751 81348 -32415 81352 -rect -31717 81348 -31359 81352 -rect -32751 80466 -32417 81348 -rect -31715 80466 -31359 81348 -rect -6916 81588 -5570 82753 -rect -6916 81585 -6532 81588 -rect -5903 81585 -5570 81588 -rect -6916 80854 -6535 81585 -rect -5900 81346 -5570 81585 -rect 43852 82197 45574 83373 -rect 43852 82192 44419 82197 -rect 45213 82192 45574 82197 -rect -5900 80854 -5550 81346 -rect -6916 80851 -6532 80854 -rect -5903 80851 -5550 80854 -rect -6916 80824 -5550 80851 -rect -32751 80462 -32415 80466 -rect -31717 80462 -31359 80466 -rect -32751 79756 -31359 80462 -rect -32751 79270 -32509 79756 -rect -31592 79270 -31359 79756 -rect -6896 80015 -5550 80824 -rect -6896 79601 -6543 80015 -rect -5914 79601 -5550 80015 -rect -6896 79305 -5550 79601 -rect 43852 81023 44411 82192 -rect 45221 81023 45574 82192 -rect 43852 81018 44419 81023 -rect 45213 81018 45574 81023 -rect -32751 79084 -31359 79270 -rect 43852 79067 45574 81018 -rect 43852 78005 44347 79067 -rect 45049 78005 45574 79067 -rect 43852 77576 45574 78005 -rect 15814 76152 17723 76264 -rect 43940 76152 45568 77576 -rect 15814 75029 45568 76152 -rect 15814 74917 45455 75029 -rect -9081 66400 7983 66916 -rect -9081 65483 -7847 66400 -rect -7110 66282 7983 66400 -rect -7110 65483 6826 66282 -rect -9081 65365 6826 65483 -rect 7563 65365 7983 66282 -rect -9081 64666 7983 65365 -rect 15814 65424 17723 74917 -rect 50993 71707 51453 71711 -rect 49221 71342 51468 71707 -rect 49221 71340 50404 71342 -rect 49221 70998 49391 71340 -rect 49660 71000 50404 71340 -rect 50817 71000 51468 71342 -rect 49660 70998 51468 71000 -rect 49221 70707 51468 70998 -rect 15814 64470 16273 65424 -rect 17263 64470 17723 65424 -rect 15814 64221 17723 64470 -rect 15661 7664 16537 8040 -rect 15661 7071 15941 7664 -rect 16319 7071 16537 7664 -rect 6713 4059 7091 4154 -rect 6713 3789 6805 4059 -rect 7002 3789 7091 4059 -rect 1461 2338 1503 2348 -rect 1461 2320 1471 2338 -rect 1488 2320 1503 2338 -rect 1461 2023 1503 2320 -rect 1461 2005 1473 2023 -rect 1491 2005 1503 2023 -rect 1461 1996 1503 2005 -rect 1683 2342 1725 2348 -rect 1683 2324 1695 2342 -rect 1712 2324 1725 2342 -rect 1683 2023 1725 2324 -rect 1683 2005 1695 2023 -rect 1713 2005 1725 2023 -rect 1683 1996 1725 2005 -rect 3223 1006 5185 1008 -rect 6713 1006 7091 3789 -rect 3223 1004 7104 1006 -rect 2447 991 7104 1004 -rect 2447 974 2457 991 -rect 2474 974 7104 991 -rect 2447 965 7104 974 -rect 2494 964 7104 965 -rect 3223 963 7104 964 -rect 5142 961 7104 963 -rect 6713 870 7091 961 -rect 1347 617 1404 635 -rect 1347 599 1366 617 -rect 1383 599 1404 617 -rect 1347 570 1404 599 -rect 1753 628 1810 644 -rect 1753 610 1772 628 -rect 1789 610 1810 628 -rect 1753 607 1810 610 -rect 1968 608 2006 613 -rect 1943 607 2006 608 -rect 1753 579 2006 607 -rect 1756 574 2006 579 -rect 1943 572 2006 574 -rect 501 496 680 561 -rect 1348 496 1404 570 -rect 501 494 1427 496 -rect 501 441 571 494 -rect 624 481 1427 494 -rect 624 441 680 481 -rect 501 407 680 441 -rect 1968 292 2006 572 -rect 372 176 628 220 -rect 1963 176 2006 292 -rect 372 166 2006 176 -rect 372 41 410 166 -rect 572 107 2006 166 -rect 572 41 628 107 -rect 372 -4 628 41 -rect 1199 -1156 1234 -1143 -rect 1199 -1174 1208 -1156 -rect 1225 -1174 1234 -1156 -rect 1199 -1683 1234 -1174 -rect 1199 -1700 1206 -1683 -rect 1224 -1700 1234 -1683 -rect 1199 -1728 1234 -1700 -rect 1734 -1301 1763 -1287 -rect 1734 -1318 1738 -1301 -rect 1756 -1318 1763 -1301 -rect 1734 -1689 1763 -1318 -rect 1734 -1706 1741 -1689 -rect 1758 -1706 1763 -1689 -rect 1734 -1719 1763 -1706 -rect 15661 -1420 16537 7071 -rect 51278 2577 51372 2615 -rect 51278 2351 51528 2577 -rect 51278 2319 51372 2351 -rect 15661 -1834 15882 -1420 -rect 16439 -1834 16537 -1420 -rect 15661 -2024 16537 -1834 -<< via1 >> -rect -74285 80649 -73715 81476 -rect -32415 81348 -31717 81352 -rect -32415 80466 -31717 81348 -rect -6535 80854 -6532 81585 -rect -6532 80854 -5903 81585 -rect -5903 80854 -5900 81585 -rect 44419 82192 45213 82197 -rect -32415 80462 -31717 80466 -rect 44419 81023 45213 82192 -rect 44419 81018 45213 81023 -rect 50405 71014 50816 71328 -<< metal2 >> -rect -74661 82360 -73301 83221 -rect -74654 81477 -73305 82360 -rect -32763 82352 -31335 83228 -rect -6906 83080 -5560 83082 -rect -6918 82838 -5560 83080 -rect 15818 82908 17657 83151 -rect -6916 82753 -5560 82838 -rect -74654 80648 -74294 81477 -rect -73706 80648 -73305 81477 -rect -74654 78879 -73305 80648 -rect -32751 81352 -31359 82352 -rect -32751 81341 -32415 81352 -rect -31717 81341 -31359 81352 -rect -32751 80473 -32420 81341 -rect -31712 80473 -31359 81341 -rect -6916 81594 -5570 82753 -rect -6916 81585 -6532 81594 -rect -5903 81585 -5570 81594 -rect -6916 80854 -6535 81585 -rect -5900 81346 -5570 81585 -rect 43852 82197 45574 83373 -rect -5900 80854 -5550 81346 -rect -6916 80845 -6532 80854 -rect -5903 80845 -5550 80854 -rect -6916 80824 -5550 80845 -rect -32751 80462 -32415 80473 -rect -31717 80462 -31359 80473 -rect -32751 79084 -31359 80462 -rect -6896 79305 -5550 80824 -rect 43852 81018 44419 82197 -rect 45213 81018 45574 82197 -rect 43852 77576 45574 81018 -rect 50993 71707 51453 71711 -rect 49221 71328 51468 71707 -rect 49221 71014 50405 71328 -rect 50816 71014 51468 71328 -rect 49221 70707 51468 71014 -rect -7855 65471 -7102 66412 -rect 6818 65353 7571 66294 -rect 16270 64470 17266 65424 -rect 51278 2577 51372 2615 -rect 51278 2351 51528 2577 -rect 51278 2319 51372 2351 -<< via2 >> -rect -74294 81476 -73706 81477 -rect -74294 80649 -74285 81476 -rect -74285 80649 -73715 81476 -rect -73715 80649 -73706 81476 -rect -74294 80648 -73706 80649 -rect -32420 80473 -32415 81341 -rect -32415 80473 -31717 81341 -rect -31717 80473 -31712 81341 -rect -6532 81585 -5903 81594 -rect -6532 80854 -5903 81585 -rect -6532 80845 -5903 80854 -rect 44422 81033 45210 82182 -rect 50416 71017 50805 71325 -<< metal3 >> -rect -74661 82360 -73301 83221 -rect -74654 81477 -73305 82360 -rect -32763 82352 -31335 83228 -rect -6906 83080 -5560 83082 -rect -6918 82838 -5560 83080 -rect 15818 82908 17657 83151 -rect -6916 82753 -5560 82838 -rect -74654 80648 -74294 81477 -rect -73706 80648 -73305 81477 -rect -74654 78879 -73305 80648 -rect -32751 81341 -31359 82352 -rect -32751 80473 -32420 81341 -rect -31712 80473 -31359 81341 -rect -6916 81594 -5570 82753 -rect -6916 80845 -6532 81594 -rect -5903 81346 -5570 81594 -rect 43852 82182 45574 83373 -rect -5903 80845 -5550 81346 -rect -6916 80824 -5550 80845 -rect -32751 79084 -31359 80473 -rect -6896 79305 -5550 80824 -rect 43852 81033 44422 82182 -rect 45210 81033 45574 82182 -rect 43852 77576 45574 81033 -rect 50993 71707 51453 71711 -rect 49221 71325 51468 71707 -rect 49221 71017 50416 71325 -rect 50805 71017 51468 71325 -rect 49221 70707 51468 71017 -rect -7855 65471 -7102 66412 -rect 6818 65353 7571 66294 -rect 16270 64470 17266 65424 -rect 51278 2577 51372 2615 -rect 51278 2351 51528 2577 -rect 51278 2319 51372 2351 -<< labels >> -rlabel metal1 s 2496 981 2496 981 4 out2 -port 1 nsew -rlabel metal1 s 1370 576 1370 576 4 in1 -port 2 nsew -rlabel locali s 1313 2321 1313 2321 4 vdd -port 3 nsew -rlabel locali s 2064 -1703 2064 -1703 4 vss -port 4 nsew -rlabel metal1 s 1937 590 1937 590 4 in2 -port 5 nsew -rlabel locali s 1195 614 1195 614 4 vss -port 4 nsew -<< end >>
diff --git a/mag/user_analog_project_wrapper.mag b/mag/user_analog_project_wrapper.mag index 75541f9..931a1fd 100644 --- a/mag/user_analog_project_wrapper.mag +++ b/mag/user_analog_project_wrapper.mag
@@ -1,6 +1,6 @@ magic tech sky130A -timestamp 1634389431 +timestamp 1634491023 << metal2 >> rect 262 -400 318 240 rect 853 -400 909 240 @@ -687,7 +687,7 @@ rect 292000 0 292050 352000 rect -50 -50 292050 0 use layout_opamp layout_opamp_0 -timestamp 1634389310 +timestamp 1634491023 transform 1 0 223449 0 1 340529 box -58029 -2522 68132 10992 << labels >>
diff --git a/netgen/layout_opamp.spice b/netgen/layout_opamp.spice index fe011e1..dcc0270 100644 --- a/netgen/layout_opamp.spice +++ b/netgen/layout_opamp.spice
@@ -2,21 +2,21 @@ .option scale=10000u -X0 a_181_n17# in1 a_n28_306# vss sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=179 l=100 -X1 vss a_n292_n2092# out vss sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=6289 l=100 -X2 vss a_n292_n2092# a_n292_n2092# vss sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=1001 l=100 -X3 out a_582_n17# vdd vdd sky130_fd_pr__pfet_01v8 ad=0 pd=0 as=0 ps=0 w=6289 l=100 -X4 a_n516_n998# vdd vss sky130_fd_pr__res_generic_nd w=27 l=2492 -X5 a_582_n17# a_n28_306# vdd vdd sky130_fd_pr__pfet_01v8 ad=0 pd=0 as=0 ps=0 w=1001 l=100 -X6 vdd a_n28_306# a_n28_306# vdd sky130_fd_pr__pfet_01v8 ad=0 pd=0 as=0 ps=0 w=1001 l=100 -X7 a_582_n17# in2 a_181_n17# vss sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=179 l=100 -X8 a_n292_n2092# a_n368_n1009# vss sky130_fd_pr__res_generic_nd w=26 l=2494 -X9 a_n368_n1009# a_n440_1511# vss sky130_fd_pr__res_generic_nd w=27 l=2492 -X10 a_n516_n998# a_n440_1511# vss sky130_fd_pr__res_generic_nd w=27 l=2492 -X11 vss a_n292_n2092# a_181_n17# vss sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=2002 l=100 -C0 in2 vss 245.69fF -C1 in1 vss 113.26fF -C2 a_n292_n2092# vss 5.85fF -C3 out vss 206.39fF -C4 a_n368_n1009# vss 3.44fF -C5 vdd vss 207.65fF +X0 a_181_n17# a_81_n139# a_n28_306# a_n1046_1394# sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=179 l=100 +X1 a_n1046_1394# a_n292_n2092# a_1036_425# a_n1046_1394# sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=6289 l=100 +X2 a_n1046_1394# a_n292_n2092# a_n292_n2092# a_n1046_1394# sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=1001 l=100 +X3 a_1036_425# a_582_n17# w_n107_244# w_n107_244# sky130_fd_pr__pfet_01v8 ad=0 pd=0 as=0 ps=0 w=6289 l=100 +X4 a_n516_n998# w_n107_244# a_n1046_1394# sky130_fd_pr__res_generic_nd w=27 l=2492 +X5 a_582_n17# a_n28_306# w_n107_244# w_n107_244# sky130_fd_pr__pfet_01v8 ad=0 pd=0 as=0 ps=0 w=1001 l=100 +X6 w_n107_244# a_n28_306# a_n28_306# w_n107_244# sky130_fd_pr__pfet_01v8 ad=0 pd=0 as=0 ps=0 w=1001 l=100 +X7 a_582_n17# a_481_n137# a_181_n17# a_n1046_1394# sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=179 l=100 +X8 a_n292_n2092# a_n368_n1009# a_n1046_1394# sky130_fd_pr__res_generic_nd w=26 l=2494 +X9 a_n368_n1009# a_n440_1511# a_n1046_1394# sky130_fd_pr__res_generic_nd w=27 l=2492 +X10 a_n516_n998# a_n440_1511# a_n1046_1394# sky130_fd_pr__res_generic_nd w=27 l=2492 +X11 a_n1046_1394# a_n292_n2092# a_181_n17# a_n1046_1394# sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=2002 l=100 +C0 a_481_n137# a_n1046_1394# 245.64fF +C1 a_81_n139# a_n1046_1394# 113.26fF +C2 a_n292_n2092# a_n1046_1394# 5.85fF +C3 a_1036_425# a_n1046_1394# 206.39fF +C4 a_n368_n1009# a_n1046_1394# 3.44fF +C5 w_n107_244# a_n1046_1394# 207.65fF
diff --git a/netgen/user_analog_project_wrapper.spice b/netgen/user_analog_project_wrapper.spice index a7a8da3..dc3a74a 100644 --- a/netgen/user_analog_project_wrapper.spice +++ b/netgen/user_analog_project_wrapper.spice
@@ -121,7 +121,7 @@ X10 layout_opamp_0/a_n516_n998# layout_opamp_0/a_n440_1511# io_analog[0] sky130_fd_pr__res_generic_nd w=27 l=2492 X11 io_analog[0] layout_opamp_0/a_n292_n2092# layout_opamp_0/a_181_n17# io_analog[0] sky130_fd_pr__nfet_01v8 ad=0 pd=0 as=0 ps=0 w=2002 l=100 C0 vssa1 io_analog[0] 2.35fF -C1 io_analog[4] io_analog[0] 240.72fF +C1 io_analog[4] io_analog[0] 240.68fF C2 io_analog[3] io_analog[0] 100.69fF C3 layout_opamp_0/a_n292_n2092# io_analog[0] 5.85fF C4 io_analog[1] io_analog[0] 200.24fF