Stefan Schippers
12/05/2020, 3:39 PM* this experimental option enables mos model bin
* selection based on W/NF instead of W
.option wnflag=1
Chris Jones
12/06/2020, 1:34 PMStefan Schippers
12/06/2020, 4:11 PMnf * Cdrain
, instead of (nf/2) * Cdrain
?Chris Jones
12/06/2020, 11:19 PMStefan Schippers
12/07/2020, 9:34 PMint(nf/2)+1
Chris Jones
12/07/2020, 11:12 PMTom
12/23/2020, 3:37 PMStefan Schippers
12/23/2020, 4:02 PM.spiceinit
file in your simulation directory (or in your home directory) with this line:
set ngbehavior=spe
or
set ngbehavior=hs
to set spectre or hspice compatibility mode ( i use hs)yrrapt
12/23/2020, 4:18 PMTom
12/23/2020, 5:36 PMStefan Schippers
12/23/2020, 5:45 PMcommit b1dc7f77d15fed4c82fa51485dba8133e1358e4c
Author: Holger Vogt <holger.vogt@uni-due.de>
Date: Fri Sep 11 22:24:24 2020 +0200
Add .options wnflag = 0|1 to unselect|select
nf as a divisor for w/nf while model binning.
Enable reading wnflag from the instance line.
commit 3a3b7d3cde85fd1af9dc19ab7e97609160e8b1f5
Author: Holger Vogt <holger.vogt@uni-due.de>
Date: Thu Sep 10 23:23:22 2020 +0200
Use W/nf for selecting binning model,
if compat mode Spectre is set by
set ngbehavior=spe
in .spiceinit
It is not clear to me if .spiceinit or .option wnflag=1 is needed or .spiceinit and .option wnflag=1 is needed... I just set both. May be the ngbehavior=(hs|spe) implicitly enables wnflag=1. The whole thing is a bit overcomplicated.yrrapt
12/23/2020, 5:49 PMStefan Schippers
12/23/2020, 5:54 PMTim Edwards
12/23/2020, 6:00 PMTom
12/23/2020, 6:08 PMStefan Schippers
12/23/2020, 6:09 PMTom
12/23/2020, 6:14 PMyrrapt
12/23/2020, 6:19 PMStefan Schippers
12/23/2020, 8:22 PMTom
12/23/2020, 9:09 PMStefan Schippers
12/23/2020, 9:18 PM.../skywater-pdk/libraries/sky130_fd_pr/latest/models/all.spice
Tom
12/23/2020, 9:44 PM