Merge pull request #386 from arpadbuermen/master

Updated devices/*.sym with VACASK syntax where applicable
This commit is contained in:
StefanSchippers 2025-08-19 08:41:29 +02:00 committed by GitHub
commit 220081adc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
35 changed files with 60 additions and 4 deletions

View File

@ -22,6 +22,9 @@ v {xschem version=3.4.5 file_version=1.2
G {} G {}
K {type=polarized_capacitor K {type=polarized_capacitor
format="@name @pinlist @value m=@m" format="@name @pinlist @value m=@m"
spectre_format="@name ( @pinlist ) capacitor c=@value $mfactor=@m"
spectre_device_model="load \\"capacitor.osdi\\"
model capacitor capacitor"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value
device @name @device device @name @device

View File

@ -22,6 +22,9 @@ v {xschem version=3.4.5 file_version=1.2
G {} G {}
K {type=capacitor K {type=capacitor
format="@name @pinlist @value m=@m" format="@name @pinlist @value m=@m"
spectre_format="@name ( @pinlist ) capacitor c=@value $mfactor=@m"
spectre_device_model="load \\"capacitor.osdi\\"
model capacitor capacitor"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value
device @name @device device @name @device

View File

@ -22,6 +22,8 @@ v {xschem version=3.4.6RC file_version=1.2
G {} G {}
K {type=vcvs K {type=vcvs
format="@name @pinlist @vnam @value" format="@name @pinlist @vnam @value"
spectre_format="@name ( @pinlist ) cccs ctlinst=@vnam gain=@value"
spectre_device_model="model cccs cccs"
template="name=F1 vnam=v1 value=1"} template="name=F1 vnam=v1 value=1"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,8 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=vcvs K {type=vcvs
format="@name @pinlist @vnam @value" format="@name @pinlist @vnam @value"
spectre_format="@name ( @pinlist ) ccvs ctlinst=@vnam gain=@value"
spectre_device_model="model ccvs ccvs"
template="name=H1 vnam=v1 value=1"} template="name=H1 vnam=v1 value=1"}
V {} V {}
S {} S {}

View File

@ -23,6 +23,9 @@ G {type=netlist_commands
template="name=s1 only_toplevel=false value=blabla" template="name=s1 only_toplevel=false value=blabla"
format=" format="
@value @value
"
spectre_format="
@value
"} "}
V {} V {}
S {} S {}

View File

@ -24,6 +24,9 @@ K {type=netlist_commands
template="name=s1 only_toplevel=false value=blabla" template="name=s1 only_toplevel=false value=blabla"
format=" format="
@value @value
"
spectre_format="
@value
"} "}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=diode K {type=diode
format="@name @pinlist @model area=@area" format="@name @pinlist @model area=@area"
spectre_format="@name ( @pinlist ) @model area=@area"
function1="U H 0 m" function1="U H 0 m"
function0="L U 1 m" function0="L U 1 m"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint

View File

@ -22,6 +22,9 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=inductor K {type=inductor
format="@name @pinlist @value m=@m" format="@name @pinlist @value m=@m"
spectre_format="@name ( @pinlist ) inductor l=@value $mfactor=@m"
spectre_device_model="load \\"inductor.osdi\\"
model inductor inductor"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value
device @name @device device @name @device

View File

@ -21,6 +21,8 @@ v {xschem version=3.4.4 file_version=1.2
} }
G {type=coupler G {type=coupler
format="@name @L1 @L2 @K" format="@name @L1 @L2 @K"
spectre_format="@name ( ) mutual ind1=@L1 ind2=@L2 k=@K"
spectre_device_model="model mutual mutual"
template="name=K1 K=0.9 L1=L1 L2=L2"} template="name=K1 K=0.9 L1=L1 L2=L2"}
V {} V {}
S {} S {}

View File

@ -23,6 +23,9 @@ G {type=netlist_commands
template="name=s1 value=blabla" template="name=s1 value=blabla"
format=" format="
@value @value
"
spectre_format="
@value
"} "}
V {} V {}
S {} S {}

View File

@ -24,6 +24,9 @@ place=end
template="name=s1 value=blabla" template="name=s1 value=blabla"
format=" format="
@value @value
"
spectre_format="
@value
"} "}
V {} V {}
S {} S {}

View File

@ -23,6 +23,9 @@ G {type=netlist_commands
template="name=s1 only_toplevel=false value=blabla" template="name=s1 only_toplevel=false value=blabla"
format=" format="
@value @value
"
spectre_format="
@value
"} "}
V {} V {}
S {} S {}

View File

@ -26,6 +26,9 @@ verilog_ignore=true
template="name=s1 value=blabla" template="name=s1 value=blabla"
format=" format="
@value @value
"
spectre_format="
@value
"} "}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=njfet K {type=njfet
format="@spiceprefix@name @pinlist @model area=@area @extra m=@m" format="@spiceprefix@name @pinlist @model area=@area @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model area=@area @extra $mfactor=@m"
template="name=J1 model=njfet area=1 m=1" template="name=J1 model=njfet area=1 m=1"
} }
V {} V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=nmos K {type=nmos
format="@name @pinlist @substrate @model w=@w l=@l m=@m" format="@name @pinlist @substrate @model w=@w l=@l m=@m"
spectre_format="@name ( @pinlist @substrate ) @model w=@w l=@l $mfactor=@m"
template="name=M1 model=nmos substrate=VSS w=5u l=0.18u m=1"} template="name=M1 model=nmos substrate=VSS w=5u l=0.18u m=1"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=nmos K {type=nmos
format="@spiceprefix@name @pinlist @model @extra m=@m" format="@spiceprefix@name @pinlist @model @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model @extra $mfactor=@m"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=nmos K {type=nmos
format="@name @pinlist @model m=@m" format="@name @pinlist @model m=@m"
spectre_format="@name ( @pinlist ) @model m=@m"
template="name=X1 model=irf540 m=1"} template="name=X1 model=irf540 m=1"}
V {} V {}
S {} S {}

View File

@ -25,8 +25,7 @@ format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m"
template="name=M1 model=nmos w=5u l=0.18u del=0 m=1" template="name=M1 model=nmos w=5u l=0.18u del=0 m=1"
verilog_format="nmos #@del @name ( @@d , @@s , @@g );" verilog_format="nmos #@del @name ( @@d , @@s , @@g );"
spectre_format="@name ( @pinlist ) @model w=@w l=@l @extra $mfactor=@m" spectre_format="@name ( @pinlist ) @model w=@w l=@l @extra $mfactor=@m"
}
spectre_device_model="load \\"nmos.osdi\\""}
V {} V {}
S {} S {}
F {} F {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=nmos K {type=nmos
format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m" format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model w=@w l=@l @extra $mfactor=@m"
template="name=M1 model=nmos_depl w=5u l=0.18u del=0 m=1" template="name=M1 model=nmos_depl w=5u l=0.18u del=0 m=1"
verilog_format="rnmos #@del @name ( @@s , @@d , @@d );"} verilog_format="rnmos #@del @name ( @@s , @@d , @@d );"}
V {} V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=npn K {type=npn
format="@name @pinlist @model area=@area m=@m" format="@name @pinlist @model area=@area m=@m"
spectre_format="@name ( @pinlist ) @model area=@area $mfactor=@m"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value

View File

@ -21,7 +21,8 @@ v {xschem version=3.4.4 file_version=1.2
} }
G {type=spice_parameters G {type=spice_parameters
template="name=s1 value=\\"w=10u\\"" template="name=s1 value=\\"w=10u\\""
format=".param @value"} format=".param @value"
spectre_format="parameters @value"}
V {} V {}
S {} S {}
E {} E {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=pjfet K {type=pjfet
format="@spiceprefix@name @pinlist @model area=@area @extra m=@m" format="@spiceprefix@name @pinlist @model area=@area @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model area=@area @extra $mfactor=@m"
template="name=J1 model=pjfet area=1 m=1" template="name=J1 model=pjfet area=1 m=1"
} }
V {} V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=pmos K {type=pmos
format="@name @pinlist @substrate @model w=@w l=@l m=@m" format="@name @pinlist @substrate @model w=@w l=@l m=@m"
spectre_format="@name ( @pinlist @substrate ) @model w=@w l=@l $mfactor=@m"
template="name=M1 model=pmos substrate=VCC w=5u l=0.18u m=1"} template="name=M1 model=pmos substrate=VCC w=5u l=0.18u m=1"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=pmos K {type=pmos
format="@spiceprefix@name @pinlist @model @extra m=@m" format="@spiceprefix@name @pinlist @model @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model @extra $mfactor=@m"
verilog_format="@symname #@del @name ( @@d , @@s , @@g );" verilog_format="@symname #@del @name ( @@d , @@s , @@g );"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.7RC file_version=1.2
G {} G {}
K {type=pmos K {type=pmos
format="@name @pinlist @model m=@m" format="@name @pinlist @model m=@m"
spectre_format="@name ( @pinlist ) @model m=@m"
template="name=X1 model=irf5305 m=1"} template="name=X1 model=irf5305 m=1"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=pmos K {type=pmos
format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m" format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model w=@w l=@l @extra $mfactor=@m"
template="name=M1 model=pmos w=5u l=0.18u del=0 m=1" template="name=M1 model=pmos w=5u l=0.18u del=0 m=1"
verilog_format="pmos #@del @name ( @@d , @@s , @@g );"} verilog_format="pmos #@del @name ( @@d , @@s , @@g );"}
V {} V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=pmos K {type=pmos
format="@name @pinlist @model w=@w l=@l number=@m" format="@name @pinlist @model w=@w l=@l number=@m"
spectre_format="@name ( @pinlist ) @model w=@w l=@l number=@m"
template="name=X1 model=tepbsim3 m=1 w=5u l=0.7u"} template="name=X1 model=tepbsim3 m=1 w=5u l=0.7u"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=pmos K {type=pmos
format="@name @pinlist vdd @model number=@m w=@w l=@l" format="@name @pinlist vdd @model number=@m w=@w l=@l"
spectre_format="@name ( @pinlist vdd ) @model number=@m w=@w l=@l"
template="name=X1 model=npbsim3 m=1 w=5u l=2u"} template="name=X1 model=npbsim3 m=1 w=5u l=2u"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {} G {}
K {type=pnp K {type=pnp
format="@spiceprefix@name @pinlist @model area=@area m=@m" format="@spiceprefix@name @pinlist @model area=@area m=@m"
spectre_format="@name ( @pinlist ) @model area=@area $mfactor=@m"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value

View File

@ -26,7 +26,7 @@ function0="1"
function1="0" function1="0"
format="@name @pinlist @value m=@m" format="@name @pinlist @value m=@m"
spectre_format="@name ( @pinlist ) resistor r=@value" spectre_format="@name ( @pinlist ) resistor r=@value $mfactor=@m"
verilog_format="tran @name (@@P\\\\, @@M\\\\);" verilog_format="tran @name (@@P\\\\, @@M\\\\);"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=nmos K {type=nmos
format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m" format="@spiceprefix@name @pinlist @model w=@w l=@l @extra m=@m"
spectre_format="@spiceprefix@name ( @pinlist ) @model w=@w l=@l @extra $mfactor=@m"
template="name=M1 model=nmos w=5u l=0.18u del=0 m=1" template="name=M1 model=nmos w=5u l=0.18u del=0 m=1"
verilog_format="rnmos #@del @name ( @@s , @@d , @@g );"} verilog_format="rnmos #@del @name ( @@s , @@d , @@g );"}
V {} V {}

View File

@ -28,7 +28,9 @@ pulse 0 @vhi \\\\
'0.01/@freq ' \\\\ '0.01/@freq ' \\\\
'0.49/@freq ' \\\\ '0.49/@freq ' \\\\
'1/@freq '" '1/@freq '"
spectre_format="@name ( @pinlist ) vsource type=\\\"pulse\\\" val0=0 val1=@vhi delay=0.495/@freq rise=0.01/@freq fall=0.01/@freq width=0.49/@freq period=1/@freq"
template="name=V1 vhi=3 freq=1e6" template="name=V1 vhi=3 freq=1e6"
spectre_device_model="model vsource vsource"
} }
V {} V {}
S {} S {}

View File

@ -22,6 +22,8 @@ v {xschem version=3.4.6RC file_version=1.2
G {} G {}
K {type=vccs K {type=vccs
format="@name @pinlist @value" format="@name @pinlist @value"
spectre_format="@name ( @pinlist ) vccs gain=@value"
spectre_device_model="model vccs vccs"
template="name=G1 value=1e-6"} template="name=G1 value=1e-6"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,8 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=vcvs K {type=vcvs
format="@name @pinlist @value" format="@name @pinlist @value"
spectre_format="@name ( @pinlist ) vcvs gain=@value"
spectre_device_model="model vcvs vcvs"
template="name=E1 value=3"} template="name=E1 value=3"}
V {} V {}
S {} S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {} G {}
K {type=diode K {type=diode
format="@spiceprefix@name @pinlist @model" format="@spiceprefix@name @pinlist @model"
spectre_format="@spiceprefix@name ( @pinlist ) @model"
tedax_format="footprint @name @footprint tedax_format="footprint @name @footprint
value @name @value value @name @value