Changed the extraction declaration for varactor devices (*_cap_var_*)
in the magic tech file so that it properly extracts the substrate as
the bulk terminal, instead of the nwell. Also removed the output of
source and drain area and perimeter, as those are not used by the
device model.
diff --git a/VERSION b/VERSION
index fcb1b3a..c8d4d5a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.309
+1.0.310
diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech
index e2c2e97..a332746 100644
--- a/sky130/magic/sky130.tech
+++ b/sky130/magic/sky130.tech
@@ -6429,11 +6429,11 @@
*ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \
a1=as p1=ps a2=ad p2=pd
device subcircuit sky130_fd_pr__cap_var_lvt varactor \
- *nndiff nwell error l=l w=w a1=as a2=ad p1=ps p2=pd
+ *nndiff pwell,space/w error l=l w=w
device subcircuit sky130_fd_pr__cap_var_hvt varhvt \
- *nndiff nwell error l=l w=w a1=as a2=ad p1=ps p2=pd
+ *nndiff pwell,space/w error l=l w=w
device subcircuit sky130_fd_pr__cap_var mvvaractor \
- *mvnndiff nwell error l=l w=w a1=as a2=ad p1=ps p2=pd
+ *mvnndiff pwell,space/w error l=l w=w
# Bipolars
device msubcircuit sky130_fd_pr__npn_05v5_W1p00L1p00 npn *ndiff dnwell space/w \