divisorx32 and output inverter
diff --git a/mag/VCO/divx32.mag b/mag/VCO/divx32.mag
index aa68615..3bb5702 100644
--- a/mag/VCO/divx32.mag
+++ b/mag/VCO/divx32.mag
@@ -1,7 +1,7 @@
 magic
 tech sky130A
 magscale 1 2
-timestamp 1608340837
+timestamp 1608345554
 << nwell >>
 rect 3563 672 3809 1469
 rect 3572 -1405 3818 -608
@@ -9,6 +9,7 @@
 rect 3626 75 3793 614
 rect 3626 67 3650 75
 rect 3588 -550 3755 55
+rect 5692 -3274 6579 -2442
 << metal1 >>
 rect -186 1368 675 1370
 rect -278 1185 675 1368
@@ -19,19 +20,25 @@
 rect 7437 -224 7624 -203
 rect -278 -1160 2469 -1126
 rect 2915 -1160 4402 -1126
-rect -278 -1654 5306 -1160
+rect 4748 -1160 6543 -1121
+rect -278 -1654 6543 -1160
 rect -278 -1676 2469 -1654
 rect -218 -1679 2469 -1676
+rect 4748 -1679 6543 -1654
 rect -222 -2258 -212 -2144
 rect -56 -2157 -46 -2144
 rect -56 -2173 1869 -2157
 rect -56 -2236 2008 -2173
 rect -56 -2251 1869 -2236
 rect -56 -2258 -46 -2251
-rect 7437 -2612 7626 -224
-rect 4717 -2801 7626 -2612
+rect 5539 -2480 5549 -2266
+rect 5751 -2480 5761 -2266
+rect 1848 -3022 5350 -2683
+rect 7437 -3022 7626 -224
+rect 1834 -3211 7626 -3022
 << via1 >>
 rect -212 -2258 -56 -2144
+rect 5549 -2480 5751 -2266
 << metal2 >>
 rect 6 722 96 732
 rect 6 588 96 598
@@ -45,11 +52,15 @@
 rect 7332 -717 7465 391
 rect -212 -2144 -56 -2134
 rect -212 -2268 -56 -2258
+rect 5549 -2266 5751 -2256
 rect -203 -2272 -96 -2268
+rect 5549 -2490 5751 -2480
+rect 6358 -2496 7323 -2266
 << via2 >>
 rect 6 598 96 722
 rect 7359 401 7473 539
 rect -208 -488 -88 -338
+rect 5574 -2470 5724 -2286
 << metal3 >>
 rect -10 732 116 926
 rect -296 722 116 732
@@ -65,30 +76,39 @@
 rect -218 -488 -208 -338
 rect -88 -488 -78 -338
 rect -218 -493 -78 -488
-rect 5415 -2447 7363 -2337
-use freq_div  freq_div_4
+rect 5550 -2286 5750 -2266
+rect 5550 -2337 5574 -2286
+rect 5415 -2447 5574 -2337
+rect 5550 -2470 5574 -2447
+rect 5724 -2470 5750 -2286
+rect 5550 -2480 5750 -2470
+use inverter_out  inverter_out_0
+timestamp 1608344763
+transform 1 0 5270 0 1 -3032
+box 408 -247 1342 1692
+use freq_div  freq_div_2
 timestamp 1608334096
-transform 1 0 2484 0 1 -2854
-box -710 -10 3151 1455
-use freq_div  freq_div_0
-timestamp 1608334096
-transform 1 0 710 0 1 10
-box -710 -10 3151 1455
-use freq_div  freq_div_1
-timestamp 1608334096
-transform 1 0 4426 0 1 15
+transform -1 0 2955 0 -1 49
 box -710 -10 3151 1455
 use freq_div  freq_div_3
 timestamp 1608334096
 transform -1 0 6671 0 -1 54
 box -710 -10 3151 1455
-use freq_div  freq_div_2
+use freq_div  freq_div_1
 timestamp 1608334096
-transform -1 0 2955 0 -1 49
+transform 1 0 4426 0 1 15
+box -710 -10 3151 1455
+use freq_div  freq_div_0
+timestamp 1608334096
+transform 1 0 710 0 1 10
+box -710 -10 3151 1455
+use freq_div  freq_div_4
+timestamp 1608334096
+transform 1 0 2484 0 1 -2854
 box -710 -10 3151 1455
 << labels >>
 rlabel metal3 -296 610 116 732 1 in
-rlabel space 4879 -2447 7363 -2337 1 out
 rlabel space 1904 -2801 7626 -2612 1 vss
 rlabel space 2942 1190 7273 1375 1 vdd
+rlabel metal2 7093 -2496 7323 -2266 1 out
 << end >>
diff --git a/mag/VCO/freq_div.mag b/mag/VCO/freq_div.mag
index d06e8e0..df38ee3 100644
--- a/mag/VCO/freq_div.mag
+++ b/mag/VCO/freq_div.mag
@@ -157,29 +157,29 @@
 rect -61 287 649 298
 rect -61 278 -51 287
 rect -176 273 -51 278
-use inverter_fd  inverter_fd_0
+use inverter_fd  inverter_fd_3
 timestamp 1608331766
-transform 1 0 -456 0 1 -20
+transform 1 0 -1147 0 1 -17
 box 456 20 1060 1458
-use trans_gate  trans_gate_0
+use inverter_fd  inverter_fd_2
 timestamp 1608331766
-transform 1 0 738 0 1 710
-box -157 -701 436 733
-use inverter_fd  inverter_fd_1
-timestamp 1608331766
-transform 1 0 712 0 1 -8
+transform 1 0 1876 0 1 -3
 box 456 20 1060 1458
 use trans_gate  trans_gate_1
 timestamp 1608331766
 transform 1 0 1913 0 1 718
 box -157 -701 436 733
-use inverter_fd  inverter_fd_2
+use inverter_fd  inverter_fd_1
 timestamp 1608331766
-transform 1 0 1876 0 1 -3
+transform 1 0 712 0 1 -8
 box 456 20 1060 1458
-use inverter_fd  inverter_fd_3
+use trans_gate  trans_gate_0
 timestamp 1608331766
-transform 1 0 -1147 0 1 -17
+transform 1 0 738 0 1 710
+box -157 -701 436 733
+use inverter_fd  inverter_fd_0
+timestamp 1608331766
+transform 1 0 -456 0 1 -20
 box 456 20 1060 1458
 << labels >>
 rlabel metal3 2395 407 3151 517 1 out
diff --git a/mag/VCO/inverter_out.mag b/mag/VCO/inverter_out.mag
new file mode 100644
index 0000000..ffd4c03
--- /dev/null
+++ b/mag/VCO/inverter_out.mag
@@ -0,0 +1,91 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608344763
+<< nwell >>
+rect 408 664 1342 1692
+<< pwell >>
+rect 500 -247 1179 641
+<< psubdiff >>
+rect 564 -38 1108 46
+rect 564 -215 606 -38
+rect 1057 -215 1108 -38
+rect 564 -221 1108 -215
+<< nsubdiff >>
+rect 509 1343 1244 1631
+<< psubdiffcont >>
+rect 606 -215 1057 -38
+<< viali >>
+rect 508 1343 1241 1626
+rect 574 -38 1104 44
+rect 574 -215 606 -38
+rect 606 -215 1057 -38
+rect 1057 -215 1104 -38
+rect 574 -219 1104 -215
+<< metal1 >>
+rect 496 1626 1253 1632
+rect 496 1343 508 1626
+rect 1241 1343 1253 1626
+rect 496 1337 1253 1343
+rect 631 940 641 1184
+rect 695 940 705 1184
+rect 753 945 804 1337
+rect 835 937 845 1180
+rect 904 937 914 1180
+rect 946 954 997 1337
+rect 1032 939 1042 1182
+rect 1101 939 1111 1182
+rect 753 734 901 903
+rect 408 586 901 734
+rect 753 471 901 586
+rect 681 188 691 442
+rect 749 188 759 442
+rect 808 50 862 439
+rect 895 185 905 439
+rect 983 185 993 439
+rect 562 44 1116 50
+rect 562 -219 574 44
+rect 1104 -219 1116 44
+rect 562 -225 1116 -219
+<< via1 >>
+rect 641 940 695 1184
+rect 845 937 904 1180
+rect 1042 939 1101 1182
+rect 691 188 749 442
+rect 905 185 983 439
+<< metal2 >>
+rect 641 1184 695 1194
+rect 845 1180 904 1190
+rect 695 940 845 1179
+rect 641 939 845 940
+rect 641 930 695 939
+rect 733 937 845 939
+rect 1042 1182 1101 1192
+rect 904 939 1042 1179
+rect 1101 939 1103 1179
+rect 904 937 963 939
+rect 733 766 963 937
+rect 1042 929 1101 939
+rect 733 536 1318 766
+rect 733 452 963 536
+rect 691 449 963 452
+rect 691 442 983 449
+rect 749 439 983 442
+rect 749 188 905 439
+rect 691 186 905 188
+rect 691 178 749 186
+rect 905 175 983 185
+use sky130_fd_pr__nfet_01v8_WRE4LY  sky130_fd_pr__nfet_01v8_WRE4LY_0
+timestamp 1608344059
+transform 1 0 831 0 1 318
+box -263 -330 263 330
+use sky130_fd_pr__pfet_01v8_DZ9A69  sky130_fd_pr__pfet_01v8_DZ9A69_0
+timestamp 1608344763
+transform 1 0 875 0 1 1056
+box -359 -334 359 334
+<< labels >>
+rlabel metal1 408 586 901 734 1 in
+rlabel metal2 733 536 1318 766 1 out
+rlabel nsubdiff 509 1343 1244 1631 1 vdd
+rlabel pwell 574 -219 1104 44 1 vss
+<< end >>
diff --git a/mag/VCO/sky130_fd_pr__nfet_01v8_WRE4LY.mag b/mag/VCO/sky130_fd_pr__nfet_01v8_WRE4LY.mag
new file mode 100644
index 0000000..735b954
--- /dev/null
+++ b/mag/VCO/sky130_fd_pr__nfet_01v8_WRE4LY.mag
@@ -0,0 +1,106 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608344059
+<< pwell >>
+rect -263 -330 263 330
+<< nmos >>
+rect -63 -120 -33 120
+rect 33 -120 63 120
+<< ndiff >>
+rect -125 108 -63 120
+rect -125 -108 -113 108
+rect -79 -108 -63 108
+rect -125 -120 -63 -108
+rect -33 108 33 120
+rect -33 -108 -17 108
+rect 17 -108 33 108
+rect -33 -120 33 -108
+rect 63 108 125 120
+rect 63 -108 79 108
+rect 113 -108 125 108
+rect 63 -120 125 -108
+<< ndiffc >>
+rect -113 -108 -79 108
+rect -17 -108 17 108
+rect 79 -108 113 108
+<< psubdiff >>
+rect -227 260 227 294
+rect -227 198 -193 260
+rect 193 198 227 260
+rect -227 -260 -193 -198
+rect 193 -260 227 -198
+rect -227 -294 -131 -260
+rect 131 -294 227 -260
+<< psubdiffcont >>
+rect -227 -198 -193 198
+rect 193 -198 227 198
+rect -131 -294 131 -260
+<< poly >>
+rect -79 193 81 208
+rect -79 159 -60 193
+rect -26 192 81 193
+rect -26 159 31 192
+rect -79 158 31 159
+rect 65 158 81 192
+rect -79 142 81 158
+rect -63 120 -33 142
+rect 33 120 63 142
+rect -63 -146 -33 -120
+rect 33 -146 63 -120
+<< polycont >>
+rect -60 159 -26 193
+rect 31 158 65 192
+<< locali >>
+rect -227 260 227 294
+rect -227 198 -193 260
+rect 193 198 227 260
+rect -77 193 80 194
+rect -77 159 -60 193
+rect -26 192 80 193
+rect -26 159 31 192
+rect -77 158 31 159
+rect 65 158 81 192
+rect -113 108 -79 124
+rect -113 -124 -79 -108
+rect -17 108 17 124
+rect -17 -124 17 -108
+rect 79 108 113 124
+rect 79 -124 113 -108
+rect -227 -260 -193 -198
+rect 193 -260 227 -198
+rect -227 -294 -131 -260
+rect 131 -294 227 -260
+<< viali >>
+rect -60 159 -26 193
+rect 31 158 65 192
+rect -113 -108 -79 108
+rect -17 -108 17 108
+rect 79 -108 113 108
+<< metal1 >>
+rect -79 193 81 199
+rect -79 159 -60 193
+rect -26 192 81 193
+rect -26 159 31 192
+rect -79 158 31 159
+rect 65 158 81 192
+rect -79 153 81 158
+rect 19 152 77 153
+rect -119 108 -73 120
+rect -119 -108 -113 108
+rect -79 -108 -73 108
+rect -119 -120 -73 -108
+rect -23 108 23 120
+rect -23 -108 -17 108
+rect 17 -108 23 108
+rect -23 -120 23 -108
+rect 73 108 119 120
+rect 73 -108 79 108
+rect 113 -108 119 108
+rect 73 -120 119 -108
+<< properties >>
+string gencell sky130_fd_pr__nfet_01v8
+string FIXED_BBOX -210 -277 210 277
+string parameters w 1.2 l 0.150 m 1 nf 2 diffcov 100 polycov 100 guard 1 glc 1 grc 1 gtc 0 gbc 1 tbcov 100 rlcov 100 topc 1 botc 1 poverlap 0 doverlap 1 lmin 0.15 wmin 0.42 compatible {sky130_fd_pr__nfet_01v8 sky130_fd_pr__nfet_01v8_lvt  sky130_fd_bs_flash__special_sonosfet_star  sky130_fd_pr__nfet_g5v0d10v5 sky130_fd_pr__nfet_05v0_nvt} full_metal 1 viasrc 100 viadrn 100 viagate 100 viagb 0 viagr 0 viagl 0 viagt 0
+string library sky130
+<< end >>
diff --git a/mag/VCO/sky130_fd_pr__pfet_01v8_DZ9A69.mag b/mag/VCO/sky130_fd_pr__pfet_01v8_DZ9A69.mag
new file mode 100644
index 0000000..10a1fc7
--- /dev/null
+++ b/mag/VCO/sky130_fd_pr__pfet_01v8_DZ9A69.mag
@@ -0,0 +1,141 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608344763
+<< nwell >>
+rect -359 -334 359 334
+<< pmos >>
+rect -159 -115 -129 115
+rect -63 -115 -33 115
+rect 33 -115 63 115
+rect 129 -115 159 115
+<< pdiff >>
+rect -221 103 -159 115
+rect -221 -103 -209 103
+rect -175 -103 -159 103
+rect -221 -115 -159 -103
+rect -129 103 -63 115
+rect -129 -103 -113 103
+rect -79 -103 -63 103
+rect -129 -115 -63 -103
+rect -33 103 33 115
+rect -33 -103 -17 103
+rect 17 -103 33 103
+rect -33 -115 33 -103
+rect 63 103 129 115
+rect 63 -103 79 103
+rect 113 -103 129 103
+rect 63 -115 129 -103
+rect 159 103 221 115
+rect 159 -103 175 103
+rect 209 -103 221 103
+rect 159 -115 221 -103
+<< pdiffc >>
+rect -209 -103 -175 103
+rect -113 -103 -79 103
+rect -17 -103 17 103
+rect 79 -103 113 103
+rect 175 -103 209 103
+<< nsubdiff >>
+rect -323 264 -227 298
+rect 227 264 323 298
+rect -323 202 -289 264
+rect 289 202 323 264
+rect -323 -264 -289 -202
+rect 289 -264 323 -202
+rect -323 -298 323 -264
+<< nsubdiffcont >>
+rect -227 264 227 298
+rect -323 -202 -289 202
+rect 289 -202 323 202
+<< poly >>
+rect -159 115 -129 141
+rect -63 115 -33 146
+rect 33 115 63 141
+rect 129 115 159 146
+rect -159 -145 -129 -115
+rect -63 -145 -33 -115
+rect 33 -145 63 -115
+rect 129 -145 159 -115
+rect -178 -162 176 -145
+rect -178 -196 -161 -162
+rect -127 -196 -68 -162
+rect -34 -196 31 -162
+rect 65 -196 122 -162
+rect 156 -196 176 -162
+rect -178 -212 176 -196
+<< polycont >>
+rect -161 -196 -127 -162
+rect -68 -196 -34 -162
+rect 31 -196 65 -162
+rect 122 -196 156 -162
+<< locali >>
+rect -323 264 -227 298
+rect 227 264 323 298
+rect -323 202 -289 264
+rect 289 202 323 264
+rect -209 103 -175 119
+rect -209 -119 -175 -103
+rect -113 103 -79 119
+rect -113 -119 -79 -103
+rect -17 103 17 119
+rect -17 -119 17 -103
+rect 79 103 113 119
+rect 79 -119 113 -103
+rect 175 103 209 119
+rect 175 -119 209 -103
+rect -179 -162 176 -156
+rect -179 -196 -161 -162
+rect -127 -196 -68 -162
+rect -34 -196 31 -162
+rect 65 -196 122 -162
+rect 156 -196 176 -162
+rect -179 -199 176 -196
+rect -323 -264 -289 -202
+rect 289 -264 323 -202
+rect -323 -298 323 -264
+<< viali >>
+rect -209 -103 -175 103
+rect -113 -103 -79 103
+rect -17 -103 17 103
+rect 79 -103 113 103
+rect 175 -103 209 103
+rect -161 -196 -127 -162
+rect -68 -196 -34 -162
+rect 31 -196 65 -162
+rect 122 -196 156 -162
+<< metal1 >>
+rect -215 103 -169 115
+rect -215 -103 -209 103
+rect -175 -103 -169 103
+rect -215 -115 -169 -103
+rect -119 103 -73 115
+rect -119 -103 -113 103
+rect -79 -103 -73 103
+rect -119 -115 -73 -103
+rect -23 103 23 115
+rect -23 -103 -17 103
+rect 17 -103 23 103
+rect -23 -115 23 -103
+rect 73 103 119 115
+rect 73 -103 79 103
+rect 113 -103 119 103
+rect 73 -115 119 -103
+rect 169 103 215 115
+rect 169 -103 175 103
+rect 209 -103 215 103
+rect 169 -115 215 -103
+rect -177 -157 172 -155
+rect -177 -162 175 -157
+rect -177 -196 -161 -162
+rect -127 -196 -68 -162
+rect -34 -196 31 -162
+rect 65 -196 122 -162
+rect 156 -196 175 -162
+rect -177 -206 175 -196
+<< properties >>
+string gencell sky130_fd_pr__pfet_01v8
+string FIXED_BBOX -306 -281 306 281
+string parameters w 1.15 l 0.15 m 1 nf 4 diffcov 100 polycov 100 guard 1 glc 1 grc 1 gtc 1 gbc 0 tbcov 100 rlcov 100 topc 1 botc 1 poverlap 0 doverlap 1 lmin 0.15 wmin 0.42 compatible {sky130_fd_pr__pfet_01v8  sky130_fd_pr__pfet_01v8_lvt sky130_fd_pr__pfet_01v8_hvt  sky130_fd_pr__pfet_g5v0d10v5} full_metal 1 viagl 0 viagr 0 viagt 0 viagb 0 viagate 100 viadrn 100 viasrc 100
+string library sky130
+<< end >>
diff --git a/mag/VCO/trans_gate.mag b/mag/VCO/trans_gate.mag
index 798ea82..2ad0f26 100644
--- a/mag/VCO/trans_gate.mag
+++ b/mag/VCO/trans_gate.mag
@@ -36,14 +36,14 @@
 rect -73 -628 -61 -467
 rect 344 -628 356 -467
 rect -73 -634 356 -628
-use sky130_fd_pr__pfet_01v8_H4M7SM  sky130_fd_pr__pfet_01v8_H4M7SM_0
-timestamp 1608331766
-transform 1 0 146 0 1 233
-box -211 -274 211 274
 use sky130_fd_pr__nfet_01v8_UVCFM7  sky130_fd_pr__nfet_01v8_UVCFM7_0
 timestamp 1608331766
 transform 1 0 144 0 1 -303
 box -211 -224 211 224
+use sky130_fd_pr__pfet_01v8_H4M7SM  sky130_fd_pr__pfet_01v8_H4M7SM_0
+timestamp 1608331766
+transform 1 0 146 0 1 233
+box -211 -274 211 274
 << labels >>
 rlabel pwell -61 -628 344 -467 1 vss
 rlabel metal1 -157 -404 176 -345 1 clk_n