Merge pull request #102 from StefanSchippers/main

Improve transistor definitions in xschem lvs export
diff --git a/cells/xschem/symbols/nmos_3p3.sym b/cells/xschem/symbols/nmos_3p3.sym
index c4fc225..99ce759 100644
--- a/cells/xschem/symbols/nmos_3p3.sym
+++ b/cells/xschem/symbols/nmos_3p3.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=0.28u
 W=0.22u
diff --git a/cells/xschem/symbols/nmos_3p3_sab.sym b/cells/xschem/symbols/nmos_3p3_sab.sym
index 7b547a6..044b4b0 100644
--- a/cells/xschem/symbols/nmos_3p3_sab.sym
+++ b/cells/xschem/symbols/nmos_3p3_sab.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=0.28u
 W=0.22u
diff --git a/cells/xschem/symbols/nmos_6p0.sym b/cells/xschem/symbols/nmos_6p0.sym
index 85168ef..7f2d384 100644
--- a/cells/xschem/symbols/nmos_6p0.sym
+++ b/cells/xschem/symbols/nmos_6p0.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=0.70u
 W=0.30u
diff --git a/cells/xschem/symbols/nmos_6p0_nat.sym b/cells/xschem/symbols/nmos_6p0_nat.sym
index bbd8fbf..d58f3dd 100644
--- a/cells/xschem/symbols/nmos_6p0_nat.sym
+++ b/cells/xschem/symbols/nmos_6p0_nat.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=1.80u
 W=0.80u
diff --git a/cells/xschem/symbols/pmos_3p3.sym b/cells/xschem/symbols/pmos_3p3.sym
index 7967c27..a50af80 100644
--- a/cells/xschem/symbols/pmos_3p3.sym
+++ b/cells/xschem/symbols/pmos_3p3.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=0.28u
 W=0.22u
diff --git a/cells/xschem/symbols/pmos_3p3_sab.sym b/cells/xschem/symbols/pmos_3p3_sab.sym
index 5cf931d..25958c6 100644
--- a/cells/xschem/symbols/pmos_3p3_sab.sym
+++ b/cells/xschem/symbols/pmos_3p3_sab.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=0.28u
 W=0.22u
diff --git a/cells/xschem/symbols/pmos_6p0.sym b/cells/xschem/symbols/pmos_6p0.sym
index 4914e02..8e0ef25 100644
--- a/cells/xschem/symbols/pmos_6p0.sym
+++ b/cells/xschem/symbols/pmos_6p0.sym
@@ -21,6 +21,7 @@
 + nf=@nf ad=@ad as=@as pd=@pd ps=@ps
 + nrd=@nrd nrs=@nrs sa=@sa sb=@sb sd=@sd
 + m=@m"
+lvs_format="@name @pinlist @model L=@L W=@W nf=@nf m=@m"
 template="name=M1
 L=0.50u
 W=0.30u
diff --git a/cells/xschem/symbols/vnpn_10x10.sym b/cells/xschem/symbols/vnpn_10x10.sym
index e679a98..eddfef1 100644
--- a/cells/xschem/symbols/vnpn_10x10.sym
+++ b/cells/xschem/symbols/vnpn_10x10.sym
@@ -33,7 +33,7 @@
 B 5 17.5 -32.5 22.5 -27.5 {name=C dir=inout pinnumber=3}
 B 5 -22.5 -2.5 -17.5 2.5 {name=B dir=in pinnumber=1}
 B 5 17.5 27.5 22.5 32.5 {name=E dir=inout pinnumber=2}
-B 5 17.5 -2.5 22.5 2.5 {name=B dir=in pinnumber=1}
+B 5 17.5 -2.5 22.5 2.5 {name=S dir=in pinnumber=1}
 P 4 4 20 30 13.75 13.75 3.75 23.75 20 30 {fill=true}
 T {m=@m} 22.5 11.25 0 0 0.2 0.2 {layer=13}
 T {@model} 22.5 -15 0 0 0.2 0.2 {}