lvs runs now (needed the testbech on the schematic side to get the includes). They don't match.
diff --git a/mag/cellA.mag b/mag/cellA.mag index 350bffb..d26a0d7 100644 --- a/mag/cellA.mag +++ b/mag/cellA.mag
@@ -1,9 +1,10 @@ magic tech sky130A magscale 1 2 -timestamp 1621483314 +timestamp 1621484808 << metal2 >> rect -390 2430 40 2670 +rect -404 2000 142 2398 use sky130_fd_pr__res_high_po_0p35_L6NJBM sky130_fd_pr__res_high_po_0p35_L6NJBM_0 timestamp 1621480569 transform 0 1 742 -1 0 2619 @@ -13,11 +14,11 @@ transform 1 0 -252 0 1 2198 box -138 -288 138 288 << labels >> -rlabel space -144 2194 -144 2194 1 in -port 2 n +rlabel metal2 -144 2194 -144 2194 1 in +port 0 n rlabel space -238 1936 -238 1936 1 vss rlabel metal2 -200 2538 -200 2538 1 out port 1 n rlabel space 1662 2616 1662 2616 1 vdd -port 0 n +port 2 n << end >>
diff --git a/netgen/lvs_cellA.sh b/netgen/lvs_cellA.sh index 5af2621..726b2ae 100755 --- a/netgen/lvs_cellA.sh +++ b/netgen/lvs_cellA.sh
@@ -1 +1 @@ -netgen -batch lvs "../mag/cellA.spice cellA" "../xschem/cellA.spice cellA" /usr/share/pdk/sky130A/libs.tech/netgen/sky130A_setup.tcl comp.out +netgen -batch lvs "../mag/cellA.spice cellA" "../xschem/cellA_tb.spice cellA" /usr/share/pdk/sky130A/libs.tech/netgen/sky130A_setup.tcl comp.out