power grid/dist on top cell
diff --git a/gds/top_cell.GDS b/gds/top_cell.GDS
index 9178972..8bf4a71 100644
--- a/gds/top_cell.GDS
+++ b/gds/top_cell.GDS
Binary files differ
diff --git a/xschem/user_analog_project_wrapper.sch b/xschem/user_analog_project_wrapper.sch
index 3b01db6..c8ce88c 100644
--- a/xschem/user_analog_project_wrapper.sch
+++ b/xschem/user_analog_project_wrapper.sch
@@ -72,10 +72,6 @@
 lab=vdd2}
 N 870 -420 870 -360 {
 lab=vdd1}
-N 800 -380 800 -360 {
-lab=vbias}
-N 780 -380 800 -380 {
-lab=vbias}
 N 930 -300 1000 -300 {
 lab=pd_out}
 N 80 -400 210 -400 {
@@ -102,13 +98,30 @@
 lab=vdd4}
 N 310 -500 310 -460 {
 lab=gnd4}
+N 800 -460 800 -360 {
+lab=#net3}
+N 790 -460 820 -460 {
+lab=#net3}
+N 780 -460 790 -460 {
+lab=#net3}
+N 620 -460 720 -460 {
+lab=vdd2}
+N 620 -460 620 -420 {
+lab=vdd2}
+N 560 -420 620 -420 {
+lab=vdd2}
+N 880 -460 1100 -460 {
+lab=gnd1}
+N 1100 -460 1100 -220 {
+lab=gnd1}
+N 840 -220 1100 -220 {
+lab=gnd1}
 C {/Volumes/WORK_DRIVE/caravel_automatic_gain_control/xschem/attenuator/dsa.sym} 30 -20 0 0 {name=XDSA1}
 C {/Volumes/WORK_DRIVE/caravel_automatic_gain_control/xschem/attenuator/dsa.sym} 30 -580 2 1 {name=XDSA2}
 C {/Volumes/WORK_DRIVE/caravel_automatic_gain_control/xschem/lownoiseamplifier/cmfb-negfb-revision.sym} 300 -80 0 0 {name=XLNA1}
 C {/Volumes/WORK_DRIVE/caravel_automatic_gain_control/xschem/powerdetector/balaced-pd.sym} 690 -200 0 0 {name=X1}
 C {ipin.sym} 80 -400 0 0 {name=in1 lab=in1}
 C {ipin.sym} 80 -200 0 0 {name=in2 lab=in2}
-C {ipin.sym} 780 -380 0 0 {name=vbias lab=vbias}
 C {ipin.sym} 920 -420 2 0 {name=vdd1 lab=vdd1}
 C {ipin.sym} 920 -180 2 0 {name=gnd1 lab=gnd1}
 C {ipin.sym} 160 -340 0 0 {name=ctr1 lab=dsa_ctr1}
@@ -137,3 +150,13 @@
 C {ipin.sym} 560 -420 1 0 {name=vdd2 lab=vdd2}
 C {ipin.sym} 270 -100 3 0 {name=vdd3 lab=vdd3}
 C {ipin.sym} 270 -500 1 0 {name=vdd5 lab=vdd4}
+C {/Volumes/WORK_DRIVE/open_pdks/sky130/sky130A/libs.tech/xschem/sky130_fd_pr/res_generic_po.sym} 750 -460 1 1 {name=R7
+W=1
+L=1
+model=res_generic_po
+mult=1}
+C {/Volumes/WORK_DRIVE/open_pdks/sky130/sky130A/libs.tech/xschem/sky130_fd_pr/res_generic_po.sym} 850 -460 1 1 {name=R1
+W=1
+L=1
+model=res_generic_po
+mult=1}
diff --git a/xschem/user_analog_project_wrapper.sym b/xschem/user_analog_project_wrapper.sym
index 8abffaa..0716644 100644
--- a/xschem/user_analog_project_wrapper.sym
+++ b/xschem/user_analog_project_wrapper.sym
@@ -34,7 +34,6 @@
 L 4 160 -320 200 -320 {}
 L 4 160 -300 200 -300 {}
 L 4 160 -200 200 -200 {}
-L 4 160 -170 200 -170 {}
 L 4 160 -140 200 -140 {}
 L 4 160 -120 200 -120 {}
 B 5 157.5 -362.5 162.5 -357.5 {name=vdd1
@@ -61,8 +60,6 @@
 dir=in}
 B 5 157.5 -202.5 162.5 -197.5 {name=ctr4
 dir=in}
-B 5 157.5 -172.5 162.5 -167.5 {name=vbias
-dir=in}
 B 5 157.5 -142.5 162.5 -137.5 {name=in1
 dir=in}
 B 5 157.5 -122.5 162.5 -117.5 {name=in2
@@ -79,7 +76,6 @@
 T {dsa_ctr2} 205 -245 0 0 0.2 0.2 {}
 T {dsa_ctr3} 205 -225 0 0 0.2 0.2 {}
 T {dsa_ctr4} 205 -205 0 0 0.2 0.2 {}
-T {vbias} 205 -175 0 0 0.2 0.2 {}
 T {in1} 205 -145 0 0 0.2 0.2 {}
 T {in2} 205 -125 0 0 0.2 0.2 {}
 T {out1} 375 -145 0 0 0.2 0.2 {}