Rail connection
diff --git a/mag/VCO.mag b/mag/VCO.mag
index db8b1d0..b22c481 100644
--- a/mag/VCO.mag
+++ b/mag/VCO.mag
@@ -1,7 +1,7 @@
magic
tech sky130A
magscale 1 2
-timestamp 1662920576
+timestamp 1662952744
<< locali >>
rect 33895 33140 34005 33155
rect 33895 33085 33910 33140
@@ -626,39 +626,39 @@
transform 1 0 46065 0 1 21045
box 9175 3425 16085 12111
use buffer_amp_vop X3
-timestamp 1662863789
+timestamp 1662952744
transform 1 0 26070 0 1 10600
box 10225 10400 29180 26030
use cap_bank X4
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 52305 0 -1 34725
box 3300 -1540 5112 5514
use cap_bank X5
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 54405 0 -1 34725
box 3300 -1540 5112 5514
use cap_bank X6
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 52305 0 1 22905
box 3300 -1540 5112 5514
use cap_bank X7
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 54405 0 1 22905
box 3300 -1540 5112 5514
use cap_bank X8
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 56505 0 1 22905
box 3300 -1540 5112 5514
use cap_bank X9
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 58605 0 1 22905
box 3300 -1540 5112 5514
use cap_bank X10
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 56505 0 -1 34725
box 3300 -1540 5112 5514
use cap_bank X11
-timestamp 1662665204
+timestamp 1662952744
transform 1 0 58605 0 -1 34725
box 3300 -1540 5112 5514
use bias_calc bias_calc_0
diff --git a/mag/buffer_amp.mag b/mag/buffer_amp.mag
index efa1e86..0f3ef21 100644
--- a/mag/buffer_amp.mag
+++ b/mag/buffer_amp.mag
@@ -1,7 +1,7 @@
magic
tech sky130A
magscale 1 2
-timestamp 1662405622
+timestamp 1662952744
<< pwell >>
rect 7710 2035 7715 2140
<< locali >>
@@ -344,11 +344,11 @@
transform 0 -1 6910 -1 0 2547
box -647 -310 647 310
use sky130_fd_pr__nfet_01v8_lvt_648S5X XM2
-timestamp 1662404926
+timestamp 1662671450
transform 0 1 6910 -1 0 1611
box -211 -310 211 310
use sky130_fd_pr__nfet_01v8_lvt_648S5X XM3
-timestamp 1662404926
+timestamp 1662671450
transform 0 1 7610 -1 0 1611
box -211 -310 211 310
use sky130_fd_pr__nfet_01v8_lvt_9DHFGX XM4
diff --git a/mag/buffer_amp_vop.mag b/mag/buffer_amp_vop.mag
index 0401df1..68b795a 100644
--- a/mag/buffer_amp_vop.mag
+++ b/mag/buffer_amp_vop.mag
@@ -1,7 +1,7 @@
magic
tech sky130A
magscale 1 2
-timestamp 1662863789
+timestamp 1662952744
<< locali >>
rect 24600 25950 24740 25990
rect 19760 21370 20200 21410
@@ -212,19 +212,19 @@
<< metal4 >>
rect 10225 20205 10250 20270
use buffer_amp X1
-timestamp 1662405622
+timestamp 1662952744
transform 1 0 15140 0 1 17350
box 5000 1400 9520 8676
use buffer_amp X2
-timestamp 1662405622
+timestamp 1662952744
transform 1 0 19660 0 -1 19081
box 5000 1400 9520 8676
use buffer_amp X3
-timestamp 1662405622
+timestamp 1662952744
transform 1 0 15140 0 -1 19081
box 5000 1400 9520 8676
use buffer_amp X4
-timestamp 1662405622
+timestamp 1662952744
transform 1 0 19660 0 1 17350
box 5000 1400 9520 8676
use amp_dec X5
diff --git a/mag/cap_bank.mag b/mag/cap_bank.mag
index 7000552..a35cfac 100644
--- a/mag/cap_bank.mag
+++ b/mag/cap_bank.mag
@@ -1,7 +1,7 @@
magic
tech sky130A
magscale 1 2
-timestamp 1662665204
+timestamp 1662952744
<< locali >>
rect 4525 -40 4560 105
rect 5040 -40 5075 105
@@ -317,11 +317,11 @@
transform 1 0 3851 0 1 -229
box -551 -301 573 301
use sky130_fd_pr__nfet_01v8_lvt_648S5X XM1
-timestamp 1662404926
+timestamp 1662671450
transform 0 1 4010 -1 0 -1329
box -211 -310 211 310
use sky130_fd_pr__nfet_01v8_lvt_648S5X XM2
-timestamp 1662404926
+timestamp 1662671450
transform 0 1 4800 -1 0 -1329
box -211 -310 211 310
use sky130_fd_pr__nfet_01v8_lvt_DJ7QE5 XM3
diff --git a/mag/user_analog_project_wrapper.mag b/mag/user_analog_project_wrapper.mag
index 4dceac9..6b4506f 100644
--- a/mag/user_analog_project_wrapper.mag
+++ b/mag/user_analog_project_wrapper.mag
@@ -1,7 +1,7 @@
magic
tech sky130A
magscale 1 2
-timestamp 1662952123
+timestamp 1662953985
<< metal1 >>
rect 14920 682870 15420 682910
rect 14920 682040 14960 682870
@@ -601,11 +601,15 @@
rect 329294 702300 334294 704800
rect 413394 702300 418394 704800
rect 465394 702300 470394 704800
-rect 510594 702340 515394 704800
-rect 520594 702340 525394 704800
-rect 566594 702300 571594 704800
+rect 510594 703000 515394 704800
+rect 520594 703000 525394 704800
rect 17070 689360 19380 702300
rect 68470 689480 70760 702300
+rect 510000 702000 526000 703000
+rect 566594 702300 571594 704800
+rect 510000 694000 511000 702000
+rect 525000 694000 526000 702000
+rect 510000 693000 526000 694000
rect 42500 689440 70760 689480
rect 17070 689330 26050 689360
rect 17070 688210 41870 689330
@@ -633,10 +637,16 @@
rect 23190 668680 23210 669080
rect 23370 668680 23390 669080
rect 23190 668640 23390 668680
-rect -800 643842 944 648642
+rect -800 648600 944 648642
+rect -800 647000 80246 648600
+rect -800 643842 73000 647000
+rect 246 638642 73000 643842
+rect -800 635000 73000 638642
+rect 79000 635000 80246 647000
+rect -800 633842 80246 635000
+rect 246 633838 80246 633842
rect 570200 644584 583800 644600
rect 570200 643000 584800 644584
-rect -800 633842 944 638642
rect 570200 631000 572000 643000
rect 580000 639784 584800 643000
rect 580000 634584 583800 639784
@@ -654,9 +664,12 @@
rect -800 559570 860 564080
rect 4260 559570 4430 564080
rect -800 559442 4430 559570
-rect 680 554242 4430 559442
-rect -800 549442 4430 554242
+rect 680 555000 4430 559442
+rect 680 554242 1000 555000
+rect -800 550000 1000 554242
+rect 4000 550000 4430 555000
rect 582340 550562 584800 555362
+rect -800 549442 4430 550000
rect 680 549410 4430 549442
rect 582340 540562 584800 545362
rect -800 511530 480 511642
@@ -841,11 +854,14 @@
rect -800 1544 480 1656
rect 583520 1544 584800 1656
<< via3 >>
+rect 511000 694000 525000 702000
rect 42560 688410 43180 689440
rect 40770 676130 41640 677240
rect 23210 668680 23370 669080
+rect 73000 635000 79000 647000
rect 572000 631000 580000 643000
rect 860 559570 4260 564080
+rect 1000 550000 4000 555000
rect 11600 172300 20200 177600
<< metal4 >>
rect 165594 702300 170594 704800
@@ -854,6 +870,9 @@
rect 227594 702300 232594 704800
rect 318994 702300 323994 704800
rect 329294 702300 334294 704800
+rect 510000 702000 526000 703000
+rect 510000 694000 511000 702000
+rect 525000 694000 526000 702000
rect 42500 689440 43450 689470
rect 42500 688410 42560 689440
rect 43180 688410 43450 689440
@@ -873,14 +892,14 @@
rect 23370 668680 23390 669080
rect 23190 608120 23390 668680
rect 26600 633690 28120 662640
-rect 570000 643000 582000 645000
+rect 72999 647000 79001 647001
+rect 72999 635000 73000 647000
+rect 79000 635000 79001 647000
+rect 72999 634999 79001 635000
rect 26090 633500 28790 633690
rect 26090 631620 26270 633500
rect 28580 631620 28790 633500
rect 26090 631490 28790 631620
-rect 570000 631000 572000 643000
-rect 580000 631000 582000 643000
-rect 570000 630000 582000 631000
rect 32100 620300 39650 620900
rect 32100 614050 32850 620300
rect 38700 614050 39650 620300
@@ -890,7 +909,23 @@
rect 690 559570 860 564080
rect 4260 559570 4450 564080
rect 690 559400 4450 559570
+rect 999 555000 4001 555001
+rect 999 550000 1000 555000
+rect 4000 550000 4001 555000
+rect 999 549999 4001 550000
rect 30150 178000 39650 613600
+rect 238200 570900 240100 574000
+rect 238200 568100 239300 570900
+rect 238200 563700 240200 568100
+rect 239700 558000 240200 563700
+rect 510000 563000 526000 694000
+rect 570000 643000 582000 645000
+rect 570000 631000 572000 643000
+rect 580000 631000 582000 643000
+rect 570000 630000 582000 631000
+rect 510000 555000 511000 563000
+rect 525000 555000 526000 563000
+rect 510000 554000 526000 555000
rect 11100 177600 39650 178000
rect 11100 172300 11600 177600
rect 20200 172300 39650 177600
@@ -898,10 +933,14 @@
rect 11100 171900 34150 171950
<< via4 >>
rect 60910 675440 65380 675970
+rect 73000 635000 79000 647000
rect 26270 631620 28580 633500
-rect 572000 631000 580000 643000
rect 32850 614050 38700 620300
rect 860 559570 4260 564080
+rect 1000 550000 4000 555000
+rect 238200 558000 239700 563700
+rect 572000 631000 580000 643000
+rect 511000 555000 525000 563000
<< metal5 >>
rect 165594 702300 170594 704800
rect 175894 702300 180894 704800
@@ -927,26 +966,44 @@
rect 38700 614050 51000 620300
rect 32150 613550 51000 614050
rect 60820 564330 65590 652300
-rect 564000 643000 582000 645000
-rect 564000 631000 572000 643000
+rect 72976 647000 79024 647024
+rect 72976 635000 73000 647000
+rect 79000 643000 582000 647000
+rect 79000 635000 572000 643000
+rect 72976 634976 79024 635000
+rect 564000 631000 572000 635000
rect 580000 631000 582000 643000
rect 564000 630000 582000 631000
rect 26080 564320 65590 564330
rect 1770 564270 65590 564320
rect 690 564080 65590 564270
rect 690 559570 860 564080
-rect 4260 559570 65590 564080
-rect 690 559400 65590 559570
-rect 1770 559390 30940 559400
+rect 4260 564000 65590 564080
+rect 4260 563700 526000 564000
+rect 4260 559570 238200 563700
+rect 690 559400 238200 559570
+rect 1000 558000 238200 559400
+rect 239700 563000 526000 563700
+rect 239700 558000 511000 563000
+rect 1000 555024 511000 558000
+rect 976 555000 511000 555024
+rect 525000 555000 526000 563000
+rect 976 550000 1000 555000
+rect 4000 550000 526000 555000
+rect 976 549976 4024 550000
<< comment >>
rect -100 704000 584100 704100
rect -100 0 0 704000
rect 584000 0 584100 704000
rect -100 -100 584100 0
+use BGR_lvs BGR_lvs_0
+timestamp 1662916664
+transform 1 0 254230 0 1 568403
+box -14230 -10403 62405 12600
use VCO VCO_0
-timestamp 1662950076
+timestamp 1662952744
transform 1 0 -7837 0 1 638742
-box 31141 20430 65400 41698
+box 31141 20430 65400 41673
<< labels >>
flabel metal3 s 583520 269230 584800 269342 0 FreeSans 1120 0 0 0 gpio_analog[0]
port 0 nsew signal bidirectional