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 {}
K {type=polarized_capacitor
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
value @name @value
device @name @device

View File

@ -22,6 +22,9 @@ v {xschem version=3.4.5 file_version=1.2
G {}
K {type=capacitor
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
value @name @value
device @name @device

View File

@ -22,6 +22,8 @@ v {xschem version=3.4.6RC file_version=1.2
G {}
K {type=vcvs
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"}
V {}
S {}

View File

@ -22,6 +22,8 @@ v {xschem version=3.4.4 file_version=1.2
G {}
K {type=vcvs
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"}
V {}
S {}

View File

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

View File

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

View File

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

View File

@ -22,6 +22,9 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=inductor
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
value @name @value
device @name @device

View File

@ -21,6 +21,8 @@ v {xschem version=3.4.4 file_version=1.2
}
G {type=coupler
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"}
V {}
S {}

View File

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

View File

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

View File

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

View File

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

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {}
K {type=njfet
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"
}
V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=nmos
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"}
V {}
S {}

View File

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

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {}
K {type=nmos
format="@name @pinlist @model m=@m"
spectre_format="@name ( @pinlist ) @model m=@m"
template="name=X1 model=irf540 m=1"}
V {}
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"
verilog_format="nmos #@del @name ( @@d , @@s , @@g );"
spectre_format="@name ( @pinlist ) @model w=@w l=@l @extra $mfactor=@m"
spectre_device_model="load \\"nmos.osdi\\""}
}
V {}
S {}
F {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {}
K {type=nmos
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"
verilog_format="rnmos #@del @name ( @@s , @@d , @@d );"}
V {}

View File

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

View File

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

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {}
K {type=pjfet
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"
}
V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=pmos
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"}
V {}
S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=pmos
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 );"
tedax_format="footprint @name @footprint

View File

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

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=pmos
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"
verilog_format="pmos #@del @name ( @@d , @@s , @@g );"}
V {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=pmos
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"}
V {}
S {}

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.6 file_version=1.2
G {}
K {type=pmos
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"}
V {}
S {}

View File

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

View File

@ -26,7 +26,7 @@ function0="1"
function1="0"
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\\\\);"
tedax_format="footprint @name @footprint

View File

@ -22,6 +22,7 @@ v {xschem version=3.4.4 file_version=1.2
G {}
K {type=nmos
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"
verilog_format="rnmos #@del @name ( @@s , @@d , @@g );"}
V {}

View File

@ -28,7 +28,9 @@ pulse 0 @vhi \\\\
'0.01/@freq ' \\\\
'0.49/@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"
spectre_device_model="model vsource vsource"
}
V {}
S {}

View File

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

View File

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

View File

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