Hi,
I have a model instantiating a PAD using gf180 PDK
It works fine with ngspice 46 and 44.2 , but i have an error with ngspice47 :
**Error on line 1367 or its substitute:
g.xdut.x0.gcmoscap xdut.x0.cmoscapint1 0 vss vdd 4.000000000000000e+00 e9
unknown parameter (e9)
Hereunder the nelist : (PDK_ROOT must be set to point toward GF180 PDK)
Thanks for your support
Bibi
.include '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/design.ngspice'
.lib '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/sm141064.ngspice' ff
.lib '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/sm141064.ngspice' mimcap_ff
.lib '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/sm141064.ngspice' cap_mim
.lib '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/sm141064.ngspice' moscap_ff
.lib '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/sm141064.ngspice' res_ff
.lib '$PDK_ROOT/gf180mcuA/libs.tech/ngspice/sm141064.ngspice' diode_ff
.include '$PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice/gf180mcu_fd_sc_mcu7t5v0.spice'
.include '$PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_io/spice/gf180mcu_fd_io.spice'
.param VDD=3.3
VA a 0 PWL(0 0 1000p 0 1100p {VDD})
XDUT a vss vdd vss vss vdd PAD vss {VDD} vss vss vss vdd vss Y gf180mcu_fd_io__bi_t
Where is the source of your gf180 PDK?
I have two gf180 installations but there is no gf180mcuA/libs.tech/ngspice/sm141064.ngspice'
I have an idea what is wrong.
But we are working on open source tools and PDK's which are free available, sorry.
Ciel is free
Le mar. 10 nov. 2026, 08:26, Dietmar Warning dwarning@users.sourceforge.net
a écrit :
Related
Bugs: #891
Please
tar -czf gf180_ngspice.tar.gz $PDK_ROOT/gf180mcuA/libs.tech/ngspiceand
tar -czf io_spice.tar.gz $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_io/spiceand
tar -czf mcu_spice.tar.gz $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spiceand attach the separate files here. Not the entire PDK tree!
Hi,
Attached the 3 archives
BR
Bibi
Le 10/11/2026 à 16:22, Dietmar Warning a écrit :
Even smarter :-) .... a single archive
tar -czf gf180.tar.gz
$PDK_ROOT/gf180mcuA/libs.tech/ngspice $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_io/spice $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice
Then you get :
tar -tzf gf180.tar.gz
pdk_root/gf180mcuA/libs.tech/ngspice/
pdk_root/gf180mcuA/libs.tech/ngspice/sm141064_mim.ngspice
pdk_root/gf180mcuA/libs.tech/ngspice/sm141064.ngspice
pdk_root/gf180mcuA/libs.tech/ngspice/smbb000149.ngspice
pdk_root/gf180mcuA/libs.tech/ngspice/design.ngspice
pdk_root/gf180mcuA/libs.ref/gf180mcu_fd_io/spice/
pdk_root/gf180mcuA/libs.ref/gf180mcu_fd_io/spice/gf180mcu_ef_io.spice
pdk_root/gf180mcuA/libs.ref/gf180mcu_fd_io/spice/gf180mcu_fd_io.spice
pdk_root/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice/
pdk_root/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice/gf180mcu_fd_sc_mcu9t5v0.spice
pdk_root/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice/gf180mcu_fd_sc_mcu7t5v0.spice
File is attached
BR
Bibi
Le 11/11/2026 à 08:08, Bibi a écrit :
Hi,
i attached the files as requested
BR
Bibi
ngspice version 47:
** ngspice-47 : Circuit level simulation program
** Compiled with KLU Direct Linear Solver
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Copyright 2001-2026, The ngspice team.
** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html
** Please file your bug-reports at https://ngspice.sourceforge.io/bugrep.html
** Creation Date: Oct 23 2026 20:28:17
Note: No compatibility mode selected!
Circuit: global default bsim4 models
Error on line 1367 or its substitute:
g.xdut.x0.gc_moscap xdut.x0.c_moscap_int1 0 vss vdd 4.000000000000000e+00 e9
unknown parameter (e9)
Simulation interrupted due to error!
ngspice pre-master-48:
** ngspice-47+.0 : Circuit level simulation program
** Compiled with KLU Direct Linear Solver
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Copyright 2001-2026, The ngspice team.
** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html
** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html
** Creation Date: Nov 11 2026 13:14:43
Note: No compatibility mode selected!
Circuit: global default bsim4 models
So that means - the problem is fixed in the actual development branch pre-master-48 and will be appear in version 48.