From cab6aad2b8236079f8d87eddcc3d36fa8444f1a7 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Mon, 6 Feb 2023 15:44:07 +0100 Subject: [PATCH 1/2] add lvs_format attribute to all nfet and pfet transistors for LVS --- cells/xschem/symbols/nmos_3p3.sym | 1 + cells/xschem/symbols/nmos_3p3_sab.sym | 1 + cells/xschem/symbols/nmos_6p0.sym | 1 + cells/xschem/symbols/nmos_6p0_nat.sym | 1 + cells/xschem/symbols/pmos_3p3.sym | 1 + cells/xschem/symbols/pmos_3p3_sab.sym | 1 + cells/xschem/symbols/pmos_6p0.sym | 1 + 7 files changed, 7 insertions(+) diff --git a/cells/xschem/symbols/nmos_3p3.sym b/cells/xschem/symbols/nmos_3p3.sym index c4fc2254..99ce7599 100644 --- a/cells/xschem/symbols/nmos_3p3.sym +++ b/cells/xschem/symbols/nmos_3p3.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 7b547a60..044b4b03 100644 --- a/cells/xschem/symbols/nmos_3p3_sab.sym +++ b/cells/xschem/symbols/nmos_3p3_sab.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 85168ef8..7f2d384c 100644 --- a/cells/xschem/symbols/nmos_6p0.sym +++ b/cells/xschem/symbols/nmos_6p0.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 bbd8fbf2..d58f3dd3 100644 --- a/cells/xschem/symbols/nmos_6p0_nat.sym +++ b/cells/xschem/symbols/nmos_6p0_nat.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 7967c27a..a50af809 100644 --- a/cells/xschem/symbols/pmos_3p3.sym +++ b/cells/xschem/symbols/pmos_3p3.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 5cf931dc..25958c67 100644 --- a/cells/xschem/symbols/pmos_3p3_sab.sym +++ b/cells/xschem/symbols/pmos_3p3_sab.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 4914e029..8e0ef257 100644 --- a/cells/xschem/symbols/pmos_6p0.sym +++ b/cells/xschem/symbols/pmos_6p0.sym @@ -21,6 +21,7 @@ format="@spiceprefix@name @pinlist @model L=@L W=@W + 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 From 8d9d66f33acff4fdcfdc6453ef88e9bcff07e2ce Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 7 Feb 2023 10:36:12 +0100 Subject: [PATCH 2/2] fix substrate pin of vnpn_10x10.sym (was named "B" instead of "S") --- cells/xschem/symbols/vnpn_10x10.sym | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cells/xschem/symbols/vnpn_10x10.sym b/cells/xschem/symbols/vnpn_10x10.sym index e679a982..eddfef13 100644 --- a/cells/xschem/symbols/vnpn_10x10.sym +++ b/cells/xschem/symbols/vnpn_10x10.sym @@ -33,7 +33,7 @@ L 4 0 -10 20 -30 {} 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 {}