Tim Edwards
12/05/2020, 5:04 PMTim Edwards
12/05/2020, 5:04 PMmina_maksimous
12/05/2020, 5:11 PMRoshan Khatri
12/06/2020, 1:42 PMStefan Schippers
12/06/2020, 5:31 PMStefan Schippers
12/08/2020, 2:57 AM.subckt sky130_fd_pr__nfet_01v8_lvt d g s b
+
.param l = 1 w = 1 nf = 1.0 ad = 0 as = 0 pd = 0 ps = 0 nrd = 0 nrs = 0 sa = 0 sb = 0 sd = 0 mult = 1
msky130_fd_pr__nfet_01v8_lvt d g s b sky130_fd_pr__nfet_01v8_lvt__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}
.model sky130_fd_pr__nfet_01v8_lvt__model.0 nmos
...
...
After doing this change in the pdk i was able to simulate a mos transistor defined as follows:
XM8 net1 G1v8 S B sky130_fd_pr__nfet_01v8_lvt W=2 L=0.15 nf=2
+ ad='int((nf+1)/2) * W/nf * 0.29'
+ pd='2*int((nf+1)/2) * (W/nf + 0.29)'
+ as='int((nf+2)/2) * W/nf * 0.29'
+ ps='2*int((nf+2)/2) * (W/nf + 0.29)'
+ nrd='0.29 / W'
+ nrs='0.29 / W' sa=0
+ sb=0 sd=0 mult=1 m=1
the equations are reduced to numbers at netlist parsing time (no runtime penalties) and results in a correct evaluation of source / drain diffusion capacitances even for multi-fingered devices. It was really tough to figure this out.... :-)Stefan Schippers
12/08/2020, 3:01 AMTim Edwards
12/08/2020, 3:01 AMTim Edwards
12/08/2020, 3:04 AMw = {w}
and raises an error if it isn't written as w = 'w'
.)Stefan Schippers
12/08/2020, 3:05 AMTim Edwards
12/08/2020, 3:06 AMnf
always, usually, sometimes, or never appear in the right place relative to the other parameters, in the existing model files?Stefan Schippers
12/08/2020, 3:07 AMStefan Schippers
12/08/2020, 3:08 AMTim Edwards
12/08/2020, 3:08 AMStefan Schippers
12/08/2020, 3:09 AMTim Edwards
12/08/2020, 3:10 AMStefan Schippers
12/08/2020, 3:11 AMTim Edwards
12/08/2020, 3:11 AMnf
parameter should be able to be done by the scripts without too much trouble.Tim Edwards
12/08/2020, 3:13 AMStefan Schippers
12/08/2020, 3:14 AMTim Edwards
12/08/2020, 3:15 AMStefan Schippers
12/08/2020, 3:15 AMStefan Schippers
12/08/2020, 3:16 AMStefan Schippers
12/08/2020, 3:17 AMStefan Schippers
12/08/2020, 4:47 PMLakshmi
12/11/2020, 8:08 PMTim Edwards
12/11/2020, 8:39 PMyrrapt
12/12/2020, 10:37 AMPer Grön
12/14/2020, 1:35 PMDomagoj Tomić
12/16/2020, 9:53 AM