Menu ▾ ▴

#891 gf180 pdk PAD instanciation error with ngspice 47

v1.0 (example)
open
nobody
None
5
3 days ago
6 days ago
BIBI1760
No

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

  • pad instance
  • Global Default BSIM4 Models
    .model nfet_03v3 nmos level=54 version=4.8.1
    .model pfet_03v3 pmos level=54 version=4.8.1
    .model nfet_05v0 nmos level=54 version=4.8.1
    .model pfet_05v0 pmos level=54 version=4.8.1

.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

Related

Bugs: #891

Discussion

  • Dietmar Warning

    Dietmar Warning - 4 days ago

    Where is the source of your gf180 PDK?

    I have two gf180 installations but there is no gf180mcuA/libs.tech/ngspice/sm141064.ngspice'

     
    • BIBI1760

      BIBI1760 - 4 days ago
      Post awaiting moderation.
  • Dietmar Warning

    Dietmar Warning - 4 days ago

    I have an idea what is wrong.
    But we are working on open source tools and PDK's which are free available, sorry.

     
    • BIBI1760

      BIBI1760 - 4 days ago

      Ciel is free

      Le mar. 10 nov. 2026, 08:26, Dietmar Warning dwarning@users.sourceforge.net
      a écrit :

      I have an idea what is wrong.
      But we are working on open source tools and PDK's which are free
      available, sorry.


      [bugs:#891] https://sourceforge.net/p/ngspice/bugs/891/ gf180 pdk PAD
      instanciation error with ngspice 47

      Status: open
      Group: v1.0 (example)
      Created: Sun Nov 08, 2026 08:50 AM UTC by BIBI1760
      Last Updated: Mon Nov 09, 2026 06:07 PM UTC
      Owner: nobody

      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

      • pad instance
      • Global Default BSIM4 Models
        .model nfet_03v3 nmos level=54 version=4.8.1
        .model pfet_03v3 pmos level=54 version=4.8.1
        .model nfet_05v0 nmos level=54 version=4.8.1
        .model pfet_05v0 pmos level=54 version=4.8.1

      .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


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ngspice/bugs/891/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #891

  • Dietmar Warning

    Dietmar Warning - 3 days ago

    Please
    tar -czf gf180_ngspice.tar.gz $PDK_ROOT/gf180mcuA/libs.tech/ngspice
    and
    tar -czf io_spice.tar.gz $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_io/spice
    and
    tar -czf mcu_spice.tar.gz $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice

    and attach the separate files here. Not the entire PDK tree!

     
    • BIBI1760

      BIBI1760 - 3 days ago

      Hi,

      Attached the 3 archives

      BR

      Bibi

      Le 10/11/2026 à 16:22, Dietmar Warning a écrit :

      tar -czf mcu_spice.tar.gz
      $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice

       
      • BIBI1760

        BIBI1760 - 3 days ago

        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,

        Attached the 3 archives

        BR

        Bibi

        Le 10/11/2026 à 16:22, Dietmar Warning a écrit :

        tar -czf mcu_spice.tar.gz
        $PDK_ROOT/gf180mcuA/libs.ref/gf180mcu_fd_sc_mcu7t5v0/spice

         
  • BIBI1760

    BIBI1760 - 3 days ago

    Hi,
    i attached the files as requested
    BR
    Bibi

     
  • Dietmar Warning

    Dietmar Warning - 3 days ago

    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.

     

Log in to post a comment.