Freq divider and dividerx32
diff --git a/gds/caravel.gds.gz b/gds/caravel.gds.gz
index dc9bb27..0646d97 100644
--- a/gds/caravel.gds.gz
+++ b/gds/caravel.gds.gz
Binary files differ
diff --git a/gds/user_project_wrapper.gds.gz b/gds/user_project_wrapper.gds.gz
index 3867985..afa6d4f 100644
--- a/gds/user_project_wrapper.gds.gz
+++ b/gds/user_project_wrapper.gds.gz
Binary files differ
diff --git a/mag/.magicrc b/mag/.magicrc
index 0573be5..c7573e8 100644
--- a/mag/.magicrc
+++ b/mag/.magicrc
@@ -1,19 +1,3 @@
-# SPDX-FileCopyrightText: 2020 Efabless Corporation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-
 puts stdout "Sourcing design .magicrc for technology sky130A ..."
 
 # Put grid on 0.005 pitch.  This is important, as some commands don't
diff --git a/mag/VCO/divx32.mag b/mag/VCO/divx32.mag
new file mode 100644
index 0000000..3aeb948
--- /dev/null
+++ b/mag/VCO/divx32.mag
@@ -0,0 +1,42 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608334821
+<< nwell >>
+rect 3563 672 3809 1469
+rect 3572 -1405 3818 -608
+<< pwell >>
+rect 3626 75 3793 614
+rect 3626 67 3650 75
+rect 3588 -550 3755 55
+<< metal1 >>
+rect 64 -203 7301 233
+<< metal2 >>
+rect 7359 539 7473 549
+rect 7332 401 7359 493
+rect 7332 391 7473 401
+rect 7332 -717 7465 391
+<< via2 >>
+rect 7359 401 7473 539
+<< metal3 >>
+rect 7349 539 7483 544
+rect 7349 401 7359 539
+rect 7473 401 7483 539
+rect 7349 396 7483 401
+use freq_div  freq_div_2
+timestamp 1608334096
+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_1
+timestamp 1608334096
+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
+<< end >>
diff --git a/mag/VCO/freq_div.mag b/mag/VCO/freq_div.mag
new file mode 100644
index 0000000..df38ee3
--- /dev/null
+++ b/mag/VCO/freq_div.mag
@@ -0,0 +1,189 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608334096
+<< nwell >>
+rect -704 1454 2933 1455
+rect -704 1114 2935 1454
+rect -704 996 549 1114
+rect 673 996 2935 1114
+rect -704 665 2935 996
+rect -704 662 2933 665
+<< pwell >>
+rect -692 619 2939 620
+rect -692 -9 2941 619
+rect -509 -10 2941 -9
+<< metal1 >>
+rect -601 1175 2846 1360
+rect 558 1012 568 1101
+rect 635 1012 645 1101
+rect 1731 1004 1741 1110
+rect 1841 1004 1851 1110
+rect -704 612 -694 698
+rect -626 612 -616 698
+rect 2275 695 2285 724
+rect -17 603 -7 687
+rect 84 603 94 687
+rect 538 616 860 667
+rect 908 627 1242 690
+rect 1713 632 2027 683
+rect 2090 632 2285 695
+rect 2275 616 2285 632
+rect 2386 695 2396 724
+rect 2386 632 2454 695
+rect 2386 616 2396 632
+rect 544 298 554 374
+rect 634 298 644 374
+rect 1734 306 1744 382
+rect 1797 306 1807 382
+rect -580 53 2876 242
+<< via1 >>
+rect 568 1012 635 1101
+rect 1741 1004 1841 1110
+rect -694 612 -626 698
+rect -7 603 84 687
+rect 2285 616 2386 724
+rect 554 298 634 374
+rect 1744 306 1797 382
+<< metal2 >>
+rect -165 1100 -80 1110
+rect -165 999 -80 1009
+rect 568 1101 635 1111
+rect 568 1002 635 1012
+rect 1741 1110 1841 1120
+rect -697 890 -621 900
+rect -697 768 -621 778
+rect -692 708 -631 768
+rect -694 698 -626 708
+rect -694 602 -626 612
+rect -692 537 -631 602
+rect -700 527 -621 537
+rect -700 437 -621 447
+rect -159 379 -89 999
+rect 568 881 632 1002
+rect 1741 994 1841 1004
+rect 555 871 647 881
+rect 555 774 647 784
+rect 568 761 632 774
+rect 2285 724 2386 734
+rect -22 687 91 698
+rect -22 603 -7 687
+rect 84 603 91 687
+rect 2285 606 2386 616
+rect 2846 696 2956 713
+rect 2846 621 2862 696
+rect 2939 621 2956 696
+rect -22 592 91 603
+rect 1732 533 1806 543
+rect 2293 526 2377 606
+rect 2846 596 2956 621
+rect 1732 453 1806 463
+rect 2283 516 2395 526
+rect -166 369 -61 379
+rect 554 374 634 384
+rect 554 288 634 298
+rect 1743 382 1798 453
+rect 2283 399 2395 409
+rect 1743 306 1744 382
+rect 1797 306 1798 382
+rect 1743 296 1798 306
+rect -166 268 -61 278
+<< via2 >>
+rect -165 1009 -80 1100
+rect 1741 1004 1841 1110
+rect -697 778 -621 890
+rect -700 447 -621 527
+rect 555 784 647 871
+rect -7 603 84 687
+rect 2862 621 2939 696
+rect 1732 463 1806 533
+rect -166 278 -61 369
+rect 554 298 634 374
+rect 2283 409 2395 516
+<< metal3 >>
+rect 1731 1110 1851 1115
+rect -175 1100 -70 1105
+rect -175 1009 -165 1100
+rect -80 1093 -70 1100
+rect 1731 1093 1741 1110
+rect -80 1014 1741 1093
+rect -80 1009 -70 1014
+rect -175 1004 -70 1009
+rect 1731 1004 1741 1014
+rect 1841 1004 1851 1110
+rect 1731 999 1851 1004
+rect -707 890 -611 895
+rect -707 778 -697 890
+rect -621 885 -611 890
+rect -621 876 641 885
+rect -621 871 657 876
+rect -621 785 555 871
+rect -621 778 -611 785
+rect 545 784 555 785
+rect 647 784 657 871
+rect 545 779 657 784
+rect -707 773 -611 778
+rect -40 709 96 716
+rect -40 696 2960 709
+rect -40 687 2862 696
+rect -40 603 -7 687
+rect 84 621 2862 687
+rect 2939 621 2960 696
+rect 84 604 2960 621
+rect 84 603 96 604
+rect -40 584 96 603
+rect 1722 533 1816 538
+rect -710 527 -611 532
+rect -710 447 -700 527
+rect -621 523 -611 527
+rect 1722 523 1732 533
+rect -621 463 1732 523
+rect 1806 523 1816 533
+rect 1806 463 1817 523
+rect 2273 517 2405 521
+rect -621 452 1817 463
+rect 2272 516 3151 517
+rect -621 447 -611 452
+rect -710 442 -611 447
+rect 2272 409 2283 516
+rect 2395 409 3151 516
+rect 2272 407 3151 409
+rect 2273 404 2405 407
+rect -161 374 649 381
+rect -176 369 554 374
+rect -176 278 -166 369
+rect -61 298 554 369
+rect 634 298 649 374
+rect -61 287 649 298
+rect -61 278 -51 287
+rect -176 273 -51 278
+use inverter_fd  inverter_fd_3
+timestamp 1608331766
+transform 1 0 -1147 0 1 -17
+box 456 20 1060 1458
+use inverter_fd  inverter_fd_2
+timestamp 1608331766
+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_1
+timestamp 1608331766
+transform 1 0 712 0 1 -8
+box 456 20 1060 1458
+use trans_gate  trans_gate_0
+timestamp 1608331766
+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
+rlabel via1 -694 612 -626 698 1 in
+rlabel metal1 -580 53 2876 242 1 vss
+rlabel nwell -601 1175 2847 1360 1 vdd
+<< end >>
diff --git a/mag/VCO/inverter_fd.mag b/mag/VCO/inverter_fd.mag
new file mode 100644
index 0000000..655f9e2
--- /dev/null
+++ b/mag/VCO/inverter_fd.mag
@@ -0,0 +1,72 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608331766
+<< nwell >>
+rect 457 679 1048 1458
+<< pwell >>
+rect 479 20 1006 642
+<< psubdiff >>
+rect 510 195 986 265
+rect 510 70 539 195
+rect 951 70 986 195
+rect 510 64 986 70
+<< nsubdiff >>
+rect 550 1184 959 1363
+<< psubdiffcont >>
+rect 539 70 951 195
+<< viali >>
+rect 550 1184 959 1363
+rect 510 195 986 265
+rect 510 70 539 195
+rect 539 70 951 195
+rect 951 70 986 195
+rect 510 64 986 70
+<< metal1 >>
+rect 538 1363 971 1369
+rect 538 1184 550 1363
+rect 959 1184 971 1363
+rect 538 1178 971 1184
+rect 688 909 736 1178
+rect 774 906 784 1089
+rect 845 906 855 1089
+rect 727 698 790 869
+rect 456 635 790 698
+rect 988 635 998 687
+rect 1050 635 1060 687
+rect 727 458 790 635
+rect 684 271 732 426
+rect 773 316 783 423
+rect 846 316 856 423
+rect 498 265 998 271
+rect 498 64 510 265
+rect 986 64 998 265
+rect 498 58 998 64
+<< via1 >>
+rect 784 906 845 1089
+rect 998 635 1050 687
+rect 783 316 846 423
+<< metal2 >>
+rect 784 1089 845 1099
+rect 784 896 845 906
+rect 790 687 842 896
+rect 998 687 1050 697
+rect 790 635 998 687
+rect 790 433 842 635
+rect 998 625 1050 635
+rect 783 423 846 433
+rect 783 306 846 316
+use sky130_fd_pr__pfet_01v8_B5M7SB  sky130_fd_pr__pfet_01v8_B5M7SB_0
+timestamp 1608331766
+transform 1 0 756 0 1 955
+box -211 -274 211 274
+use sky130_fd_pr__nfet_01v8_ETUE4C  sky130_fd_pr__nfet_01v8_ETUE4C_0
+timestamp 1608331766
+transform 1 0 756 0 1 412
+box -211 -224 211 224
+<< labels >>
+rlabel metal1 456 635 790 698 1 in
+rlabel via1 998 635 1050 687 1 out
+rlabel pwell 510 64 986 265 1 vss
+rlabel viali 550 1184 959 1363 1 vdd
+<< end >>
diff --git a/mag/VCO/sky130_fd_pr__nfet_01v8_ETUE4C.mag b/mag/VCO/sky130_fd_pr__nfet_01v8_ETUE4C.mag
new file mode 100644
index 0000000..710a88e
--- /dev/null
+++ b/mag/VCO/sky130_fd_pr__nfet_01v8_ETUE4C.mag
@@ -0,0 +1,82 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608331766
+<< error_p >>
+rect -29 86 29 92
+rect -29 52 -17 86
+rect -29 46 29 52
+<< pwell >>
+rect -211 -224 211 224
+<< nmos >>
+rect -15 -76 15 14
+<< ndiff >>
+rect -73 2 -15 14
+rect -73 -64 -61 2
+rect -27 -64 -15 2
+rect -73 -76 -15 -64
+rect 15 2 73 14
+rect 15 -64 27 2
+rect 61 -64 73 2
+rect 15 -76 73 -64
+<< ndiffc >>
+rect -61 -64 -27 2
+rect 27 -64 61 2
+<< psubdiff >>
+rect -175 154 -79 188
+rect 79 154 175 188
+rect -175 92 -141 154
+rect 141 92 175 154
+rect -175 -154 -141 -92
+rect 141 -154 175 -92
+rect -175 -188 175 -154
+<< psubdiffcont >>
+rect -79 154 79 188
+rect -175 -92 -141 92
+rect 141 -92 175 92
+<< poly >>
+rect -33 86 33 102
+rect -33 52 -17 86
+rect 17 52 33 86
+rect -33 36 33 52
+rect -15 14 15 36
+rect -15 -102 15 -76
+<< polycont >>
+rect -17 52 17 86
+<< locali >>
+rect -175 154 -79 188
+rect 79 154 175 188
+rect -175 92 -141 154
+rect 141 92 175 154
+rect -33 52 -17 86
+rect 17 52 33 86
+rect -61 2 -27 18
+rect -61 -80 -27 -64
+rect 27 2 61 18
+rect 27 -80 61 -64
+rect -175 -154 -141 -92
+rect 141 -154 175 -92
+rect -175 -188 175 -154
+<< viali >>
+rect -17 52 17 86
+rect -61 -64 -27 2
+rect 27 -64 61 2
+<< metal1 >>
+rect -29 86 29 92
+rect -29 52 -17 86
+rect 17 52 29 86
+rect -29 46 29 52
+rect -67 2 -21 14
+rect -67 -64 -61 2
+rect -27 -64 -21 2
+rect -67 -76 -21 -64
+rect 21 2 67 14
+rect 21 -64 27 2
+rect 61 -64 67 2
+rect 21 -76 67 -64
+<< properties >>
+string gencell sky130_fd_pr__nfet_01v8
+string FIXED_BBOX -158 -171 158 171
+string parameters w 0.45 l 0.150 m 1 nf 1 diffcov 100 polycov 100 guard 1 glc 1 grc 1 gtc 1 gbc 0 tbcov 100 rlcov 100 topc 1 botc 0 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__nfet_01v8_UVCFM7.mag b/mag/VCO/sky130_fd_pr__nfet_01v8_UVCFM7.mag
index edb8d2e..a1b9e4e 100644
--- a/mag/VCO/sky130_fd_pr__nfet_01v8_UVCFM7.mag
+++ b/mag/VCO/sky130_fd_pr__nfet_01v8_UVCFM7.mag
@@ -1,7 +1,7 @@
 magic
 tech sky130A
 magscale 1 2
-timestamp 1608323403
+timestamp 1608331766
 << error_p >>
 rect -29 -52 29 -46
 rect -29 -86 -17 -52
diff --git a/mag/VCO/sky130_fd_pr__pfet_01v8_B5M7SB.mag b/mag/VCO/sky130_fd_pr__pfet_01v8_B5M7SB.mag
new file mode 100644
index 0000000..db8852a
--- /dev/null
+++ b/mag/VCO/sky130_fd_pr__pfet_01v8_B5M7SB.mag
@@ -0,0 +1,82 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608331766
+<< error_p >>
+rect -29 -101 29 -95
+rect -29 -135 -17 -101
+rect -29 -141 29 -135
+<< nwell >>
+rect -211 -274 211 274
+<< pmos >>
+rect -15 -54 15 126
+<< pdiff >>
+rect -73 114 -15 126
+rect -73 -42 -61 114
+rect -27 -42 -15 114
+rect -73 -54 -15 -42
+rect 15 114 73 126
+rect 15 -42 27 114
+rect 61 -42 73 114
+rect 15 -54 73 -42
+<< pdiffc >>
+rect -61 -42 -27 114
+rect 27 -42 61 114
+<< nsubdiff >>
+rect -175 204 -79 238
+rect 79 204 175 238
+rect -175 141 -141 204
+rect 141 141 175 204
+rect -175 -204 -141 -141
+rect 141 -204 175 -141
+rect -175 -238 175 -204
+<< nsubdiffcont >>
+rect -79 204 79 238
+rect -175 -141 -141 141
+rect 141 -141 175 141
+<< poly >>
+rect -15 126 15 152
+rect -15 -85 15 -54
+rect -33 -101 33 -85
+rect -33 -135 -17 -101
+rect 17 -135 33 -101
+rect -33 -151 33 -135
+<< polycont >>
+rect -17 -135 17 -101
+<< locali >>
+rect -175 204 -79 238
+rect 79 204 175 238
+rect -175 141 -141 204
+rect 141 141 175 204
+rect -61 114 -27 130
+rect -61 -58 -27 -42
+rect 27 114 61 130
+rect 27 -58 61 -42
+rect -33 -135 -17 -101
+rect 17 -135 33 -101
+rect -175 -204 -141 -141
+rect 141 -204 175 -141
+rect -175 -238 175 -204
+<< viali >>
+rect -61 -42 -27 114
+rect 27 -42 61 114
+rect -17 -135 17 -101
+<< metal1 >>
+rect -67 114 -21 126
+rect -67 -42 -61 114
+rect -27 -42 -21 114
+rect -67 -54 -21 -42
+rect 21 114 67 126
+rect 21 -42 27 114
+rect 61 -42 67 114
+rect 21 -54 67 -42
+rect -29 -101 29 -95
+rect -29 -135 -17 -101
+rect 17 -135 29 -101
+rect -29 -141 29 -135
+<< properties >>
+string gencell sky130_fd_pr__pfet_01v8
+string FIXED_BBOX -158 -221 158 221
+string parameters w 0.9 l 0.15 m 1 nf 1 diffcov 100 polycov 100 guard 1 glc 1 grc 1 gtc 1 gbc 0 tbcov 100 rlcov 100 topc 0 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/sky130_fd_pr__pfet_01v8_H4M7SM.mag b/mag/VCO/sky130_fd_pr__pfet_01v8_H4M7SM.mag
index 0145651..07ddd72 100644
--- a/mag/VCO/sky130_fd_pr__pfet_01v8_H4M7SM.mag
+++ b/mag/VCO/sky130_fd_pr__pfet_01v8_H4M7SM.mag
@@ -1,7 +1,7 @@
 magic
 tech sky130A
 magscale 1 2
-timestamp 1608323403
+timestamp 1608331766
 << error_p >>
 rect -29 135 29 141
 rect -29 101 -17 135
diff --git a/mag/VCO/trans_gate.mag b/mag/VCO/trans_gate.mag
index 5713974..2ad0f26 100644
--- a/mag/VCO/trans_gate.mag
+++ b/mag/VCO/trans_gate.mag
@@ -1,7 +1,7 @@
 magic
 tech sky130A
 magscale 1 2
-timestamp 1608323403
+timestamp 1608331766
 << nwell >>
 rect -155 -46 436 733
 << pwell >>
@@ -37,11 +37,11 @@
 rect 344 -628 356 -467
 rect -73 -634 356 -628
 use sky130_fd_pr__nfet_01v8_UVCFM7  sky130_fd_pr__nfet_01v8_UVCFM7_0
-timestamp 1608323403
+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 1608323403
+timestamp 1608331766
 transform 1 0 146 0 1 233
 box -211 -274 211 274
 << labels >>
diff --git a/mag/sky130_fd_pr__nfet_01v8_UVCFM7.mag b/mag/sky130_fd_pr__nfet_01v8_UVCFM7.mag
new file mode 100644
index 0000000..a1b9e4e
--- /dev/null
+++ b/mag/sky130_fd_pr__nfet_01v8_UVCFM7.mag
@@ -0,0 +1,85 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608331766
+<< error_p >>
+rect -29 -52 29 -46
+rect -29 -86 -17 -52
+rect -29 -92 29 -86
+<< pwell >>
+rect -211 -224 211 224
+<< nmos >>
+rect -15 -14 15 76
+<< ndiff >>
+rect -73 64 -15 76
+rect -73 -2 -61 64
+rect -27 -2 -15 64
+rect -73 -14 -15 -2
+rect 15 64 73 76
+rect 15 -2 27 64
+rect 61 -2 73 64
+rect 15 -14 73 -2
+<< ndiffc >>
+rect -61 -2 -27 64
+rect 27 -2 61 64
+<< psubdiff >>
+rect -175 154 -79 188
+rect 79 154 175 188
+rect -175 92 -141 154
+rect 141 92 175 154
+rect -175 -154 -141 -92
+rect 141 -154 175 -92
+rect -175 -188 -79 -154
+rect 79 -188 175 -154
+<< psubdiffcont >>
+rect -79 154 79 188
+rect -175 -92 -141 92
+rect 141 -92 175 92
+rect -79 -188 79 -154
+<< poly >>
+rect -15 76 15 102
+rect -15 -36 15 -14
+rect -33 -52 33 -36
+rect -33 -86 -17 -52
+rect 17 -86 33 -52
+rect -33 -102 33 -86
+<< polycont >>
+rect -17 -86 17 -52
+<< locali >>
+rect -175 154 -79 188
+rect 79 154 175 188
+rect -175 92 -141 154
+rect 141 92 175 154
+rect -61 64 -27 80
+rect -61 -18 -27 -2
+rect 27 64 61 80
+rect 27 -18 61 -2
+rect -33 -86 -17 -52
+rect 17 -86 33 -52
+rect -175 -154 -141 -92
+rect 141 -154 175 -92
+rect -175 -188 -79 -154
+rect 79 -188 175 -154
+<< viali >>
+rect -61 -2 -27 64
+rect 27 -2 61 64
+rect -17 -86 17 -52
+<< metal1 >>
+rect -67 64 -21 76
+rect -67 -2 -61 64
+rect -27 -2 -21 64
+rect -67 -14 -21 -2
+rect 21 64 67 76
+rect 21 -2 27 64
+rect 61 -2 67 64
+rect 21 -14 67 -2
+rect -29 -52 29 -46
+rect -29 -86 -17 -52
+rect 17 -86 29 -52
+rect -29 -92 29 -86
+<< properties >>
+string gencell sky130_fd_pr__nfet_01v8
+string FIXED_BBOX -158 -171 158 171
+string parameters w 0.45 l 0.150 m 1 nf 1 diffcov 100 polycov 100 guard 1 glc 1 grc 1 gtc 1 gbc 1 tbcov 100 rlcov 100 topc 0 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/sky130_fd_pr__pfet_01v8_H4M7SM.mag b/mag/sky130_fd_pr__pfet_01v8_H4M7SM.mag
new file mode 100644
index 0000000..07ddd72
--- /dev/null
+++ b/mag/sky130_fd_pr__pfet_01v8_H4M7SM.mag
@@ -0,0 +1,85 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608331766
+<< error_p >>
+rect -29 135 29 141
+rect -29 101 -17 135
+rect -29 95 29 101
+<< nwell >>
+rect -211 -274 211 274
+<< pmos >>
+rect -15 -126 15 54
+<< pdiff >>
+rect -73 42 -15 54
+rect -73 -114 -61 42
+rect -27 -114 -15 42
+rect -73 -126 -15 -114
+rect 15 42 73 54
+rect 15 -114 27 42
+rect 61 -114 73 42
+rect 15 -126 73 -114
+<< pdiffc >>
+rect -61 -114 -27 42
+rect 27 -114 61 42
+<< nsubdiff >>
+rect -175 204 -79 238
+rect 79 204 175 238
+rect -175 141 -141 204
+rect 141 141 175 204
+rect -175 -204 -141 -141
+rect 141 -204 175 -141
+rect -175 -238 -79 -204
+rect 79 -238 175 -204
+<< nsubdiffcont >>
+rect -79 204 79 238
+rect -175 -141 -141 141
+rect 141 -141 175 141
+rect -79 -238 79 -204
+<< poly >>
+rect -33 135 33 151
+rect -33 101 -17 135
+rect 17 101 33 135
+rect -33 85 33 101
+rect -15 54 15 85
+rect -15 -152 15 -126
+<< polycont >>
+rect -17 101 17 135
+<< locali >>
+rect -175 204 -79 238
+rect 79 204 175 238
+rect -175 141 -141 204
+rect 141 141 175 204
+rect -33 101 -17 135
+rect 17 101 33 135
+rect -61 42 -27 58
+rect -61 -130 -27 -114
+rect 27 42 61 58
+rect 27 -130 61 -114
+rect -175 -204 -141 -141
+rect 141 -204 175 -141
+rect -175 -238 -79 -204
+rect 79 -238 175 -204
+<< viali >>
+rect -17 101 17 135
+rect -61 -114 -27 42
+rect 27 -114 61 42
+<< metal1 >>
+rect -29 135 29 141
+rect -29 101 -17 135
+rect 17 101 29 135
+rect -29 95 29 101
+rect -67 42 -21 54
+rect -67 -114 -61 42
+rect -27 -114 -21 42
+rect -67 -126 -21 -114
+rect 21 42 67 54
+rect 21 -114 27 42
+rect 61 -114 67 42
+rect 21 -126 67 -114
+<< properties >>
+string gencell sky130_fd_pr__pfet_01v8
+string FIXED_BBOX -158 -221 158 221
+string parameters w 0.9 l 0.15 m 1 nf 1 diffcov 100 polycov 100 guard 1 glc 1 grc 1 gtc 1 gbc 1 tbcov 100 rlcov 100 topc 1 botc 0 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/trans_gate.mag b/mag/trans_gate.mag
new file mode 100644
index 0000000..2ad0f26
--- /dev/null
+++ b/mag/trans_gate.mag
@@ -0,0 +1,54 @@
+magic
+tech sky130A
+magscale 1 2
+timestamp 1608331766
+<< nwell >>
+rect -155 -46 436 733
+<< pwell >>
+rect -119 -447 408 -79
+rect -119 -701 409 -447
+<< psubdiff >>
+rect -61 -529 344 -467
+rect -61 -622 -32 -529
+rect 317 -622 344 -529
+rect -61 -628 344 -622
+<< nsubdiff >>
+rect -92 446 390 681
+<< psubdiffcont >>
+rect -32 -622 317 -529
+<< viali >>
+rect -94 445 388 679
+rect -61 -529 344 -467
+rect -61 -622 -32 -529
+rect -32 -622 317 -529
+rect 317 -622 344 -529
+rect -61 -628 344 -622
+<< metal1 >>
+rect -106 679 400 685
+rect -106 445 -94 679
+rect 388 445 400 679
+rect -106 439 400 445
+rect -155 320 178 379
+rect 71 -317 122 287
+rect 166 -317 217 287
+rect -157 -404 176 -345
+rect -73 -467 356 -461
+rect -73 -628 -61 -467
+rect 344 -628 356 -467
+rect -73 -634 356 -628
+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
+rlabel metal1 71 -317 122 287 1 in
+rlabel metal1 166 -317 217 287 1 out
+rlabel metal1 -155 320 178 379 1 clk_p
+rlabel viali -94 445 388 679 1 vdd
+<< end >>