Added the layouts used for DRC ruleset development to sky130/custom/drc/.
diff --git a/VERSION b/VERSION
index eea6f62..be1dcc8 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.72
+1.0.73
diff --git a/sky130/custom/drc/capm.mag b/sky130/custom/drc/capm.mag
new file mode 100644
index 0000000..c7be1e6
--- /dev/null
+++ b/sky130/custom/drc/capm.mag
@@ -0,0 +1,109 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602729048
+<< error_p >>
+rect 3144 3135 3244 3151
+rect 1930 2443 2032 3111
+rect 2961 3107 3244 3135
+rect 2961 2439 2989 3107
+rect 3144 2439 3172 3107
+rect 2961 2411 3144 2439
+rect 4636 2367 4815 3114
+rect 4876 2370 5055 3117
+rect 6007 2389 6021 3113
+rect 6035 2417 6049 3085
+rect 1903 1547 1904 1548
+rect 2275 1547 2276 1548
+rect 1902 1546 2277 1547
+rect 1903 1535 2276 1546
+rect 1903 947 1922 1535
+rect 2265 947 2276 1535
+rect 2912 1486 2913 1487
+rect 3196 1486 3197 1487
+rect 2911 1485 2912 1486
+rect 3197 1485 3198 1486
+rect 3223 1306 3268 1486
+rect 7044 1378 7055 1478
+rect 3477 1192 3522 1306
+rect 4784 1035 4785 1036
+rect 4783 1034 4784 1035
+rect 2911 968 2912 969
+rect 3197 968 3198 969
+rect 2912 967 2913 968
+rect 3196 967 3197 968
+rect 1903 932 2276 947
+rect 1902 931 2277 932
+rect 1903 930 1904 931
+rect 2275 930 2276 931
+rect 5786 898 6001 1152
+rect 6040 834 6106 898
+<< metal2 >>
+rect 3462 1192 3477 1306
+rect 3574 1192 3618 1306
+rect 6040 898 6106 952
+rect 6040 786 6106 834
+<< via2 >>
+rect 3477 1192 3574 1306
+rect 6040 834 6106 898
+<< metal3 >>
+rect 1587 2408 1978 3155
+rect 3144 2404 3660 3151
+rect 4299 2367 4815 3114
+rect 4876 2370 5432 3117
+rect 6021 2382 6506 3129
+rect 1837 872 2353 1619
+rect 2800 852 3316 1599
+rect 3473 1306 3579 1342
+rect 3473 1192 3477 1306
+rect 3574 1192 3579 1306
+rect 3473 1145 3579 1192
+rect 4316 817 4999 1564
+rect 5533 944 6030 1519
+rect 5533 898 6278 944
+rect 5533 834 6040 898
+rect 6106 834 6278 898
+rect 5533 772 6278 834
+rect 6587 776 7084 1523
+rect 7144 1052 7208 1378
+<< mimcap >>
+rect 1632 2443 1930 3111
+rect 2989 2439 3412 3107
+rect 4344 2402 4767 3070
+rect 4973 2405 5384 3073
+rect 6035 2417 6458 3085
+rect 1882 1547 2305 1575
+rect 1882 931 1903 1547
+rect 2276 931 2305 1547
+rect 1882 907 2305 931
+rect 2845 1486 3268 1555
+rect 2845 968 2912 1486
+rect 3197 968 3268 1486
+rect 2845 887 3268 968
+rect 4361 1035 4962 1465
+rect 4361 852 4784 1035
+rect 5578 807 6001 1475
+rect 6632 811 7055 1479
+<< mimcapcontact >>
+rect 1903 931 2276 1547
+rect 2912 968 3197 1486
+<< labels >>
+flabel comment s 574 2516 580 2516 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 510 2232 510 2232 0 FreeSans 560 0 0 0 mcon.3
+flabel comment s 536 2059 536 2059 0 FreeSans 560 0 0 0 mcon.4
+flabel comment s 393 3188 393 3188 0 FreeSans 800 0 0 0 Capm
+flabel comment s 1725 2285 1725 2285 0 FreeSans 560 0 0 0 capm.1
+flabel comment s 3141 2249 3141 2249 0 FreeSans 560 0 0 0 capm.2a
+flabel comment s 4938 2245 4938 2245 0 FreeSans 560 0 0 0 capm.2b
+flabel comment s 6227 2303 6227 2303 0 FreeSans 560 0 0 0 capm.3
+flabel comment s 520 1215 520 1215 0 FreeSans 560 0 0 0 Not required?
+flabel comment s 587 1019 587 1019 0 FreeSans 560 0 0 0 capm.10
+flabel comment s 596 1605 596 1605 0 FreeSans 560 0 0 0 capm.6
+flabel comment s 540 1770 540 1770 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 592 1439 592 1439 0 FreeSans 560 0 0 0 capm.12
+flabel comment s 2088 798 2088 798 0 FreeSans 560 0 0 0 capm.4
+flabel comment s 3340 792 3340 792 0 FreeSans 560 0 0 0 capm.5
+flabel comment s 4737 737 4737 737 0 FreeSans 560 0 0 0 capm.7
+flabel comment s 5876 693 5876 693 0 FreeSans 560 0 0 0 capm.8
+flabel comment s 6880 689 6880 689 0 FreeSans 560 0 0 0 capm.11
+<< end >>
diff --git a/sky130/custom/drc/difftap.mag b/sky130/custom/drc/difftap.mag
new file mode 100644
index 0000000..8717a99
--- /dev/null
+++ b/sky130/custom/drc/difftap.mag
@@ -0,0 +1,140 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602989507
+<< error_p >>
+rect 2638 1968 2676 1972
+rect 1288 1530 1298 1948
+rect 1502 1530 1516 1948
+rect 1694 1684 1702 1856
+rect 1826 1684 1842 1856
+rect 2667 1828 2676 1968
+rect 2692 1828 2730 1968
+rect 2080 1708 2100 1744
+rect 2164 1708 2184 1744
+rect 2700 1602 2734 1746
+rect 3294 1624 3314 1738
+rect 3642 1626 3682 1740
+rect 3722 1626 3762 1740
+rect 5538 1644 5546 1816
+rect 5670 1644 5686 1816
+rect 4228 1589 4313 1614
+rect 4760 1591 4771 1616
+rect 4228 1554 4288 1589
+rect 5184 1358 5284 1396
+rect 5764 1338 5858 1354
+rect 1288 828 1298 1214
+rect 1502 828 1516 1214
+rect 1718 944 1726 1116
+rect 1850 944 1866 1116
+rect 2688 1062 2718 1190
+rect 4220 1105 4280 1140
+rect 2108 1018 2148 1054
+rect 2192 1018 2232 1054
+rect 2688 876 2714 1004
+rect 3312 978 3344 1092
+rect 3664 984 3702 1098
+rect 3744 984 3782 1098
+rect 4220 1080 4305 1105
+rect 4810 1072 4823 1097
+rect 5542 968 5550 1140
+rect 5674 968 5690 1140
+rect 5222 766 5316 780
+rect 5784 764 5872 780
+rect 5186 730 5352 744
+rect 5748 728 5908 744
+<< nwell >>
+rect 1126 744 6196 1328
+<< nmos >>
+rect 2100 1708 2164 1744
+<< pmos >>
+rect 2148 1018 2192 1054
+<< ndiff >>
+rect 1268 1530 1288 1948
+rect 2100 1744 2164 1902
+rect 2592 1828 2676 1972
+rect 2100 1584 2164 1708
+rect 2596 1602 2680 1746
+rect 2700 1602 2784 1746
+rect 3112 1624 3256 1738
+rect 3564 1626 3682 1740
+rect 3722 1626 3840 1740
+rect 4166 1614 4288 1728
+rect 4624 1616 4746 1730
+rect 5184 1358 5284 1446
+<< pdiff >>
+rect 1268 828 1288 1214
+rect 2148 1054 2192 1194
+rect 2590 1054 2664 1182
+rect 2688 1062 2762 1190
+rect 2148 876 2192 1018
+rect 2586 868 2660 996
+rect 3142 978 3286 1092
+rect 3600 984 3702 1098
+rect 3744 984 3862 1098
+rect 4172 982 4280 1080
+rect 4704 978 4798 1072
+rect 5222 766 5316 860
+<< psubdiff >>
+rect 1486 1530 1502 1948
+rect 1694 1856 1834 1880
+rect 2692 1824 2776 1968
+rect 5538 1816 5678 1840
+rect 1694 1660 1834 1684
+rect 3256 1624 3294 1738
+rect 3682 1626 3722 1740
+rect 4288 1576 4388 1728
+rect 4746 1616 4850 1730
+rect 5538 1620 5678 1644
+rect 4760 1582 4850 1616
+rect 5764 1338 5858 1428
+<< nsubdiff >>
+rect 1486 828 1502 1214
+rect 1718 1116 1858 1140
+rect 1718 920 1858 944
+rect 2688 876 2762 1004
+rect 3286 978 3312 1092
+rect 3702 984 3744 1098
+rect 4280 982 4372 1136
+rect 4810 1072 4896 1148
+rect 4798 978 4896 1072
+rect 5542 1140 5682 1164
+rect 5542 944 5682 968
+rect 5784 764 5872 858
+<< psubdiffcont >>
+rect 1694 1684 1834 1856
+rect 5538 1644 5678 1816
+<< nsubdiffcont >>
+rect 1718 944 1858 1116
+rect 5542 968 5682 1140
+<< poly >>
+rect 2052 1708 2100 1744
+rect 2164 1708 2222 1744
+rect 2100 1018 2148 1054
+rect 2192 1018 2232 1054
+<< locali >>
+rect 1694 1856 1834 1880
+rect 1694 1660 1834 1684
+rect 5538 1816 5678 1840
+rect 5538 1620 5678 1644
+rect 5542 1140 5682 1164
+rect 1718 1116 1858 1140
+rect 5542 944 5682 968
+rect 1718 920 1858 944
+<< labels >>
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Diff/tap
+flabel comment s 1456 434 1456 434 0 FreeSans 560 0 0 0 difftap.1
+flabel comment s 2170 474 2170 474 0 FreeSans 560 0 0 0 difftap.2
+flabel comment s 2708 456 2708 456 0 FreeSans 560 0 0 0 difftap.3
+flabel comment s 3234 468 3234 468 0 FreeSans 560 0 0 0 difftap.4
+flabel comment s 3740 456 3740 456 0 FreeSans 560 0 0 0 difftap.5
+flabel comment s 4778 466 4782 468 0 FreeSans 560 0 0 0 difftap.7
+flabel comment s 4260 472 4260 472 0 FreeSans 560 0 0 0 difftap.6
+flabel comment s 5256 492 5256 492 0 FreeSans 560 0 0 0 difftap.8
+flabel comment s 5226 1548 5226 1548 0 FreeSans 560 0 0 0 difftap.9
+flabel comment s 5812 504 5812 504 0 FreeSans 560 0 0 0 difftap.10
+flabel comment s 5814 1512 5814 1512 0 FreeSans 560 0 0 0 difftap.11
+flabel comment s -16 1274 -16 1274 0 FreeSans 560 0 0 0 difftap.12
+flabel comment s -22 1108 -22 1108 0 FreeSans 560 0 0 0 difftap.13
+flabel comment s -18 1488 -18 1488 0 FreeSans 560 0 0 0 Unimplemented
+<< end >>
diff --git a/sky130/custom/drc/dnwell.mag b/sky130/custom/drc/dnwell.mag
new file mode 100644
index 0000000..d2b4519
--- /dev/null
+++ b/sky130/custom/drc/dnwell.mag
@@ -0,0 +1,51 @@
+magic
+tech sky130A
+timestamp 1602965897
+<< error_p >>
+rect 1398 514 1680 827
+rect 41 6 206 400
+rect 1492 -314 1534 -313
+rect 2517 -562 2519 -410
+<< dnwell >>
+rect 730 514 1050 827
+rect 1398 514 1718 827
+rect -94 6 41 400
+rect 989 -793 1399 -388
+rect 2177 -649 2517 -336
+<< nwell >>
+rect 670 469 1769 899
+rect -181 -66 106 464
+rect 1450 -314 1492 -313
+rect 925 -502 1492 -314
+rect 925 -667 1109 -502
+rect 1274 -667 1492 -502
+rect 925 -861 1492 -667
+rect 2108 -707 2675 -277
+<< pwell >>
+rect 1138 -644 1245 -525
+<< pdiff >>
+rect 2422 -562 2559 -410
+<< nsubdiff >>
+rect 2230 -402 2303 -384
+rect 2230 -525 2245 -402
+rect 2286 -525 2303 -402
+rect 2230 -546 2303 -525
+<< nsubdiffcont >>
+rect 2245 -525 2286 -402
+<< locali >>
+rect 2245 -402 2286 -368
+rect 2245 -557 2286 -525
+<< labels >>
+flabel comment s 32 -554 32 -554 0 FreeSans 280 0 0 0 dnwell.4
+flabel comment s 25 -459 25 -459 0 FreeSans 280 0 0 0 (not_implemented)
+flabel comment s 146 1124 146 1124 0 FreeSans 400 0 0 0 Deep_Nwell
+flabel comment s 1238 944 1238 944 0 FreeSans 280 0 0 0 ERROR:_Incorrect_Implementation
+flabel comment s 2340 -755 2340 -755 0 FreeSans 280 0 0 0 dnwell.5
+flabel comment s 30 -1145 30 -1145 0 FreeSans 280 0 0 0 NOTE:_Why_do_errors_keep_disappearing??
+flabel comment s 15 -628 15 -628 0 FreeSans 280 0 0 0 dnwell.3a
+flabel comment s 15 -699 15 -699 0 FreeSans 280 0 0 0 dnwell.3b
+flabel comment s 13 -771 13 -771 0 FreeSans 280 0 0 0 dnwell.3c
+flabel comment s 28 -850 28 -850 0 FreeSans 280 0 0 0 dnwell.3d
+flabel comment s -32 -172 -32 -172 0 FreeSans 280 0 0 0 dnwell.2
+flabel comment s 1247 369 1247 369 0 FreeSans 280 0 0 0 dnwell.3
+<< end >>
diff --git a/sky130/custom/drc/hvtp.mag b/sky130/custom/drc/hvtp.mag
new file mode 100644
index 0000000..f26d469
--- /dev/null
+++ b/sky130/custom/drc/hvtp.mag
@@ -0,0 +1,59 @@
+magic
+tech sky130A
+timestamp 1602966314
+<< error_p >>
+rect 1696 472 1707 675
+rect 2175 551 2254 560
+<< nwell >>
+rect 693 354 2429 830
+<< pmos >>
+rect 1696 472 1761 675
+rect 2175 551 2254 583
+<< pmoshvt >>
+rect 868 458 947 661
+rect 1013 458 1078 661
+rect 1592 472 1671 675
+rect 2175 471 2254 524
+<< pdiff >>
+rect 798 458 868 661
+rect 947 458 1013 661
+rect 1078 458 1155 661
+rect 1513 472 1592 675
+rect 1671 472 1696 675
+rect 1761 472 1838 675
+rect 2099 551 2175 583
+rect 2254 551 2315 583
+rect 2096 471 2175 524
+rect 2254 471 2312 524
+<< nsubdiff >>
+rect 1280 542 1360 557
+rect 1280 450 1360 465
+<< nsubdiffcont >>
+rect 1280 465 1360 542
+<< poly >>
+rect 868 661 947 716
+rect 1013 661 1078 720
+rect 1592 675 1671 730
+rect 1696 675 1761 734
+rect 2175 583 2254 596
+rect 2175 524 2254 551
+rect 868 403 947 458
+rect 1013 401 1078 458
+rect 1592 417 1671 472
+rect 1696 415 1761 472
+rect 2175 416 2254 471
+<< locali >>
+rect 1280 542 1360 557
+rect 1280 450 1360 465
+<< labels >>
+flabel comment s 146 1124 146 1124 0 FreeSans 400 0 0 0 Hvtp
+flabel comment s -47 423 -44 423 0 FreeSans 280 0 0 0 Correct_by_design
+flabel comment s -36 329 -36 329 0 FreeSans 280 0 0 0 hvtp.1
+flabel comment s -46 255 -46 258 0 FreeSans 280 0 0 0 hvtp.2
+flabel comment s -57 163 -57 164 0 FreeSans 280 0 0 0 hvtp.3
+flabel comment s 835 1140 835 1140 0 FreeSans 280 0 0 0 Use_cif_see_HVTP
+flabel comment s 1679 300 1679 300 0 FreeSans 280 0 0 0 hvtp.4
+flabel comment s 2209 294 2209 294 0 FreeSans 280 0 0 0 hvtp.4
+flabel comment s -64 98 -64 98 0 FreeSans 280 0 0 0 hvtp.5
+flabel comment s -73 21 -73 21 0 FreeSans 280 0 0 0 hvtp.6
+<< end >>
diff --git a/sky130/custom/drc/hvtr.mag b/sky130/custom/drc/hvtr.mag
new file mode 100644
index 0000000..074f3e7
--- /dev/null
+++ b/sky130/custom/drc/hvtr.mag
@@ -0,0 +1,34 @@
+magic
+tech sky130A
+timestamp 1597517613
+<< nwell >>
+rect 693 354 1511 830
+<< pmosmvt >>
+rect 868 458 947 661
+<< pmoshvt >>
+rect 1027 458 1092 661
+<< pdiff >>
+rect 798 458 868 661
+rect 947 458 1027 661
+rect 1092 458 1155 661
+<< nsubdiff >>
+rect 1280 542 1360 557
+rect 1280 450 1360 465
+<< nsubdiffcont >>
+rect 1280 465 1360 542
+<< poly >>
+rect 868 661 947 716
+rect 1027 661 1092 720
+rect 868 403 947 458
+rect 1027 401 1092 458
+<< locali >>
+rect 1280 542 1360 557
+rect 1280 450 1360 465
+<< labels >>
+flabel comment s 835 1140 835 1140 0 FreeSans 280 0 0 0 Use_cif_see_HVTR
+flabel comment s 146 1124 146 1124 0 FreeSans 400 0 0 0 Hvtr
+flabel comment s 266 788 269 788 0 FreeSans 280 0 0 0 Correct_by_design
+flabel comment s 277 694 277 694 0 FreeSans 280 0 0 0 hvtr.1
+flabel comment s 267 620 267 623 0 FreeSans 280 0 0 0 hvtr.2
+flabel comment s 256 528 256 529 0 FreeSans 280 0 0 0 hvtr.3
+<< end >>
diff --git a/sky130/custom/drc/li.mag b/sky130/custom/drc/li.mag
new file mode 100644
index 0000000..972ae90
--- /dev/null
+++ b/sky130/custom/drc/li.mag
@@ -0,0 +1,44 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602966501
+<< error_p >>
+rect 1419 2275 1664 2282
+rect 2097 2235 2343 2245
+rect 2096 2201 2342 2211
+rect 2972 2208 3006 2242
+rect 2667 2191 2683 2207
+rect 2717 2191 2733 2207
+rect 3429 2191 3448 2541
+rect 2683 2175 2699 2183
+rect 2701 2175 2717 2183
+<< poly >>
+rect 2665 2225 2733 2239
+rect 2665 2191 2683 2225
+rect 2717 2191 2733 2225
+rect 2665 2172 2733 2191
+<< polycont >>
+rect 2683 2191 2717 2225
+<< locali >>
+rect 1419 2248 1664 2275
+rect 2097 2235 2343 2272
+rect 2683 2225 2717 2277
+rect 2096 2174 2342 2211
+rect 2972 2208 3006 2242
+rect 2683 2183 2717 2191
+<< rlocali >>
+rect 3390 2191 3429 2541
+<< labels >>
+flabel comment s 2260 2050 2260 2050 0 FreeSans 560 0 0 0 li.3
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 li.1
+flabel comment s 2708 2080 2708 2080 0 FreeSans 560 0 0 0 li.5
+flabel comment s 3017 2100 3017 2100 0 FreeSans 560 0 0 0 li.6
+flabel comment s 3426 2104 3426 2104 0 FreeSans 560 0 0 0 li.7
+flabel comment s 574 2516 580 2516 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 510 2232 510 2232 0 FreeSans 560 0 0 0 licon.4
+flabel comment s 393 3188 393 3188 0 FreeSans 800 0 0 0 Li
+flabel comment s 500 1677 500 1677 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 568 1459 568 1459 0 FreeSans 560 0 0 0 li 1a
+flabel comment s 574 1270 574 1270 0 FreeSans 560 0 0 0 li.2
+flabel comment s 530 1094 530 1094 0 FreeSans 560 0 0 0 li.3a
+<< end >>
diff --git a/sky130/custom/drc/licon.mag b/sky130/custom/drc/licon.mag
new file mode 100644
index 0000000..3ef1606
--- /dev/null
+++ b/sky130/custom/drc/licon.mag
@@ -0,0 +1,466 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602968705
+<< error_p >>
+rect 5750 2820 5758 2832
+rect 5762 2786 5770 2820
+rect 1886 2546 1916 2550
+rect 1700 2540 1730 2544
+rect 1730 2510 1734 2540
+rect 1916 2516 1920 2546
+rect 1692 2356 1722 2360
+rect 1722 2326 1726 2356
+rect 1896 2352 1926 2356
+rect 1926 2322 1930 2352
+rect 1694 2204 1724 2208
+rect 1724 2174 1728 2204
+rect 2216 2194 2286 2626
+rect 3708 2524 3712 2558
+rect 3928 2530 3942 2564
+rect 4992 2490 5026 2492
+rect 4992 2458 5026 2462
+rect 5232 2458 5266 2462
+rect 4374 2432 4408 2434
+rect 5232 2428 5266 2432
+rect 4522 2426 4556 2428
+rect 5752 2418 5760 2430
+rect 4374 2400 4408 2404
+rect 4522 2394 4556 2396
+rect 5764 2384 5772 2418
+rect 2784 2238 2854 2374
+rect 3700 2340 3704 2374
+rect 3938 2336 3952 2370
+rect 4538 2232 4572 2234
+rect 3702 2188 3706 2222
+rect 4538 2200 4572 2204
+rect 5731 1620 5742 1631
+rect 5768 1620 5779 1631
+rect 5759 1557 5779 1607
+rect 5809 1520 5829 1557
+rect 5839 1520 5845 1557
+rect 6229 1519 6232 1567
+rect 6586 1503 6589 1551
+rect 3240 1478 3256 1502
+rect 6942 1500 6944 1547
+rect 2406 1450 2440 1468
+rect 3208 1454 3232 1470
+rect 5720 1465 5731 1476
+rect 5779 1465 5790 1476
+rect 7415 1465 7417 1512
+rect 2382 1410 2394 1444
+rect 2406 1442 2440 1444
+rect 2438 1414 2440 1442
+rect 2406 1410 2440 1414
+rect 2446 1410 2464 1444
+rect 4867 1440 4945 1449
+rect 5105 1436 5183 1444
+rect 1936 1386 1948 1392
+rect 1958 1386 1970 1392
+rect 2406 1386 2440 1406
+rect 1924 1368 1928 1380
+rect 1936 1378 1970 1380
+rect 1978 1368 1982 1380
+rect 1924 1346 1928 1358
+rect 1936 1346 1970 1348
+rect 1978 1346 1982 1358
+rect 1936 1334 1948 1340
+rect 1958 1334 1970 1340
+rect 4476 1324 4492 1330
+rect 4494 1324 4510 1330
+rect 3250 1284 3266 1308
+rect 4460 1298 4466 1314
+rect 4520 1298 4526 1314
+rect 3902 1286 3936 1290
+rect 4460 1280 4466 1296
+rect 4520 1280 4526 1296
+rect 3218 1260 3242 1276
+rect 4476 1264 4492 1270
+rect 4494 1264 4510 1270
+rect 2420 1238 2454 1258
+rect 2396 1200 2406 1234
+rect 2420 1230 2454 1234
+rect 2420 1200 2454 1204
+rect 2464 1200 2478 1234
+rect 1952 1192 1964 1198
+rect 1940 1174 1942 1186
+rect 1952 1184 1986 1186
+rect 2420 1176 2454 1196
+rect 1940 1152 1942 1164
+rect 1952 1152 1986 1156
+rect 1952 1140 1964 1148
+rect 2498 666 2626 682
+<< nwell >>
+rect 5462 2652 6054 2988
+rect 1620 2450 1984 2632
+rect 3584 2466 4034 2634
+rect 4300 2336 4618 2518
+rect 4924 2394 5092 2576
+rect 1714 1288 2032 1470
+rect 2338 1346 2506 1528
+rect 3132 1414 3302 1596
+rect 5025 1330 5287 1700
+rect 5588 1357 5929 1693
+rect 7311 1307 7731 1732
+<< nmos >>
+rect 6229 1463 6285 1621
+rect 7950 1405 7992 2994
+<< scnmos >>
+rect 6942 1444 6998 1602
+<< scpmos >>
+rect 7415 1409 7471 1567
+<< varactor >>
+rect 5731 1465 5779 1620
+<< nmoslvt >>
+rect 6586 1447 6642 1605
+<< ndiff >>
+rect 1674 2356 1744 2378
+rect 1674 2326 1692 2356
+rect 1722 2326 1744 2356
+rect 1674 2306 1744 2326
+rect 3620 2374 3754 2394
+rect 3620 2340 3636 2374
+rect 3670 2340 3700 2374
+rect 3734 2340 3754 2374
+rect 3620 2322 3754 2340
+rect 5584 2322 5760 2496
+rect 4514 2234 4604 2240
+rect 4514 2200 4538 2234
+rect 4572 2200 4604 2234
+rect 4514 2196 4604 2200
+rect 6176 1556 6229 1621
+rect 6176 1519 6185 1556
+rect 6221 1519 6229 1556
+rect 6176 1463 6229 1519
+rect 6285 1463 6348 1621
+rect 6533 1540 6586 1605
+rect 6533 1503 6542 1540
+rect 6578 1503 6586 1540
+rect 6533 1447 6586 1503
+rect 6642 1447 6705 1605
+rect 6889 1537 6942 1602
+rect 6889 1500 6898 1537
+rect 6934 1500 6942 1537
+rect 6889 1444 6942 1500
+rect 6998 1444 7061 1602
+rect 7883 1405 7950 2994
+rect 7992 1405 8098 2994
+rect 1942 1186 2000 1192
+rect 1942 1152 1952 1186
+rect 1986 1152 2000 1186
+rect 1942 1148 2000 1152
+<< pdiff >>
+rect 5582 2722 5758 2896
+rect 1682 2540 1752 2562
+rect 1682 2510 1700 2540
+rect 1730 2510 1752 2540
+rect 1682 2490 1752 2510
+rect 3628 2558 3762 2578
+rect 3628 2524 3644 2558
+rect 3678 2524 3708 2558
+rect 3742 2524 3762 2558
+rect 3628 2506 3762 2524
+rect 4498 2428 4582 2434
+rect 4498 2394 4522 2428
+rect 4556 2394 4582 2428
+rect 4498 2388 4582 2394
+rect 5105 1436 5183 1522
+rect 1928 1380 1978 1386
+rect 1928 1346 1936 1380
+rect 1970 1346 1978 1380
+rect 7362 1502 7415 1567
+rect 7362 1465 7371 1502
+rect 7407 1465 7415 1502
+rect 7362 1409 7415 1465
+rect 7471 1409 7534 1567
+rect 1928 1340 1978 1346
+<< ndiffc >>
+rect 1692 2326 1722 2356
+rect 3636 2340 3670 2374
+rect 3700 2340 3734 2374
+rect 4538 2200 4572 2234
+rect 6185 1519 6221 1556
+rect 6542 1503 6578 1540
+rect 6898 1500 6934 1537
+rect 1952 1152 1986 1186
+<< pdiffc >>
+rect 1700 2510 1730 2540
+rect 3644 2524 3678 2558
+rect 3708 2524 3742 2558
+rect 4522 2394 4556 2428
+rect 1936 1346 1970 1380
+rect 7371 1465 7407 1502
+<< psubdiff >>
+rect 1872 2352 1950 2378
+rect 1872 2322 1896 2352
+rect 1926 2322 1950 2352
+rect 1872 2298 1950 2322
+rect 5204 2462 5294 2466
+rect 3860 2370 3998 2398
+rect 5204 2428 5232 2462
+rect 5266 2428 5294 2462
+rect 5204 2424 5294 2428
+rect 3860 2336 3884 2370
+rect 3918 2336 3938 2370
+rect 3972 2336 3998 2370
+rect 3860 2312 3998 2336
+rect 5760 2418 5936 2496
+rect 5760 2384 5764 2418
+rect 5798 2384 5936 2418
+rect 5760 2322 5936 2384
+rect 4867 1440 4945 1526
+rect 3184 1318 3250 1344
+rect 3184 1284 3208 1318
+rect 3242 1284 3250 1318
+rect 3184 1276 3250 1284
+rect 2406 1234 2464 1238
+rect 2406 1200 2420 1234
+rect 2454 1200 2464 1234
+rect 2406 1196 2464 1200
+rect 2458 666 2668 786
+<< nsubdiff >>
+rect 5758 2820 5934 2896
+rect 5758 2786 5762 2820
+rect 5796 2786 5934 2820
+rect 5758 2722 5934 2786
+rect 1862 2546 1940 2572
+rect 1862 2516 1886 2546
+rect 1916 2516 1940 2546
+rect 1862 2492 1940 2516
+rect 3848 2564 3986 2592
+rect 3848 2530 3874 2564
+rect 3908 2530 3928 2564
+rect 3962 2530 3986 2564
+rect 3848 2506 3986 2530
+rect 4962 2492 5054 2498
+rect 4962 2458 4992 2492
+rect 5026 2458 5054 2492
+rect 4962 2454 5054 2458
+rect 4344 2434 4436 2440
+rect 4344 2400 4374 2434
+rect 4408 2400 4436 2434
+rect 4344 2396 4436 2400
+rect 5101 1637 5188 1662
+rect 5101 1601 5129 1637
+rect 5164 1601 5188 1637
+rect 5101 1577 5188 1601
+rect 3174 1512 3240 1538
+rect 3174 1478 3198 1512
+rect 3232 1478 3240 1512
+rect 3174 1470 3240 1478
+rect 2394 1444 2446 1450
+rect 2394 1410 2406 1444
+rect 2440 1410 2446 1444
+rect 5681 1465 5731 1620
+rect 5779 1557 5847 1620
+rect 5779 1520 5809 1557
+rect 5845 1520 5847 1557
+rect 5779 1465 5847 1520
+rect 2394 1406 2446 1410
+rect 1764 1386 1846 1398
+rect 1764 1352 1788 1386
+rect 1822 1352 1846 1386
+rect 1764 1340 1846 1352
+rect 7621 1519 7691 1549
+rect 7621 1482 7637 1519
+rect 7673 1482 7691 1519
+rect 7621 1457 7691 1482
+<< psubdiffcont >>
+rect 1896 2322 1926 2352
+rect 5232 2428 5266 2462
+rect 3884 2336 3918 2370
+rect 3938 2336 3972 2370
+rect 5764 2384 5798 2418
+rect 3208 1284 3242 1318
+rect 2420 1200 2454 1234
+<< nsubdiffcont >>
+rect 5762 2786 5796 2820
+rect 1886 2516 1916 2546
+rect 3874 2530 3908 2564
+rect 3928 2530 3962 2564
+rect 4992 2458 5026 2492
+rect 4374 2400 4408 2434
+rect 5129 1601 5164 1637
+rect 3198 1478 3232 1512
+rect 2406 1410 2440 1444
+rect 5809 1520 5845 1557
+rect 1788 1352 1822 1386
+rect 7637 1482 7673 1519
+<< poly >>
+rect 7950 2994 7992 3045
+rect 1676 2204 1746 2226
+rect 1676 2174 1694 2204
+rect 1724 2174 1746 2204
+rect 3622 2222 3756 2242
+rect 1676 2154 1746 2174
+rect 3622 2188 3638 2222
+rect 3672 2188 3702 2222
+rect 3736 2188 3756 2222
+rect 3622 2170 3756 2188
+rect 5731 1620 5779 1665
+rect 6229 1621 6285 1692
+rect 5731 1420 5779 1465
+rect 6586 1605 6642 1676
+rect 6229 1417 6285 1463
+rect 6942 1602 6998 1673
+rect 4871 1402 4941 1412
+rect 4871 1368 4887 1402
+rect 4921 1368 4941 1402
+rect 4871 1358 4941 1368
+rect 5109 1397 5179 1407
+rect 6586 1401 6642 1447
+rect 7415 1567 7471 1638
+rect 6942 1398 6998 1444
+rect 5109 1363 5125 1397
+rect 5159 1363 5179 1397
+rect 7415 1363 7471 1409
+rect 5109 1353 5179 1363
+rect 7950 1351 7992 1405
+rect 3886 1320 3956 1340
+rect 3886 1286 3902 1320
+rect 3936 1286 3956 1320
+rect 3886 1280 3956 1286
+rect 4466 1314 4520 1324
+rect 4466 1280 4476 1314
+rect 4510 1280 4520 1314
+rect 4466 1270 4520 1280
+rect 2529 635 2599 646
+rect 2529 601 2545 635
+rect 2579 601 2599 635
+rect 2529 591 2599 601
+<< polycont >>
+rect 1694 2174 1724 2204
+rect 3638 2188 3672 2222
+rect 3702 2188 3736 2222
+rect 4887 1368 4921 1402
+rect 5125 1363 5159 1397
+rect 3902 1286 3936 1320
+rect 4476 1280 4510 1314
+rect 2545 601 2579 635
+<< xpolycontact >>
+rect 2216 2194 2278 2626
+rect 2784 2238 2854 2374
+<< locali >>
+rect 5762 2820 5796 2860
+rect 5762 2752 5796 2786
+rect 1848 2546 1952 2548
+rect 1666 2540 1770 2542
+rect 1666 2510 1700 2540
+rect 1730 2510 1770 2540
+rect 1848 2516 1886 2546
+rect 1916 2516 1952 2546
+rect 1848 2514 1952 2516
+rect 1666 2508 1770 2510
+rect 1658 2356 1762 2358
+rect 1658 2326 1692 2356
+rect 1722 2326 1762 2356
+rect 1658 2324 1762 2326
+rect 1860 2352 1964 2354
+rect 1860 2322 1896 2352
+rect 1926 2322 1964 2352
+rect 1860 2320 1964 2322
+rect 1660 2204 1764 2206
+rect 1660 2174 1694 2204
+rect 1724 2174 1764 2204
+rect 3612 2524 3644 2558
+rect 3678 2524 3708 2558
+rect 3742 2524 3780 2558
+rect 3838 2530 3874 2564
+rect 3908 2530 3928 2564
+rect 3962 2530 3996 2564
+rect 4956 2458 4992 2492
+rect 5026 2458 5060 2492
+rect 4338 2400 4374 2434
+rect 4408 2400 4442 2434
+rect 5198 2428 5232 2462
+rect 5266 2428 5302 2462
+rect 4490 2394 4522 2428
+rect 4556 2394 4594 2428
+rect 5764 2418 5798 2454
+rect 3604 2340 3636 2374
+rect 3670 2340 3700 2374
+rect 3734 2340 3772 2374
+rect 3850 2336 3884 2370
+rect 3918 2336 3938 2370
+rect 3972 2336 4008 2370
+rect 5764 2348 5798 2384
+rect 3606 2188 3638 2222
+rect 3672 2188 3702 2222
+rect 3736 2188 3774 2222
+rect 4506 2200 4538 2234
+rect 4572 2200 4610 2234
+rect 1660 2172 1764 2174
+rect 5088 1637 5220 1638
+rect 5088 1601 5129 1637
+rect 5164 1601 5220 1637
+rect 5809 1557 5845 1593
+rect 3162 1478 3198 1512
+rect 3232 1478 3266 1512
+rect 5809 1487 5845 1520
+rect 6185 1556 6221 1587
+rect 6185 1487 6221 1519
+rect 6542 1540 6578 1571
+rect 6542 1471 6578 1503
+rect 6898 1537 6934 1568
+rect 6898 1468 6934 1500
+rect 7371 1502 7407 1533
+rect 2370 1410 2406 1444
+rect 2440 1410 2474 1444
+rect 7371 1433 7407 1465
+rect 7637 1519 7673 1553
+rect 7637 1441 7673 1482
+rect 1752 1352 1788 1386
+rect 1822 1352 1856 1386
+rect 1904 1346 1936 1380
+rect 1970 1346 2008 1380
+rect 4855 1368 4887 1402
+rect 4921 1368 4959 1402
+rect 5093 1363 5125 1397
+rect 5159 1363 5197 1397
+rect 3174 1284 3208 1318
+rect 3242 1284 3278 1318
+rect 3870 1286 3902 1320
+rect 3936 1286 3974 1320
+rect 4444 1280 4476 1314
+rect 4510 1280 4548 1314
+rect 2386 1200 2420 1234
+rect 2454 1200 2490 1234
+rect 1920 1152 1952 1186
+rect 1986 1152 2024 1186
+rect 2513 601 2545 635
+rect 2579 601 2617 635
+<< labels >>
+flabel comment s 408 552 408 552 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Licon
+flabel comment s 1740 2062 1740 2068 0 FreeSans 560 0 0 0 licon.1
+flabel comment s 2326 2076 2326 2082 0 FreeSans 560 0 0 0 licon.1b
+flabel comment s 2894 2094 2894 2100 0 FreeSans 560 0 0 0 licon.1c
+flabel comment s 3834 2046 3834 2052 0 FreeSans 560 0 0 0 licon.2
+flabel comment s 476 334 476 334 0 FreeSans 560 0 0 0 licon 2b, 2c, 2d
+flabel comment s 4902 2084 4902 2090 0 FreeSans 560 0 0 0 licon.5a
+flabel comment s 5816 2128 5816 2134 0 FreeSans 560 0 0 0 licon.5b
+flabel comment s 2316 1036 2316 1042 0 FreeSans 560 0 0 0 licon.5c
+flabel comment s 3250 1108 3250 1108 0 FreeSans 560 0 0 0 licon.7
+flabel comment s 3926 1108 3926 1108 0 FreeSans 560 0 0 0 licon.8
+flabel comment s 4460 1094 4460 1094 0 FreeSans 560 0 0 0 licon.8a
+flabel comment s 5067 1151 5067 1151 0 FreeSans 560 0 0 0 licon.9
+flabel comment s 5767 1227 5767 1227 0 FreeSans 560 0 0 0 licon.10
+flabel comment s 6300 1265 6300 1265 0 FreeSans 560 0 0 0 licon.11
+flabel comment s 482 145 482 145 0 FreeSans 560 0 0 0 licon 11c, 11d
+flabel comment s 6989 1257 6989 1257 0 FreeSans 560 0 0 0 licon.11a
+flabel comment s 7977 1246 7977 1246 0 FreeSans 560 0 0 0 licon.12
+flabel comment s 8055 3214 8055 3214 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 7526 1216 7526 1216 0 FreeSans 560 0 0 0 licon.11b
+flabel comment s 2632 390 2632 390 0 FreeSans 560 0 0 0 licon.14
+flabel comment s 2628 515 2628 515 0 FreeSans 560 0 0 0 licon.13
+flabel comment s 478 -4 478 -4 0 FreeSans 560 0 0 0 licon.16
+flabel comment s 473 1576 479 1576 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 399 1412 399 1412 0 FreeSans 560 0 0 0 licon.3
+flabel comment s 409 1292 409 1292 0 FreeSans 560 0 0 0 licon.4
+flabel comment s 409 1170 409 1170 0 FreeSans 560 0 0 0 licon.6
+flabel comment s 395 1020 395 1020 0 FreeSans 560 0 0 0 licon.15
+flabel comment s 425 912 425 912 0 FreeSans 560 0 0 0 licon.17
+flabel comment s 440 789 440 789 0 FreeSans 560 0 0 0 licon.18
+flabel comment s 454 -272 454 -272 0 FreeSans 560 0 0 0 Do not understand
+flabel comment s 514 -421 514 -421 0 FreeSans 560 0 0 0 licon.19
+<< end >>
diff --git a/sky130/custom/drc/lvtn.mag b/sky130/custom/drc/lvtn.mag
new file mode 100644
index 0000000..f4bdcd1
--- /dev/null
+++ b/sky130/custom/drc/lvtn.mag
@@ -0,0 +1,177 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602970101
+<< error_p >>
+rect 2560 930 2568 1084
+rect 2712 930 2728 1084
+rect 3332 944 3342 1350
+rect 6336 1206 6390 1346
+rect 6424 1206 6478 1346
+rect 4350 1102 4508 1120
+rect 5978 862 5986 1016
+rect 6130 862 6146 1016
+rect 8238 894 8344 1300
+rect 8602 908 8610 1062
+rect 8754 908 8770 1062
+rect 2504 -782 2512 -628
+rect 2656 -782 2672 -628
+rect 3278 -768 3286 -362
+rect 7904 -422 7912 -268
+rect 8056 -422 8072 -268
+rect 4294 -610 4452 -592
+rect 6524 -652 6578 -500
+rect 6592 -652 6646 -500
+rect 8014 -714 8025 -703
+rect 8137 -714 8148 -703
+rect 6162 -1002 6170 -848
+rect 6314 -1002 6330 -848
+rect 8003 -910 8014 -899
+rect 8148 -910 8159 -899
+<< nwell >>
+rect 1386 708 4858 1660
+rect 5790 704 6980 1762
+rect 7522 686 8866 1638
+rect 7774 -1022 8476 -138
+<< pwell >>
+rect 1326 -1208 5166 -122
+rect 5914 -1224 7104 -166
+<< nmos >>
+rect 3361 -768 3491 -362
+rect 4294 -610 4452 -546
+<< pmos >>
+rect 3415 944 3545 1350
+rect 4350 1102 4508 1166
+<< mvvaractor >>
+rect 8014 -910 8148 -714
+<< pmoslvt >>
+rect 1736 916 1894 1322
+rect 2026 916 2156 1322
+rect 3184 944 3342 1350
+rect 4350 942 4508 1048
+rect 8238 894 8396 1300
+rect 6524 -652 6592 -500
+<< pmoshvt >>
+rect 8116 894 8196 1300
+<< nmoslvt >>
+rect 6336 1206 6424 1346
+rect 1680 -796 1838 -390
+rect 1970 -796 2100 -390
+rect 3128 -768 3286 -362
+rect 4294 -770 4452 -664
+<< ndiff >>
+rect 1540 -796 1680 -390
+rect 1838 -796 1970 -390
+rect 2100 -796 2254 -390
+rect 2970 -768 3128 -362
+rect 3286 -768 3361 -362
+rect 3491 -768 3645 -362
+rect 4142 -610 4294 -546
+rect 4452 -610 4574 -546
+rect 6354 -652 6524 -500
+rect 6592 -652 6796 -500
+rect 4136 -770 4294 -664
+rect 4452 -770 4568 -664
+<< pdiff >>
+rect 1596 916 1736 1322
+rect 1894 916 2026 1322
+rect 2156 916 2310 1322
+rect 3026 944 3184 1350
+rect 3342 944 3415 1350
+rect 3545 944 3699 1350
+rect 6144 1206 6336 1346
+rect 6424 1206 6672 1346
+rect 4198 1102 4350 1166
+rect 4508 1102 4630 1166
+rect 4192 942 4350 1048
+rect 4508 942 4624 1048
+rect 8018 894 8116 1300
+rect 8196 894 8238 1300
+rect 8396 894 8438 1300
+<< psubdiff >>
+rect 2504 -628 2664 -598
+rect 2504 -812 2664 -782
+rect 6162 -848 6322 -818
+rect 6162 -1032 6322 -1002
+<< nsubdiff >>
+rect 2560 1084 2720 1114
+rect 2560 900 2720 930
+rect 5978 1016 6138 1046
+rect 8602 1062 8762 1092
+rect 5978 832 6138 862
+rect 8602 878 8762 908
+rect 7904 -268 8064 -238
+rect 7904 -452 8064 -422
+<< mvnsubdiff >>
+rect 7932 -910 8014 -714
+rect 8148 -910 8230 -714
+<< psubdiffcont >>
+rect 2504 -782 2664 -628
+rect 6162 -1002 6322 -848
+<< nsubdiffcont >>
+rect 2560 930 2720 1084
+rect 5978 862 6138 1016
+rect 8602 908 8762 1062
+rect 7904 -422 8064 -268
+<< poly >>
+rect 1736 1322 1894 1432
+rect 2026 1322 2156 1440
+rect 3184 1350 3342 1460
+rect 3415 1350 3545 1468
+rect 6336 1346 6424 1452
+rect 8116 1300 8196 1408
+rect 8238 1300 8396 1410
+rect 4350 1166 4508 1192
+rect 4350 1048 4508 1102
+rect 6336 1086 6424 1206
+rect 1736 806 1894 916
+rect 2026 802 2156 916
+rect 3184 834 3342 944
+rect 3415 830 3545 944
+rect 4350 832 4508 942
+rect 8116 780 8196 894
+rect 8238 784 8396 894
+rect 1680 -390 1838 -280
+rect 1970 -390 2100 -272
+rect 3128 -362 3286 -252
+rect 3361 -362 3491 -244
+rect 6524 -500 6592 -380
+rect 4294 -546 4452 -520
+rect 4294 -664 4452 -610
+rect 1680 -906 1838 -796
+rect 1970 -910 2100 -796
+rect 3128 -878 3286 -768
+rect 3361 -882 3491 -768
+rect 6524 -752 6592 -652
+rect 8014 -714 8148 -662
+rect 4294 -880 4452 -770
+rect 8014 -962 8148 -910
+<< locali >>
+rect 2560 1084 2720 1114
+rect 8602 1062 8762 1092
+rect 2560 900 2720 930
+rect 5978 1016 6138 1046
+rect 8602 878 8762 908
+rect 5978 832 6138 862
+rect 7904 -268 8064 -238
+rect 7904 -452 8064 -422
+rect 2504 -628 2664 -598
+rect 2504 -812 2664 -782
+rect 6162 -848 6322 -818
+rect 6162 -1032 6322 -1002
+<< labels >>
+flabel comment s -94 846 -88 846 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Lvtn_(Lvtnm)
+flabel comment s -72 658 -72 658 0 FreeSans 560 0 0 0 lvtn.1
+flabel comment s -92 510 -92 516 0 FreeSans 560 0 0 0 lvtn.2
+flabel comment s 1670 2280 1670 2280 0 FreeSans 560 0 0 0 Use_cif_see_LVTN
+flabel comment s 8152 572 8152 572 0 FreeSans 560 0 0 0 lvtn.9
+flabel comment s -114 326 -114 328 0 FreeSans 560 0 0 0 lvtn.3b
+flabel comment s -120 166 -120 166 0 FreeSans 560 0 0 0 lvtn.13
+flabel comment s -140 -12 -140 -12 0 FreeSans 560 0 0 0 lvtn.14
+flabel comment s -144 -188 -144 -188 0 FreeSans 560 0 0 0 lvtn.12
+flabel comment s 3342 587 3342 587 0 FreeSans 560 0 0 0 lvtn.3b
+flabel comment s 4412 616 4412 616 0 FreeSans 560 0 0 0 lvtn.3a
+flabel comment s 3302 -1112 3302 -1112 0 FreeSans 560 0 0 0 lvtn.3b
+flabel comment s 4362 -1124 4362 -1124 0 FreeSans 560 0 0 0 lvtn.3a
+<< end >>
diff --git a/sky130/custom/drc/mcon.mag b/sky130/custom/drc/mcon.mag
new file mode 100644
index 0000000..4475f21
--- /dev/null
+++ b/sky130/custom/drc/mcon.mag
@@ -0,0 +1,39 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602970211
+<< error_p >>
+rect 1530 2301 1564 2305
+rect 2170 2285 2174 2319
+rect 2208 2285 2212 2319
+<< locali >>
+rect 1530 2301 1564 2349
+rect 1530 2237 1564 2271
+rect 2140 2319 2174 2367
+rect 2140 2251 2174 2285
+rect 2208 2319 2242 2367
+rect 2208 2251 2242 2285
+<< viali >>
+rect 1530 2271 1564 2301
+rect 2140 2285 2174 2319
+rect 2208 2285 2242 2319
+<< metal1 >>
+rect 2083 2319 2275 2325
+rect 1473 2301 1629 2307
+rect 1473 2271 1530 2301
+rect 1564 2271 1629 2301
+rect 2083 2285 2140 2319
+rect 2174 2285 2208 2319
+rect 2242 2285 2275 2319
+rect 2083 2279 2275 2285
+rect 1473 2265 1629 2271
+<< labels >>
+flabel comment s 574 2516 580 2516 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 500 1677 500 1677 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 393 3188 393 3188 0 FreeSans 800 0 0 0 Mcon
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 mcon.1
+flabel comment s 2193 2133 2193 2133 0 FreeSans 560 0 0 0 mcon.2
+flabel comment s 510 2232 510 2232 0 FreeSans 560 0 0 0 mcon.3
+flabel comment s 568 1459 568 1459 0 FreeSans 560 0 0 0 mcon.3a
+flabel comment s 536 2059 536 2059 0 FreeSans 560 0 0 0 mcon.4
+<< end >>
diff --git a/sky130/custom/drc/met1.mag b/sky130/custom/drc/met1.mag
new file mode 100644
index 0000000..4bce84d
--- /dev/null
+++ b/sky130/custom/drc/met1.mag
@@ -0,0 +1,68 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602972891
+<< error_p >>
+rect 1419 2270 1664 2276
+rect 2097 2235 2343 2239
+rect 3033 2229 3045 2235
+rect 3055 2229 3067 2235
+rect 2096 2207 2342 2211
+rect 2679 2183 2681 2217
+rect 2711 2183 2713 2217
+rect 3021 2211 3027 2223
+rect 3073 2211 3079 2223
+rect 3554 2208 3588 2242
+rect 3995 2214 4032 2254
+rect 1407 1398 1449 1423
+rect 1407 1342 1449 1367
+rect 3303 1040 3320 1367
+<< locali >>
+rect 2665 2217 2733 2239
+rect 2665 2183 2679 2217
+rect 2713 2183 2733 2217
+rect 2665 2172 2733 2183
+rect 3019 2223 3087 2245
+rect 3019 2189 3033 2223
+rect 3067 2189 3087 2223
+rect 3019 2178 3087 2189
+<< viali >>
+rect 2679 2183 2713 2217
+rect 3033 2189 3067 2223
+<< metal1 >>
+rect 1419 2248 1664 2270
+rect 2097 2235 2343 2272
+rect 2675 2217 2717 2258
+rect 3950 2254 4077 2299
+rect 2096 2174 2342 2211
+rect 2675 2183 2679 2217
+rect 2713 2183 2717 2217
+rect 2675 2160 2717 2183
+rect 3027 2223 3073 2229
+rect 3027 2189 3033 2223
+rect 3067 2189 3073 2223
+rect 3554 2208 3588 2242
+rect 3950 2214 3995 2254
+rect 4032 2214 4077 2254
+rect 3027 2148 3073 2189
+rect 3950 2169 4077 2214
+rect 1449 1433 2149 1583
+rect 1407 1398 2149 1433
+rect 1449 1367 2149 1398
+rect 1407 1332 2149 1367
+rect 1449 883 2149 1332
+rect 2564 866 3264 1566
+rect 3303 1040 3332 1367
+<< labels >>
+flabel comment s 500 1677 500 1677 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 m1.1
+flabel comment s 2260 2050 2260 2050 0 FreeSans 560 0 0 0 m1.2
+flabel comment s 1821 811 1821 811 0 FreeSans 560 0 0 0 m1.3a
+flabel comment s 2974 811 2974 811 0 FreeSans 560 0 0 0 m1.3b
+flabel comment s 2708 2080 2708 2080 0 FreeSans 560 0 0 0 m1.4
+flabel comment s 568 1459 568 1459 0 FreeSans 560 0 0 0 m1.4a
+flabel comment s 3061 2094 3061 2094 0 FreeSans 560 0 0 0 m1.5
+flabel comment s 3599 2100 3599 2100 0 FreeSans 560 0 0 0 m1.6
+flabel comment s 3991 2098 3991 2098 0 FreeSans 560 0 0 0 m1.7
+flabel comment s 493 2348 493 2348 0 FreeSans 800 0 0 0 Met1 (m1)
+<< end >>
diff --git a/sky130/custom/drc/met2.mag b/sky130/custom/drc/met2.mag
new file mode 100644
index 0000000..9540666
--- /dev/null
+++ b/sky130/custom/drc/met2.mag
@@ -0,0 +1,54 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602972891
+<< error_p >>
+rect 1419 2270 1664 2276
+rect 2097 2235 2343 2239
+rect 2096 2207 2342 2211
+rect 3193 2209 3227 2243
+rect 3634 2215 3671 2255
+rect 2673 2183 2679 2189
+rect 2731 2183 2737 2189
+rect 2679 2177 2685 2180
+rect 2725 2177 2731 2180
+rect 1407 1398 1449 1423
+rect 1407 1342 1449 1367
+rect 3303 1040 3320 1367
+<< metal1 >>
+rect 2679 2235 2731 2308
+rect 2679 2180 2731 2183
+<< via1 >>
+rect 2679 2183 2731 2235
+<< metal2 >>
+rect 1419 2248 1664 2270
+rect 2097 2235 2343 2272
+rect 3589 2255 3716 2300
+rect 2096 2174 2342 2211
+rect 2670 2183 2679 2235
+rect 2731 2183 2787 2235
+rect 3193 2209 3227 2243
+rect 3589 2215 3634 2255
+rect 3671 2215 3716 2255
+rect 3589 2170 3716 2215
+rect 1449 1433 2149 1583
+rect 1407 1398 2149 1433
+rect 1449 1367 2149 1398
+rect 1407 1332 2149 1367
+rect 1449 883 2149 1332
+rect 2564 866 3264 1566
+rect 3303 1040 3332 1367
+<< labels >>
+flabel comment s 500 1677 500 1677 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 493 2348 493 2348 0 FreeSans 800 0 0 0 Met2 (m2)
+flabel comment s 568 1459 568 1459 0 FreeSans 560 0 0 0 m2.4a
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 m2.1
+flabel comment s 2260 2050 2260 2050 0 FreeSans 560 0 0 0 m2.2
+flabel comment s 1821 811 1821 811 0 FreeSans 560 0 0 0 m2.3a
+flabel comment s 2974 811 2974 811 0 FreeSans 560 0 0 0 m2.3b
+flabel comment s 505 2126 505 2126 0 FreeSans 560 0 0 0 Correct by design
+flabel comment s 530 2005 530 2005 0 FreeSans 560 0 0 0 m2.4
+flabel comment s 2740 2110 2740 2110 0 FreeSans 560 0 0 0 m2.5
+flabel comment s 3238 2101 3238 2101 0 FreeSans 560 0 0 0 m2.6
+flabel comment s 3630 2099 3630 2099 0 FreeSans 560 0 0 0 m2.7
+<< end >>
diff --git a/sky130/custom/drc/met3.mag b/sky130/custom/drc/met3.mag
new file mode 100644
index 0000000..833d456
--- /dev/null
+++ b/sky130/custom/drc/met3.mag
@@ -0,0 +1,56 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602972891
+<< error_p >>
+rect 1419 2296 1715 2308
+rect 2097 2235 2418 2267
+rect 2679 2239 2688 2248
+rect 2670 2230 2673 2239
+rect 2096 2175 2426 2207
+rect 2670 2183 2673 2192
+rect 3086 2188 3165 2264
+rect 2679 2174 2688 2183
+rect 1375 1398 1449 1418
+rect 1375 1318 1449 1338
+rect 3243 980 3264 1435
+rect 3303 1040 3344 1375
+<< metal2 >>
+rect 2673 2183 2679 2239
+rect 2739 2183 2795 2239
+<< via2 >>
+rect 2679 2183 2739 2239
+<< metal3 >>
+rect 1419 2248 1715 2296
+rect 2097 2235 2418 2299
+rect 2679 2266 2739 2376
+rect 2674 2239 2744 2266
+rect 2096 2141 2426 2207
+rect 2674 2183 2679 2239
+rect 2739 2183 2744 2239
+rect 3086 2188 3165 2264
+rect 3448 2255 3667 2320
+rect 3448 2194 3527 2255
+rect 3587 2194 3667 2255
+rect 2674 2174 2744 2183
+rect 3448 2129 3667 2194
+rect 1449 1461 2149 1583
+rect 1375 1398 2149 1461
+rect 1449 1338 2149 1398
+rect 1375 1275 2149 1338
+rect 1449 883 2149 1275
+rect 2564 866 3264 1566
+rect 3303 1040 3380 1375
+<< labels >>
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 m3.1
+flabel comment s 2260 2050 2260 2050 0 FreeSans 560 0 0 0 m3.2
+flabel comment s 2974 811 2974 811 0 FreeSans 560 0 0 0 m3.3d
+flabel comment s 1821 811 1821 811 0 FreeSans 560 0 0 0 m3.3c
+flabel comment s 2712 2108 2712 2108 0 FreeSans 560 0 0 0 m3.5
+flabel comment s 3131 2080 3131 2080 0 FreeSans 560 0 0 0 m3.6
+flabel comment s 3551 2070 3551 2070 0 FreeSans 560 0 0 0 m3.7
+flabel comment s 3589 2416 3589 2416 0 FreeSans 560 0 0 0 Incorrect
+flabel comment s 700 2120 700 2120 0 FreeSans 560 0 0 0 Correct by design
+flabel comment s 688 2342 688 2342 0 FreeSans 800 0 0 0 Met3 (m3)
+flabel comment s 725 1999 725 1999 0 FreeSans 560 0 0 0 m3.4
+<< end >>
diff --git a/sky130/custom/drc/met4.mag b/sky130/custom/drc/met4.mag
new file mode 100644
index 0000000..832689a
--- /dev/null
+++ b/sky130/custom/drc/met4.mag
@@ -0,0 +1,35 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602972891
+<< error_p >>
+rect 1419 2296 1715 2308
+rect 2097 2235 2418 2267
+rect 2096 2175 2426 2207
+rect 3086 2188 3165 2264
+rect 1375 1398 1449 1418
+rect 1375 1318 1449 1338
+rect 3243 980 3264 1435
+rect 3303 1040 3344 1375
+<< metal4 >>
+rect 1419 2248 1715 2296
+rect 2097 2235 2418 2299
+rect 2096 2141 2426 2207
+rect 3086 2188 3165 2264
+rect 1449 1461 2149 1583
+rect 1375 1398 2149 1461
+rect 1449 1338 2149 1398
+rect 1375 1275 2149 1338
+rect 1449 883 2149 1275
+rect 2564 866 3264 1566
+rect 3303 1040 3380 1375
+<< labels >>
+flabel comment s 700 2120 700 2120 0 FreeSans 560 0 0 0 Correct by design
+flabel comment s 688 2342 688 2342 0 FreeSans 800 0 0 0 Met4 (m4)
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 m4.1
+flabel comment s 2260 2050 2260 2050 0 FreeSans 560 0 0 0 m4.2
+flabel comment s 725 1999 725 1999 0 FreeSans 560 0 0 0 m4.3
+flabel comment s 3131 2080 3131 2080 0 FreeSans 560 0 0 0 m4.4a
+flabel comment s 1821 811 1821 811 0 FreeSans 560 0 0 0 m4.5a
+flabel comment s 2974 811 2974 811 0 FreeSans 560 0 0 0 m4.5b
+<< end >>
diff --git a/sky130/custom/drc/met5.mag b/sky130/custom/drc/met5.mag
new file mode 100644
index 0000000..ed85308
--- /dev/null
+++ b/sky130/custom/drc/met5.mag
@@ -0,0 +1,27 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1599845411
+<< error_p >>
+rect 2292 2691 3017 2913
+rect 1151 2501 1864 2568
+rect 2305 2371 3030 2593
+rect 3537 2272 3902 2644
+rect 2187 1571 2482 1619
+rect 2187 1269 2482 1293
+<< via4 >>
+rect 2187 1269 2482 1595
+<< metal5 >>
+rect 2292 2691 3017 3025
+rect 1151 2248 1864 2501
+rect 2305 2259 3030 2593
+rect 3537 2272 3902 2644
+rect 1935 1269 2187 1595
+rect 2482 1269 2690 1595
+<< labels >>
+flabel comment s 688 2342 688 2342 0 FreeSans 800 0 0 0 Met5 (m5)
+flabel comment s 1549 2081 1549 2081 0 FreeSans 560 0 0 0 m5.1
+flabel comment s 2541 2105 2541 2105 0 FreeSans 560 0 0 0 m5.2
+flabel comment s 3730 2144 3730 2144 0 FreeSans 560 0 0 0 m5.4
+flabel comment s 2340 1136 2340 1136 0 FreeSans 560 0 0 0 m5.3
+<< end >>
diff --git a/sky130/custom/drc/npc.mag b/sky130/custom/drc/npc.mag
new file mode 100644
index 0000000..ece1fde
--- /dev/null
+++ b/sky130/custom/drc/npc.mag
@@ -0,0 +1,69 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1597519380
+<< error_p >>
+rect 1249 1260 1333 1268
+<< nmos >>
+rect 1266 1144 1313 1230
+rect 1499 1144 1529 1230
+rect 1631 1144 1661 1230
+<< ndiff >>
+rect 1185 1144 1266 1230
+rect 1313 1144 1499 1230
+rect 1529 1144 1631 1230
+rect 1661 1144 1721 1230
+<< poly >>
+rect 1233 1347 1349 1357
+rect 1233 1260 1249 1347
+rect 1333 1260 1349 1347
+rect 1233 1250 1349 1260
+rect 1481 1302 1547 1312
+rect 1481 1268 1497 1302
+rect 1531 1268 1547 1302
+rect 1481 1258 1547 1268
+rect 1621 1302 1675 1318
+rect 1621 1268 1631 1302
+rect 1665 1268 1675 1302
+rect 1266 1230 1313 1250
+rect 1499 1230 1529 1258
+rect 1621 1252 1675 1268
+rect 1631 1230 1661 1252
+rect 1932 1214 1998 1224
+rect 1932 1180 1948 1214
+rect 1982 1180 1998 1214
+rect 1932 1170 1998 1180
+rect 1266 1100 1313 1144
+rect 1499 1114 1529 1144
+rect 1631 1114 1661 1144
+rect 1837 1127 1903 1137
+rect 1837 1093 1853 1127
+rect 1887 1093 1903 1127
+rect 1837 1083 1903 1093
+<< polycont >>
+rect 1249 1260 1333 1347
+rect 1497 1268 1531 1302
+rect 1631 1268 1665 1302
+rect 1948 1180 1982 1214
+rect 1853 1093 1887 1127
+<< locali >>
+rect 1193 1260 1249 1347
+rect 1333 1260 1393 1347
+rect 1441 1268 1497 1302
+rect 1531 1268 1631 1302
+rect 1665 1268 1716 1302
+rect 1892 1180 1948 1214
+rect 1982 1180 2042 1214
+rect 1797 1093 1853 1127
+rect 1887 1093 1947 1127
+<< labels >>
+flabel comment s -23 575 -17 575 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s -15 1143 -9 1143 0 FreeSans 560 0 0 0 Not_Implemented
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Nitride_Poly_Cut_(npc)
+flabel comment s 1626 2208 1626 2208 0 FreeSans 560 0 0 0 Use_cif_see_NPC
+flabel comment s -39 354 -39 354 0 FreeSans 560 0 0 0 npc.1
+flabel comment s -19 185 -19 185 0 FreeSans 560 0 0 0 npc.2
+flabel comment s -19 -60 -19 -60 0 FreeSans 560 0 0 0 npc.3
+flabel comment s 1289 907 1289 907 0 FreeSans 560 0 0 0 npc.4
+flabel comment s 23 893 23 893 0 FreeSans 560 0 0 0 npc.5
+<< end >>
diff --git a/sky130/custom/drc/nsd.mag b/sky130/custom/drc/nsd.mag
new file mode 100644
index 0000000..7adb99e
--- /dev/null
+++ b/sky130/custom/drc/nsd.mag
@@ -0,0 +1,95 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602981775
+<< error_p >>
+rect 1389 1491 1406 1610
+rect 1469 1491 1486 1610
+rect 1807 1527 1815 1579
+rect 1851 1527 1867 1579
+rect 1998 1519 2006 1581
+rect 2057 1519 2073 1581
+rect 2487 1476 2523 1606
+rect 2567 1476 2603 1606
+rect 1878 525 1886 577
+rect 1922 525 1938 577
+rect 1443 486 1448 511
+rect 2425 491 2429 516
+rect 2732 492 2740 554
+rect 2791 492 2807 554
+rect 3471 538 3479 590
+rect 3515 538 3531 590
+<< nwell >>
+rect 1134 1328 1911 1772
+rect 1151 348 1976 792
+rect 3212 348 3748 792
+<< ndiff >>
+rect 3723 1631 3986 1742
+rect 2290 1476 2523 1606
+rect 2567 1476 2800 1606
+rect 3723 1565 3818 1631
+rect 3879 1565 3986 1631
+rect 3161 1510 3191 1540
+rect 3723 1465 3986 1565
+rect 2233 516 2404 635
+rect 3816 446 3943 692
+<< pdiff >>
+rect 1234 1491 1406 1610
+rect 1469 1491 1646 1610
+rect 1251 511 1423 630
+rect 3585 443 3712 689
+<< psubdiff >>
+rect 1998 1581 2065 1648
+rect 1998 1456 2065 1519
+rect 2523 1476 2567 1606
+rect 2404 516 2568 635
+rect 2425 453 2568 516
+rect 2732 554 2799 621
+rect 2732 429 2799 492
+rect 3053 451 3186 695
+<< nsubdiff >>
+rect 1406 1491 1469 1610
+rect 1807 1579 1859 1619
+rect 1807 1483 1859 1527
+rect 1423 511 1583 630
+rect 1443 419 1583 511
+rect 1878 577 1930 617
+rect 1878 481 1930 525
+rect 3248 446 3381 690
+rect 3471 590 3523 630
+rect 3471 494 3523 538
+<< psubdiffcont >>
+rect 1998 1519 2065 1581
+rect 2732 492 2799 554
+<< nsubdiffcont >>
+rect 1807 1527 1859 1579
+rect 1878 525 1930 577
+rect 3471 538 3523 590
+<< locali >>
+rect 1807 1579 1859 1619
+rect 1807 1483 1859 1527
+rect 1998 1581 2065 1648
+rect 1998 1456 2065 1519
+rect 1878 577 1930 617
+rect 1878 481 1930 525
+rect 2732 554 2799 621
+rect 3471 590 3523 630
+rect 3471 494 3523 538
+rect 2732 429 2799 492
+<< labels >>
+flabel comment s -23 575 -17 575 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 1626 2208 1626 2208 0 FreeSans 560 0 0 0 Use_cif_see_NPLUS
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 N+_Implant_(nsd)
+flabel comment s 1428 1158 1428 1158 0 FreeSans 560 0 0 0 nsd.1
+flabel comment s 2568 1235 2568 1235 0 FreeSans 560 0 0 0 nsd.2
+flabel comment s 1506 221 1506 221 0 FreeSans 560 0 0 0 nsd.5b
+flabel comment s 2405 266 2405 266 0 FreeSans 560 0 0 0 nsd.5a
+flabel comment s -39 354 -39 354 0 FreeSans 560 0 0 0 nsd.3
+flabel comment s -19 185 -19 185 0 FreeSans 560 0 0 0 nsd.6
+flabel comment s 3560 266 3560 266 0 FreeSans 560 0 0 0 nsd.7
+flabel comment s 3291 1779 3297 1779 0 FreeSans 560 0 0 0 Incorrect
+flabel comment s 3245 1364 3245 1364 0 FreeSans 560 0 0 0 nsd.10a
+flabel comment s 3862 1342 3862 1342 0 FreeSans 560 0 0 0 nsd.11
+flabel comment s -11 -81 -11 -81 0 FreeSans 560 0 0 0 nsd.9
+flabel comment s 15 48 15 48 0 FreeSans 560 0 0 0 nsd.8
+<< end >>
diff --git a/sky130/custom/drc/nwell.mag b/sky130/custom/drc/nwell.mag
new file mode 100644
index 0000000..64b5980
--- /dev/null
+++ b/sky130/custom/drc/nwell.mag
@@ -0,0 +1,86 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602985534
+<< error_p >>
+rect -44 786 32 1648
+rect 2312 938 2458 1798
+rect 3994 922 4884 1732
+rect 1875 -865 2215 -769
+rect 4369 -1187 4763 -377
+<< dnwell >>
+rect 1657 -1285 2421 -659
+rect 3943 -1187 4763 -377
+<< nwell >>
+rect -215 1648 54 1883
+rect -136 786 -44 1648
+rect 1340 938 2204 1798
+rect 2312 938 3198 1798
+rect 3994 922 4884 1732
+rect 1519 -769 2555 -430
+rect 1519 -1073 1875 -769
+rect 2215 -1073 2555 -769
+rect 1519 -1401 2555 -1073
+rect 3815 -1323 4891 -229
+rect 5269 -1147 5959 -433
+<< nsubdiff >>
+rect -168 1822 9 1844
+rect -168 1707 -136 1822
+rect -26 1707 9 1822
+rect -168 1684 9 1707
+rect 1414 1673 1596 1697
+rect 1414 1558 1449 1673
+rect 1559 1558 1596 1673
+rect 1414 1534 1596 1558
+rect 2864 1627 3042 1651
+rect 2864 1512 2901 1627
+rect 3011 1512 3042 1627
+rect 2864 1489 3042 1512
+rect 3864 -314 4047 -289
+rect 3864 -429 3907 -314
+rect 4017 -429 4047 -314
+rect 3864 -458 4047 -429
+rect 1578 -505 1765 -482
+rect 1578 -620 1603 -505
+rect 1713 -620 1765 -505
+rect 1578 -647 1765 -620
+rect 5727 -492 5902 -470
+rect 5727 -607 5758 -492
+rect 5868 -607 5902 -492
+rect 5727 -631 5902 -607
+<< nsubdiffcont >>
+rect -136 1707 -26 1822
+rect 1449 1558 1559 1673
+rect 2901 1512 3011 1627
+rect 3907 -429 4017 -314
+rect 1603 -620 1713 -505
+rect 5758 -607 5868 -492
+<< locali >>
+rect -161 1707 -136 1822
+rect -26 1707 9 1822
+rect -161 1706 9 1707
+rect 1419 1558 1449 1673
+rect 1559 1558 1588 1673
+rect 2872 1627 3039 1628
+rect 2872 1512 2901 1627
+rect 3011 1512 3039 1627
+rect 3867 -429 3907 -314
+rect 4017 -429 4069 -314
+rect 5707 -492 5916 -491
+rect 1558 -620 1603 -505
+rect 1713 -620 1756 -505
+rect 5707 -607 5758 -492
+rect 5868 -607 5916 -492
+rect 5707 -608 5916 -607
+<< labels >>
+flabel comment s 50 -918 50 -918 0 FreeSans 560 0 0 0 (not_implemented)
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Nwell
+flabel comment s 2350 802 2350 802 0 FreeSans 560 0 0 0 nwell.2
+flabel comment s -78 572 -78 572 0 FreeSans 560 0 0 0 nwell.1
+flabel comment s 64 -1108 64 -1108 0 FreeSans 560 0 0 0 nwell.2b
+flabel comment s 4340 762 4340 762 0 FreeSans 560 0 0 0 nwell.4
+flabel comment s 58 -1252 58 -1252 0 FreeSans 560 0 0 0 nwell.5a
+flabel comment s 34 -1390 34 -1390 0 FreeSans 560 0 0 0 nwell.5b
+flabel comment s 1983 -1497 1983 -1497 0 FreeSans 560 0 0 0 nwell.6
+flabel comment s 4397 -1443 4397 -1443 0 FreeSans 560 0 0 0 nwell.7
+<< end >>
diff --git a/sky130/custom/drc/pad.mag b/sky130/custom/drc/pad.mag
new file mode 100644
index 0000000..bbf9323
--- /dev/null
+++ b/sky130/custom/drc/pad.mag
@@ -0,0 +1,17 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1599845824
+<< error_p >>
+rect 3183 2163 3389 3664
+rect 3503 2169 3709 3670
+<< padl >>
+rect 1936 2163 3389 3664
+rect 3503 2169 4956 3670
+<< labels >>
+flabel comment s 688 2342 688 2342 0 FreeSans 800 0 0 0 Pad
+flabel comment s 775 1925 775 1925 0 FreeSans 640 0 0 0 Not implemented
+flabel comment s 817 1656 817 1656 0 FreeSans 560 0 0 0 pad.3
+flabel comment s 3413 2012 3413 2012 0 FreeSans 560 0 0 0 pad.2
+flabel comment s 3515 1696 3515 1696 0 FreeSans 640 0 0 0 Need to check rule
+<< end >>
diff --git a/sky130/custom/drc/poly.mag b/sky130/custom/drc/poly.mag
new file mode 100644
index 0000000..d76b0f6
--- /dev/null
+++ b/sky130/custom/drc/poly.mag
@@ -0,0 +1,259 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602986603
+<< error_p >>
+rect 2706 2412 2720 2414
+rect 1260 1970 1274 2220
+rect 1920 2052 1940 2342
+rect 2407 2076 2408 2230
+rect 2748 1970 2762 2412
+rect 3198 2032 3226 2444
+rect 3464 2038 3502 2464
+rect 3754 2050 3792 2476
+rect 4226 2462 4233 2598
+rect 5003 2570 5006 2581
+rect 5014 2474 5017 2570
+rect 4224 2154 4233 2314
+rect 5001 2254 5006 2265
+rect 5012 2158 5017 2254
+rect 1780 978 1790 1292
+rect 1840 978 1844 1292
+rect 3012 1288 3058 1302
+rect 2508 962 2534 1276
+rect 3574 896 3641 950
+rect 3846 902 3916 950
+rect 4190 896 4262 950
+rect 4950 941 4994 942
+rect 4949 940 4994 941
+rect 4950 939 4951 940
+rect 5538 926 5539 927
+rect 5537 925 5538 926
+rect 5530 894 5531 895
+rect 5529 893 5530 894
+rect 4950 856 4994 858
+rect 3004 738 3050 752
+rect 1768 398 1778 712
+rect 1828 398 1832 712
+rect 2496 382 2522 696
+rect 5560 506 5561 507
+rect 5559 505 5560 506
+rect 5552 474 5553 475
+rect 5551 473 5552 474
+rect 4918 435 4962 436
+rect 4917 434 4962 435
+rect 4918 433 4919 434
+rect 4918 350 4962 352
+rect 3509 277 3736 317
+rect 3750 277 4012 339
+rect 4094 277 4269 333
+rect 3574 -191 3640 -150
+rect 3846 -185 3916 -150
+rect 4190 -191 4262 -150
+rect 3672 -515 4054 -509
+rect 3672 -590 4289 -515
+rect 3529 -622 4289 -590
+rect 3556 -1099 3622 -1045
+rect 3828 -1093 3898 -985
+rect 4172 -1099 4244 -985
+<< nwell >>
+rect 1554 2556 2344 2558
+rect 1554 1794 2462 2556
+rect 4042 2410 5440 2752
+rect 2178 1792 2462 1794
+rect 1586 824 3232 1414
+rect 4566 1150 5554 1152
+rect 4566 720 5780 1150
+rect 5202 718 5780 720
+rect 3490 -664 4362 -199
+<< nmos >>
+rect 1732 398 1778 712
+rect 2546 382 2592 696
+rect 3004 412 3050 726
+rect 4830 434 4918 486
+rect 4830 352 4962 434
+rect 5560 506 5592 558
+rect 5520 474 5592 506
+rect 5520 416 5552 474
+<< pmos >>
+rect 1744 978 1790 1292
+rect 2558 962 2604 1276
+rect 3012 962 3058 1276
+rect 4862 940 4950 992
+rect 4862 858 4994 940
+rect 5538 926 5570 978
+rect 5498 894 5570 926
+rect 5498 836 5530 894
+<< pmoslvt >>
+rect 1870 2052 1920 2342
+<< ndiff >>
+rect 4224 2154 4434 2314
+rect 1670 398 1732 712
+rect 1778 398 1828 712
+rect 2522 382 2546 696
+rect 2592 382 2644 696
+rect 2952 412 3004 726
+rect 3050 412 3102 726
+rect 4778 352 4830 486
+rect 4962 352 5014 434
+rect 5468 506 5560 558
+rect 5468 416 5520 506
+rect 5592 474 5704 558
+rect 5552 416 5704 474
+rect 3526 -1287 4286 -1141
+<< pdiff >>
+rect 1730 2052 1870 2342
+rect 1920 2052 2012 2342
+rect 4226 2462 4438 2598
+rect 1682 978 1744 1292
+rect 1790 978 1840 1292
+rect 2534 962 2558 1276
+rect 2604 962 2656 1276
+rect 2960 962 3012 1276
+rect 3058 962 3110 1276
+rect 4810 858 4862 992
+rect 4994 858 5046 940
+rect 5446 926 5538 978
+rect 5446 836 5498 926
+rect 5570 894 5682 978
+rect 5530 836 5682 894
+rect 3544 -379 4304 -246
+<< psubdiff >>
+rect 5012 2158 5182 2254
+rect 1828 604 2166 712
+rect 1828 492 2036 604
+rect 2144 492 2166 604
+rect 1828 398 2166 492
+rect 4583 482 4677 511
+rect 3509 277 4269 423
+rect 4583 418 4600 482
+rect 4664 418 4677 482
+rect 4583 386 4677 418
+rect 5224 480 5318 509
+rect 5224 416 5236 480
+rect 5300 416 5318 480
+rect 5224 384 5318 416
+<< nsubdiff >>
+rect 2238 2230 2415 2276
+rect 2238 2076 2248 2230
+rect 2408 2076 2415 2230
+rect 2238 2031 2415 2076
+rect 4632 2540 4716 2567
+rect 4632 2476 4640 2540
+rect 4704 2476 4716 2540
+rect 4632 2450 4716 2476
+rect 5014 2474 5184 2570
+rect 1840 1184 2178 1292
+rect 1840 1072 2048 1184
+rect 2156 1072 2178 1184
+rect 1840 978 2178 1072
+rect 4621 988 4706 1021
+rect 4621 924 4632 988
+rect 4696 924 4706 988
+rect 4621 896 4706 924
+rect 5253 986 5347 1017
+rect 5253 922 5268 986
+rect 5332 922 5347 986
+rect 5253 892 5347 922
+rect 3529 -510 4289 -476
+rect 3529 -586 4140 -510
+rect 4215 -586 4289 -510
+rect 3529 -622 4289 -586
+<< psubdiffcont >>
+rect 2036 492 2144 604
+rect 4600 418 4664 482
+rect 5236 416 5300 480
+<< nsubdiffcont >>
+rect 2248 2076 2408 2230
+rect 4640 2476 4704 2540
+rect 2048 1072 2156 1184
+rect 4632 924 4696 988
+rect 5268 922 5332 986
+rect 4140 -586 4215 -510
+<< poly >>
+rect 1870 2342 1920 2452
+rect 1244 1970 1260 2220
+rect 1870 1946 1920 2052
+rect 2638 1970 2720 2414
+rect 2748 1968 2830 2412
+rect 4140 2062 4218 2759
+rect 4928 2076 5006 2789
+rect 1744 1292 1790 1360
+rect 2558 1276 2604 1344
+rect 3012 1276 3058 1288
+rect 1744 928 1790 978
+rect 2558 912 2604 962
+rect 3012 912 3058 962
+rect 4862 992 4994 1018
+rect 4950 940 4994 992
+rect 5538 978 5570 1016
+rect 1732 712 1778 780
+rect 2546 696 2592 764
+rect 3004 726 3050 738
+rect 1732 348 1778 398
+rect 3544 708 4304 854
+rect 4862 808 4994 858
+rect 5498 806 5530 836
+rect 5560 558 5592 596
+rect 4830 486 4962 512
+rect 2546 332 2592 382
+rect 3004 362 3050 412
+rect 4918 434 4962 486
+rect 5520 386 5552 416
+rect 4830 302 4962 352
+<< npolyres >>
+rect 3160 2032 3198 2444
+rect 3574 896 3641 1308
+rect 3574 -191 3640 221
+rect 3556 -1099 3622 -686
+<< ppolyres >>
+rect 3432 2038 3464 2464
+rect 3846 902 3916 1330
+rect 3846 -185 3916 243
+rect 3828 -1093 3898 -665
+<< xpolyres >>
+rect 3722 2050 3754 2476
+rect 4190 896 4262 1324
+rect 4190 -191 4262 237
+rect 4172 -1099 4244 -671
+<< locali >>
+rect 4640 2540 4704 2564
+rect 4640 2452 4704 2476
+rect 2248 2230 2408 2270
+rect 2248 2040 2408 2076
+rect 2048 1184 2156 1204
+rect 2048 1046 2156 1072
+rect 4632 988 4696 1012
+rect 4632 900 4696 924
+rect 5268 986 5332 1010
+rect 5268 898 5332 922
+rect 2036 604 2144 624
+rect 2036 466 2144 492
+rect 4600 482 4664 506
+rect 4600 394 4664 418
+rect 5236 480 5300 504
+rect 5236 392 5300 416
+rect 4102 -510 4264 -508
+rect 4102 -586 4140 -510
+rect 4215 -586 4264 -510
+rect 4102 -589 4264 -586
+<< labels >>
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Poly
+flabel comment s 1878 1862 1878 1862 0 FreeSans 560 0 0 0 poly.1b
+flabel comment s 1272 1850 1272 1850 0 FreeSans 560 0 0 0 poly.1a
+flabel comment s 2766 1836 2766 1842 0 FreeSans 560 0 0 0 poly.2
+flabel comment s 3482 1892 3482 1894 0 FreeSans 560 0 0 0 poly.3
+flabel comment s 4264 1904 4264 1904 0 FreeSans 560 0 0 0 poly.4
+flabel comment s 5030 1944 5030 1944 0 FreeSans 560 0 0 0 poly.5
+flabel comment s 484 1360 490 1360 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 1874 236 1874 242 0 FreeSans 560 0 0 0 poly.6
+flabel comment s 2612 244 2612 250 0 FreeSans 560 0 0 0 poly.7
+flabel comment s 3090 248 3090 254 0 FreeSans 560 0 0 0 poly.8
+flabel comment s 3916 482 3916 488 0 FreeSans 560 0 0 0 poly.9
+flabel comment s 4792 200 4792 200 0 FreeSans 560 0 0 0 poly.10
+flabel comment s 5428 198 5428 198 0 FreeSans 560 0 0 0 poly.11
+flabel comment s 410 1196 410 1196 0 FreeSans 560 0 0 0 poly.12
+flabel comment s 376 1026 376 1026 0 FreeSans 560 0 0 0 poly.15
+flabel comment s 408 552 408 552 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 476 334 476 334 0 FreeSans 560 0 0 0 poly.16
+<< end >>
diff --git a/sky130/custom/drc/psd.mag b/sky130/custom/drc/psd.mag
new file mode 100644
index 0000000..1e2cdc9
--- /dev/null
+++ b/sky130/custom/drc/psd.mag
@@ -0,0 +1,97 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602981889
+<< error_p >>
+rect 3687 1776 4022 1778
+rect 3723 1740 3986 1742
+rect 1389 1491 1406 1610
+rect 1469 1491 1486 1610
+rect 1807 1527 1815 1579
+rect 1851 1527 1867 1579
+rect 1998 1519 2006 1581
+rect 2057 1519 2073 1581
+rect 2487 1476 2523 1606
+rect 2567 1476 2603 1606
+rect 1878 525 1886 577
+rect 1922 525 1938 577
+rect 1438 486 1448 511
+rect 2420 491 2429 516
+rect 2732 492 2740 554
+rect 2791 492 2807 554
+rect 3441 538 3449 590
+rect 3485 538 3501 590
+<< nwell >>
+rect 1922 1322 4125 1776
+rect 2098 348 3210 792
+rect 3750 350 4194 794
+<< ndiff >>
+rect 1234 1491 1406 1610
+rect 1469 1491 1646 1610
+rect 1251 511 1423 630
+rect 3555 443 3682 689
+<< pdiff >>
+rect 3723 1631 3986 1742
+rect 2290 1476 2523 1606
+rect 2567 1476 2800 1606
+rect 3723 1565 3818 1631
+rect 3879 1565 3986 1631
+rect 3161 1510 3191 1540
+rect 3723 1465 3986 1565
+rect 2233 516 2404 635
+rect 3786 446 3913 692
+<< psubdiff >>
+rect 1406 1491 1469 1610
+rect 1807 1579 1859 1619
+rect 1807 1483 1859 1527
+rect 1423 511 1578 630
+rect 1438 419 1578 511
+rect 1878 577 1930 617
+rect 1878 481 1930 525
+rect 3236 446 3369 690
+rect 3441 590 3493 630
+rect 3441 494 3493 538
+<< nsubdiff >>
+rect 1998 1581 2065 1648
+rect 1998 1456 2065 1519
+rect 2523 1476 2567 1606
+rect 2404 516 2563 635
+rect 2420 453 2563 516
+rect 2732 554 2799 621
+rect 2732 429 2799 492
+rect 3041 451 3174 695
+<< psubdiffcont >>
+rect 1807 1527 1859 1579
+rect 1878 525 1930 577
+rect 3441 538 3493 590
+<< nsubdiffcont >>
+rect 1998 1519 2065 1581
+rect 2732 492 2799 554
+<< locali >>
+rect 1807 1579 1859 1619
+rect 1807 1483 1859 1527
+rect 1998 1581 2065 1648
+rect 1998 1456 2065 1519
+rect 1878 577 1930 617
+rect 1878 481 1930 525
+rect 2732 554 2799 621
+rect 3441 590 3493 630
+rect 3441 494 3493 538
+rect 2732 429 2799 492
+<< labels >>
+flabel comment s 3291 1779 3297 1779 0 FreeSans 560 0 0 0 Incorrect
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 P+_Implant_(psd)
+flabel comment s 1428 1158 1428 1158 0 FreeSans 560 0 0 0 psd.1
+flabel comment s 2568 1235 2568 1235 0 FreeSans 560 0 0 0 psd.2
+flabel comment s 3245 1364 3245 1364 0 FreeSans 560 0 0 0 psd.10a
+flabel comment s 3862 1342 3862 1342 0 FreeSans 560 0 0 0 psd.11
+flabel comment s 1506 221 1506 221 0 FreeSans 560 0 0 0 psd.5b
+flabel comment s 2405 266 2405 266 0 FreeSans 560 0 0 0 psd.5a
+flabel comment s 3560 266 3560 266 0 FreeSans 560 0 0 0 psd.7
+flabel comment s 1626 2208 1626 2208 0 FreeSans 560 0 0 0 Use_cif_see_PPLUS
+flabel comment s 165 1261 171 1261 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 169 871 169 871 0 FreeSans 560 0 0 0 psd.6
+flabel comment s 149 1040 149 1040 0 FreeSans 560 0 0 0 psd.3
+flabel comment s 178 603 178 603 0 FreeSans 560 0 0 0 psd.9
+flabel comment s 173 758 173 758 0 FreeSans 560 0 0 0 psd.8
+<< end >>
diff --git a/sky130/custom/drc/rpm.mag b/sky130/custom/drc/rpm.mag
new file mode 100644
index 0000000..7d243b5
--- /dev/null
+++ b/sky130/custom/drc/rpm.mag
@@ -0,0 +1,92 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602987013
+<< error_p >>
+rect 1080 986 1150 1418
+rect 1130 886 1150 986
+rect 1080 454 1150 886
+rect 2208 462 2226 1426
+rect 2848 1244 2908 1400
+rect 3004 708 3064 1244
+rect 3889 1039 3910 1135
+rect 5046 1049 5073 1215
+rect 3985 814 4006 1039
+rect 4424 961 4494 1041
+rect 5212 769 5239 1049
+<< mvnmos >>
+rect 5212 833 5297 990
+<< ndiff >>
+rect 3004 708 3292 1244
+<< mvndiff >>
+rect 5212 990 5297 1049
+rect 5212 769 5297 833
+<< psubdiff >>
+rect 3346 1006 3424 1031
+rect 3346 942 3355 1006
+rect 3415 942 3424 1006
+rect 3346 918 3424 942
+<< mvpsubdiff >>
+rect 5401 936 5472 961
+rect 5401 883 5409 936
+rect 5463 883 5472 936
+rect 5401 858 5472 883
+<< psubdiffcont >>
+rect 3355 942 3415 1006
+<< mvpsubdiffcont >>
+rect 5409 883 5463 936
+<< poly >>
+rect 3985 814 4039 1039
+rect 4424 961 4494 1194
+rect 5178 833 5212 990
+rect 5297 833 5330 990
+<< xpolycontact >>
+rect 1080 986 1130 1418
+rect 1080 454 1130 886
+rect 1908 992 1978 1424
+rect 1908 460 1978 892
+rect 2208 994 2278 1426
+rect 2208 462 2278 894
+rect 2838 1010 2908 1442
+rect 2838 478 2908 910
+rect 3840 994 3910 1426
+rect 3840 462 3910 894
+rect 5003 979 5073 1411
+rect 5003 447 5073 879
+<< ppolyres >>
+rect 1080 886 1130 986
+rect 1908 892 1978 992
+rect 2208 894 2278 994
+rect 2838 910 2908 1010
+rect 3840 894 3910 994
+rect 4424 861 4494 961
+rect 5003 879 5073 979
+<< locali >>
+rect 3355 1006 3415 1030
+rect 3355 918 3415 942
+rect 5409 936 5463 961
+rect 5409 859 5463 883
+<< labels >>
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 P+_Poly_Resistor_(rpm)
+flabel comment s 1670 2280 1670 2280 0 FreeSans 560 0 0 0 Use_cif_see_RPM
+flabel comment s -200 1168 -200 1168 0 FreeSans 560 0 0 0 rpm.1
+flabel comment s -84 1324 -78 1324 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 1778 2112 1778 2112 0 FreeSans 560 0 0 0 Use_cif_see_POLYRES
+flabel comment s 1634 1892 1634 1892 0 FreeSans 560 0 0 0 Use_cif_see_CONT
+flabel comment s 2098 358 2098 358 0 FreeSans 560 0 0 0 rpm.2
+flabel comment s 2084 206 2084 206 0 FreeSans 560 0 0 0 rpm.3
+flabel comment s -210 1020 -210 1020 0 FreeSans 560 0 0 0 rpm.4
+flabel comment s 1640 1692 1640 1692 0 FreeSans 560 0 0 0 Use_cif_see_PPLUS
+flabel comment s 1654 1538 1654 1538 0 FreeSans 560 0 0 0 Use_cif_see_NPC
+flabel comment s -206 882 -206 882 0 FreeSans 560 0 0 0 rpm.5
+flabel comment s 2986 400 2986 400 0 FreeSans 560 0 0 0 rpm.6
+flabel comment s 3909 367 3909 367 0 FreeSans 560 0 0 0 rpm.7
+flabel comment s 4452 685 4452 685 0 FreeSans 560 0 0 0 rpm.8
+flabel comment s 5410 479 5410 479 0 FreeSans 560 0 0 0 rpm.9
+flabel comment s -76 1892 -70 1892 0 FreeSans 560 0 0 0 Not_Implemented
+flabel comment s -173 1762 -173 1762 0 FreeSans 560 0 0 0 rpm.10
+flabel comment s -173 1621 -173 1621 0 FreeSans 560 0 0 0 rpm.11
+flabel comment s 1183 338 1183 338 0 FreeSans 560 0 0 0 rpm.1b
+flabel comment s 986 130 986 130 0 FreeSans 560 0 0 0 NOTE:
+flabel comment s 1268 -28 1268 -28 0 FreeSans 560 0 0 0 discrete_widths_not_checked
+<< end >>
diff --git a/sky130/custom/drc/tunm.mag b/sky130/custom/drc/tunm.mag
new file mode 100644
index 0000000..59227e4
--- /dev/null
+++ b/sky130/custom/drc/tunm.mag
@@ -0,0 +1,108 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602984771
+<< error_p >>
+rect 8153 2168 8261 2177
+rect 7939 1954 8153 1963
+rect 2476 1096 2484 1250
+rect 2628 1096 2644 1250
+rect 3252 1110 3258 1516
+rect 4266 1332 4424 1342
+rect 4114 1258 4546 1268
+rect 4266 1248 4424 1258
+rect 5694 1058 6154 1464
+rect 7230 1054 7690 1460
+rect 1942 770 1972 812
+rect 1942 698 1972 740
+rect 7899 190 7979 193
+<< dnwell >>
+rect 7661 2168 8153 2177
+rect 890 206 5190 2104
+rect 6796 279 8153 2168
+rect 6796 270 7899 279
+<< nwell >>
+rect 7661 2262 8247 2271
+rect 790 1890 5284 2198
+rect 790 428 1098 1890
+rect 4976 428 5284 1890
+rect 790 120 5284 428
+rect 6702 1963 8247 2262
+rect 6702 1954 7899 1963
+rect 6702 492 7010 1954
+rect 7939 501 8247 1963
+rect 7661 492 8247 501
+rect 6702 193 8247 492
+rect 6702 184 7899 193
+<< nmos >>
+rect 3302 1110 3432 1516
+rect 4266 1258 4424 1332
+<< nsonos >>
+rect 1652 1082 1810 1488
+rect 1942 1082 2072 1488
+rect 3100 1110 3258 1516
+rect 4266 1108 4424 1214
+rect 5852 1058 6010 1464
+rect 7388 1054 7546 1460
+rect 1942 740 1972 770
+<< ndiff >>
+rect 1512 1082 1652 1488
+rect 1810 1082 1942 1488
+rect 2072 1082 2226 1488
+rect 2942 1110 3100 1516
+rect 3258 1110 3302 1516
+rect 3432 1110 3586 1516
+rect 4114 1258 4266 1332
+rect 4424 1258 4546 1332
+rect 4108 1108 4266 1214
+rect 4424 1108 4540 1214
+rect 5694 1058 5852 1464
+rect 6010 1058 6154 1464
+rect 7230 1054 7388 1460
+rect 7546 1054 7690 1460
+rect 1852 740 1942 770
+rect 1972 740 2068 770
+<< psubdiff >>
+rect 2476 1250 2636 1280
+rect 2476 1066 2636 1096
+<< psubdiffcont >>
+rect 2476 1096 2636 1250
+<< poly >>
+rect 1652 1488 1810 1598
+rect 1942 1488 2072 1606
+rect 3100 1516 3258 1626
+rect 3302 1516 3432 1634
+rect 5852 1464 6010 1574
+rect 4266 1332 4424 1358
+rect 4266 1214 4424 1258
+rect 1652 972 1810 1082
+rect 1942 968 2072 1082
+rect 3100 1000 3258 1110
+rect 3302 996 3432 1110
+rect 4266 998 4424 1108
+rect 7388 1460 7546 1570
+rect 1942 770 1972 968
+rect 5852 948 6010 1058
+rect 7388 944 7546 1054
+rect 1942 682 1972 740
+<< locali >>
+rect 2476 1250 2636 1280
+rect 2476 1066 2636 1096
+<< labels >>
+flabel comment s -94 846 -88 846 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Tunnel_(Tunm)
+flabel comment s 1670 2280 1670 2280 0 FreeSans 560 0 0 0 Use_cif_see_SONOS
+flabel comment s -72 658 -72 658 0 FreeSans 560 0 0 0 tunm.1
+flabel comment s -92 510 -92 516 0 FreeSans 560 0 0 0 tunm.2
+flabel comment s -114 326 -114 328 0 FreeSans 560 0 0 0 tunm.3
+flabel comment s -116 178 -116 178 0 FreeSans 560 0 0 0 tunm.4
+flabel comment s -120 38 -120 38 0 FreeSans 560 0 0 0 tunm.5
+flabel comment s 5920 756 5920 756 0 FreeSans 560 0 0 0 tunm.6a
+flabel comment s 1952 564 1952 564 0 FreeSans 560 0 0 0 tunm.7
+flabel comment s 1954 868 1954 868 0 FreeSans 560 0 0 0 Incorrect
+flabel comment s -134 -80 -134 -80 0 FreeSans 560 0 0 0 tunm.8
+flabel comment s 3538 2298 3538 2298 0 FreeSans 560 0 0 0 Use_cif_see_COREID_for_tunm.8
+flabel comment s 7405 668 7405 668 0 FreeSans 560 0 0 0 tunm.8
+<< properties >>
+string FIXED_BBOX 785 110 6460 2201
+<< end >>
diff --git a/sky130/custom/drc/varac.mag b/sky130/custom/drc/varac.mag
new file mode 100644
index 0000000..420b53d
--- /dev/null
+++ b/sky130/custom/drc/varac.mag
@@ -0,0 +1,129 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1602989408
+<< error_p >>
+rect 1653 869 1661 964
+rect 1741 869 1757 964
+rect 2554 707 2560 1080
+rect 3737 975 3777 1101
+rect 6208 1032 6325 1076
+rect 7217 1032 7226 1036
+rect 2901 850 2909 945
+rect 2989 850 3005 945
+rect 3737 737 3777 848
+rect 4115 828 4123 923
+rect 4203 828 4219 923
+rect 5299 833 5307 928
+rect 5433 833 5445 972
+rect 7130 897 7138 992
+rect 7218 897 7234 992
+rect 7271 872 7280 1032
+rect 8808 872 8816 967
+rect 8896 872 8912 967
+<< nwell >>
+rect 879 452 1792 1358
+rect 2127 433 3040 1339
+rect 3341 1032 5972 1317
+rect 6674 1032 7747 1317
+rect 3341 411 7747 1032
+rect 8102 411 9058 1317
+<< varactor >>
+rect 1199 726 1306 1099
+rect 2524 707 2554 1080
+rect 3737 901 3777 937
+rect 4433 774 4490 938
+rect 5433 808 5490 972
+rect 6238 821 6295 985
+rect 7417 868 7474 1032
+rect 8289 855 8346 1019
+<< pdiff >>
+rect 8500 843 8621 1029
+<< nsubdiff >>
+rect 1047 726 1199 1099
+rect 1306 726 1450 1099
+rect 1653 964 1749 989
+rect 1653 844 1749 869
+rect 2372 707 2524 1080
+rect 2554 707 2698 1080
+rect 2901 945 2997 970
+rect 3585 901 3737 937
+rect 3777 901 3921 937
+rect 4115 923 4211 948
+rect 7130 992 7226 1036
+rect 2901 825 2997 850
+rect 4115 803 4211 828
+rect 4376 774 4433 938
+rect 4490 774 4572 938
+rect 5299 928 5433 972
+rect 5395 833 5433 928
+rect 5299 808 5433 833
+rect 5490 808 5572 972
+rect 6181 821 6238 985
+rect 6295 821 6377 985
+rect 7130 872 7226 897
+rect 7271 988 7417 1032
+rect 7367 893 7417 988
+rect 7271 868 7417 893
+rect 7474 868 7556 1032
+rect 8223 855 8289 1019
+rect 8346 855 8428 1019
+rect 8808 967 8904 1011
+rect 8808 847 8904 872
+<< nsubdiffcont >>
+rect 1653 869 1749 964
+rect 2901 850 2997 945
+rect 4115 828 4211 923
+rect 5299 833 5395 928
+rect 7130 897 7226 992
+rect 7271 893 7367 988
+rect 8808 872 8904 967
+<< poly >>
+rect 1199 1099 1306 1259
+rect 2524 1080 2554 1240
+rect 1199 566 1306 726
+rect 3737 937 3777 975
+rect 4433 938 4490 999
+rect 5433 972 5490 1033
+rect 6238 985 6295 1046
+rect 7417 1032 7474 1093
+rect 3737 848 3777 901
+rect 8289 1019 8346 1080
+rect 7417 825 7474 868
+rect 4433 731 4490 774
+rect 5433 765 5490 808
+rect 6238 778 6295 821
+rect 8289 812 8346 855
+rect 2524 547 2554 707
+<< locali >>
+rect 7130 992 7226 1036
+rect 1653 964 1749 989
+rect 1653 844 1749 869
+rect 2901 945 2997 970
+rect 2901 825 2997 850
+rect 4115 923 4211 948
+rect 4115 803 4211 828
+rect 5299 928 5395 972
+rect 7130 872 7226 897
+rect 7271 988 7367 1032
+rect 7271 868 7367 893
+rect 8808 967 8904 1011
+rect 8808 847 8904 872
+rect 5299 808 5395 833
+<< labels >>
+flabel comment s 1390 1492 1396 1492 0 FreeSans 560 0 0 0 Incorrect:_flags_poly.5
+flabel comment s 2547 304 2547 304 0 FreeSans 560 0 0 0 varac.1
+flabel comment s 292 2248 292 2248 0 FreeSans 800 0 0 0 Varactor_(varac)
+flabel comment s 3761 282 3761 282 0 FreeSans 560 0 0 0 varac.2
+flabel comment s 1626 2208 1626 2208 0 FreeSans 560 0 0 0 Use_cif_see_NPLUS
+flabel comment s 3202 2218 3202 2218 0 FreeSans 560 0 0 0 Use_cif_see_HVTP
+flabel comment s 4483 311 4483 311 0 FreeSans 560 0 0 0 varac.3
+flabel comment s 5329 297 5329 297 0 FreeSans 560 0 0 0 varac.4
+flabel comment s 6299 283 6299 283 0 FreeSans 560 0 0 0 varac.5
+flabel comment s 7243 309 7243 309 0 FreeSans 560 0 0 0 varac.6
+flabel comment s 8369 315 8369 315 0 FreeSans 560 0 0 0 varac.7
+flabel comment s -23 575 -17 575 0 FreeSans 560 0 0 0 Correct_by_design
+flabel comment s -15 1143 -9 1143 0 FreeSans 560 0 0 0 Not_Implemented
+flabel comment s -112 1013 -112 1013 0 FreeSans 560 0 0 0 varac.8
+flabel comment s 8576 627 8576 627 0 FreeSans 560 0 0 0 (failed?)
+<< end >>
diff --git a/sky130/custom/drc/via.mag b/sky130/custom/drc/via.mag
new file mode 100644
index 0000000..2f2719c
--- /dev/null
+++ b/sky130/custom/drc/via.mag
@@ -0,0 +1,27 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1599841740
+<< error_p >>
+rect 1348 2048 1390 2054
+rect 1390 2002 1400 2048
+<< metal1 >>
+rect 1348 2048 1390 2089
+rect 1348 1979 1390 2002
+<< via1 >>
+rect 1348 2002 1390 2048
+<< metal2 >>
+rect 1329 2002 1348 2048
+rect 1390 2002 1433 2048
+<< labels >>
+flabel comment s 493 2348 493 2348 0 FreeSans 800 0 0 0 Via
+flabel comment s 454 2146 454 2146 0 FreeSans 560 0 0 0 Correct by design
+flabel comment s 504 2000 504 2000 0 FreeSans 560 0 0 0 via.2
+flabel comment s 500 1869 500 1869 0 FreeSans 560 0 0 0 via.3
+flabel comment s 504 1462 504 1462 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 572 1244 572 1244 0 FreeSans 560 0 0 0 via.1b
+flabel comment s 477 1736 477 1736 0 FreeSans 560 0 0 0 via.5a
+flabel comment s 579 1053 579 1053 0 FreeSans 560 0 0 0 via.4b, 4c
+flabel comment s 577 902 577 902 0 FreeSans 560 0 0 0 via.5b, 5c
+flabel comment s 1377 1899 1377 1899 0 FreeSans 560 0 0 0 via.1a
+<< end >>
diff --git a/sky130/custom/drc/via2.mag b/sky130/custom/drc/via2.mag
new file mode 100644
index 0000000..be1cf65
--- /dev/null
+++ b/sky130/custom/drc/via2.mag
@@ -0,0 +1,39 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1599842758
+<< error_p >>
+rect 1891 2083 1900 2092
+rect 1882 2074 1884 2083
+rect 1348 2048 1408 2058
+rect 1882 2026 1884 2035
+rect 1891 2017 1900 2026
+<< metal2 >>
+rect 1329 2002 1348 2048
+rect 1408 2002 1451 2048
+rect 1884 2026 1891 2083
+rect 1951 2026 1994 2083
+<< via2 >>
+rect 1348 2002 1408 2048
+rect 1891 2026 1951 2083
+<< metal3 >>
+rect 1343 2048 1413 2146
+rect 1343 2002 1348 2048
+rect 1408 2002 1413 2048
+rect 1886 2083 1956 2170
+rect 1886 2026 1891 2083
+rect 1951 2026 1956 2083
+rect 1886 2002 1956 2026
+rect 1343 1978 1413 2002
+<< labels >>
+flabel comment s 477 1736 477 1736 0 FreeSans 560 0 0 0 via.4
+flabel comment s 579 1053 579 1053 0 FreeSans 560 0 0 0 via.4a
+flabel comment s 1962 1922 1962 1922 0 FreeSans 560 0 0 0 via2.5
+flabel comment s 500 1869 500 1869 0 FreeSans 560 0 0 0 via2.3
+flabel comment s 504 2000 504 2000 0 FreeSans 560 0 0 0 via2.2
+flabel comment s 572 1244 572 1244 0 FreeSans 560 0 0 0 via2.1b, 1c, 1d, 1e, 1f
+flabel comment s 1377 1899 1377 1899 0 FreeSans 560 0 0 0 via2.1a
+flabel comment s 493 2348 493 2348 0 FreeSans 800 0 0 0 Via2
+flabel comment s 504 1462 504 1462 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 454 2146 454 2146 0 FreeSans 560 0 0 0 Correct by design
+<< end >>
diff --git a/sky130/custom/drc/via3.mag b/sky130/custom/drc/via3.mag
new file mode 100644
index 0000000..d53729b
--- /dev/null
+++ b/sky130/custom/drc/via3.mag
@@ -0,0 +1,41 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1599843560
+<< error_p >>
+rect 1348 2048 1408 2066
+rect 1408 2002 1412 2048
+rect 1885 2026 1891 2032
+rect 1955 2026 1961 2032
+rect 1891 2020 1897 2021
+rect 1949 2020 1955 2021
+<< metal3 >>
+rect 1343 2048 1413 2146
+rect 1343 2002 1348 2048
+rect 1408 2002 1413 2048
+rect 1891 2090 1955 2177
+rect 1891 2021 1955 2026
+rect 1343 1978 1413 2002
+<< via3 >>
+rect 1348 2002 1408 2048
+rect 1891 2026 1955 2090
+<< metal4 >>
+rect 1860 2090 2053 2110
+rect 1329 2048 1469 2065
+rect 1329 2002 1348 2048
+rect 1408 2002 1469 2048
+rect 1860 2026 1891 2090
+rect 1955 2026 2053 2090
+rect 1860 2010 2053 2026
+rect 1329 1988 1469 2002
+<< labels >>
+flabel comment s 504 1462 504 1462 0 FreeSans 560 0 0 0 Not implemented
+flabel comment s 454 2146 454 2146 0 FreeSans 560 0 0 0 Correct by design
+flabel comment s 493 2348 493 2348 0 FreeSans 800 0 0 0 Via3
+flabel comment s 504 2000 504 2000 0 FreeSans 560 0 0 0 via3.2
+flabel comment s 500 1869 500 1869 0 FreeSans 560 0 0 0 via3.3
+flabel comment s 477 1736 477 1736 0 FreeSans 560 0 0 0 via3.4
+flabel comment s 1962 1922 1962 1922 0 FreeSans 560 0 0 0 via3.5
+flabel comment s 572 1244 572 1244 0 FreeSans 560 0 0 0 via3.1a
+flabel comment s 1377 1899 1377 1899 0 FreeSans 560 0 0 0 via3.1
+<< end >>
diff --git a/sky130/custom/drc/via4.mag b/sky130/custom/drc/via4.mag
new file mode 100644
index 0000000..11c33c7
--- /dev/null
+++ b/sky130/custom/drc/via4.mag
@@ -0,0 +1,34 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1599845021
+<< error_p >>
+rect 1378 2148 1508 2238
+rect 1508 2002 1614 2148
+<< metal4 >>
+rect 1329 2148 1697 2165
+rect 1329 2002 1378 2148
+rect 1508 2002 1697 2148
+rect 2069 2022 2118 2268
+rect 2358 2022 2447 2268
+rect 1329 1988 1697 2002
+<< via4 >>
+rect 1378 2002 1508 2148
+rect 2118 2022 2358 2268
+<< metal5 >>
+rect 1343 2148 1663 2618
+rect 1343 2002 1378 2148
+rect 1508 2002 1663 2148
+rect 1343 1978 1663 2002
+rect 2083 2268 2413 2638
+rect 2083 2022 2118 2268
+rect 2358 2022 2413 2268
+rect 2083 1998 2413 2022
+<< labels >>
+flabel comment s 454 2146 454 2146 0 FreeSans 560 0 0 0 Correct by design
+flabel comment s 493 2348 493 2348 0 FreeSans 800 0 0 0 Via4
+flabel comment s 1502 1871 1502 1871 0 FreeSans 560 0 0 0 via4.1
+flabel comment s 504 2000 504 2000 0 FreeSans 560 0 0 0 via4.2
+flabel comment s 500 1869 500 1869 0 FreeSans 560 0 0 0 via4.3
+flabel comment s 510 1719 510 1719 0 FreeSans 560 0 0 0 via4.4
+<< end >>