delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/12/23/07:24:11

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-SourceIP: 95.97.163.245
X-Authenticated-Sender: b DOT mykendevelopment AT upcmail DOT nl
Message-ID: <54995EE8.8040706@iae.nl>
Date: Tue, 23 Dec 2014 13:24:08 +0100
From: myken <myken AT iae DOT nl>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Unable to find definition of model...
References: <1739382120 DOT 137834 DOT 1419335808926 DOT JavaMail DOT yahoo AT jws10752 DOT mail DOT gq1 DOT yahoo DOT com>
In-Reply-To: <1739382120.137834.1419335808926.JavaMail.yahoo@jws10752.mail.gq1.yahoo.com>
Reply-To: geda-user AT delorie DOT com

This is a multi-part message in MIME format.
--------------050902040600010701030509
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hello John,

To my knowledge, if you use a SUBCKT the component in question should 
have a X? as a refdes.

Don't know what will happen if the name of the SUBCKT is the same as a 
MODEL name inside the SUBCKT, never tried it.

Merry Christmas,
Robert Zeegers.


On 23/12/14 12:56, Johnny Cage wrote:
> I am trying to ngspice the following code:
>
>     * gnetlist -g spice-sdb -o spice.net TIC_based_CF739.sch
>     *********************************************************
>     * Spice file generated by gnetlist *
>     * spice-sdb version 4.28.2007 by SDB -- *
>     * provides advanced spice netlisting capability. *
>     * Documentation at http://www.brorson.com/gEDA/SPICE/ *
>     *********************************************************
>     *vvvvvvvv Included SPICE model from
>     /home/af3/Dropbox/Wrachtrup/simulations/spice/NE3210S01.mod vvvvvvvv
>     .SUBCKT NE3210S01 Gate Drain Source Ugw=160um Ngf=1
>     .param CGD=1.4e-15
>     .param CGS=60e-15
>     .param CSD=80e-15
>     .param LG=0.82e-9
>     .param LD=0.74e-9
>     .param LS=0.11e-9
>     L1 Drain D 'LD'
>     L2 Gate G 'LG'
>     L3 Source S 'LS'
>     C1 Gate Drain 'CGD'
>     C2 Gate Source 'CGS'
>     C3 Drain Source 'CSD'
>     J1 D G S NE3210S01 Ugw=160 N=1 M=1
>     .MODEL NE3210S01 njf level=15
>     + VTO=-0.95 GAMMA=0.055 VGO=-0.323 VCH=1.03 GMMAX=0.08 VDSO=2
>     VSAT=0.44 KAPA=0.009 PEFF=101
>     + VTSO=-10 VCO=-0.245 MU=0.001 VBA=1 VBC=0.5 DELTGM=0.17 ALPHA=0.1
>     + RDB=1.0e9 CBS=160e-15 GDBM=60e-6 KDB=100 VDSM=100 GMMAXAC=0.082
>     VTOAC=-0.92
>     + GAMMAAC=0.06 KAPAAC=0.002 PEFFAC=294 VTSOAC=-10 DELTGMAC=0.17
>     + IS=26e-12 N=1.5 KBK=0 IDSOC=0.1 VBR=15 NBR=2
>     + RS=0.8 RG=2.0 RD=1.0 Ugw=160 Ngf=1
>     + C11O=188e-15 C11TH=129e-15 VINFL=-0.706 DELTGS=0.527
>     DELTDS=0.287 LAMBDA=0.03
>     + C12SAT=19e-15 CGDSAT=20e-15 RIS=4.8 RID=0.001 TAU=2.1e-12
>     CDSO=124e-15
>     .ENDS NE3210S01
>
>
>
>     *^^^^^^^^ End of included SPICE model from
>     /home/af3/Dropbox/Wrachtrup/simulations/spice/NE3210S01.mod ^^^^^^^^
>     *
>     *============== Begin SPICE netlist of main design ============
>     .options TEMP=25
>     .INCLUDE /home/af3/Dropbox/Wrachtrup/simulations/spice/simulation.cmd
>     VDS1 1 0 DC 2V
>     Vac1 Vin 0 DC 0 AC 10MV SIN(0 1MV 32KHZ)
>     C1 0 1 47nF
>     R2 0 Vin 10MEG
>     R1 0 Vout 1.5K
>     MQ1 1 Vin Vout Vout NE3210S01
>     .end
>
> However, on the results.txt file I get the following message:
>
> Circuit: * gnetlist -g spice-sdb -o spice.net tic_based_cf739.sch
>
> Error on line 46 : mq1 1 vin vout vout ne3210s01
> Unable to find definition of model ne3210s01 - default assumed
>
> Does anyone know what the problem is?
>
> Merry Christmas,
> John Hellbourne


--------------050902040600010701030509
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello John,<br>
      <br>
      To my knowledge, if you use a SUBCKT the component in question
      should have a X? as a refdes.<br>
      <br>
      Don't know what will happen if the name of the SUBCKT is the same
      as a MODEL name inside the SUBCKT, never tried it.<br>
      <br>
      Merry Christmas,<br>
      Robert Zeegers.<br>
      <br>
      <br>
      On 23/12/14 12:56, Johnny Cage wrote:<br>
    </div>
    <blockquote
cite="mid:1739382120 DOT 137834 DOT 1419335808926 DOT JavaMail DOT yahoo AT jws10752 DOT mail DOT gq1 DOT yahoo DOT com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div>I am trying to ngspice the following code:</div>
        <div id="yui_3_16_0_1_1419335463528_9336"><br>
        </div>
        <blockquote id="yui_3_16_0_1_1419335463528_9335">
          <div id="yui_3_16_0_1_1419335463528_9254">* gnetlist -g
            spice-sdb -o spice.net TIC_based_CF739.sch<br>
            *********************************************************<br>
            * Spice file generated by gnetlist *<br>
            * spice-sdb version 4.28.2007 by SDB -- *<br>
            * provides advanced spice netlisting capability. *<br>
            * Documentation at <a class="moz-txt-link-freetext" href="http://www.brorson.com/gEDA/SPICE/">http://www.brorson.com/gEDA/SPICE/</a> *<br>
            *********************************************************<br>
            *vvvvvvvv Included SPICE model from
            /home/af3/Dropbox/Wrachtrup/simulations/spice/NE3210S01.mod
            vvvvvvvv<br>
            .SUBCKT NE3210S01 Gate Drain Source Ugw=160um Ngf=1<br>
            .param CGD=1.4e-15<br>
            .param CGS=60e-15<br>
            .param CSD=80e-15<br>
            .param LG=0.82e-9<br>
            .param LD=0.74e-9<br>
            .param LS=0.11e-9<br>
            L1 Drain D 'LD'<br>
            L2 Gate G 'LG'<br>
            L3 Source S 'LS'<br>
            C1 Gate Drain 'CGD'<br>
            C2 Gate Source 'CGS'<br>
            C3 Drain Source 'CSD'<br>
            J1 D G S NE3210S01 Ugw=160 N=1 M=1<br>
            .MODEL NE3210S01 njf level=15 <br>
            + VTO=-0.95 GAMMA=0.055 VGO=-0.323 VCH=1.03 GMMAX=0.08
            VDSO=2 VSAT=0.44 KAPA=0.009 PEFF=101<br>
            + VTSO=-10 VCO=-0.245 MU=0.001 VBA=1 VBC=0.5 DELTGM=0.17
            ALPHA=0.1<br>
            + RDB=1.0e9 CBS=160e-15 GDBM=60e-6 KDB=100 VDSM=100
            GMMAXAC=0.082 VTOAC=-0.92<br>
            + GAMMAAC=0.06 KAPAAC=0.002 PEFFAC=294 VTSOAC=-10
            DELTGMAC=0.17<br>
            + IS=26e-12 N=1.5 KBK=0 IDSOC=0.1 VBR=15 NBR=2<br>
            + RS=0.8 RG=2.0 RD=1.0 Ugw=160 Ngf=1<br>
            + C11O=188e-15 C11TH=129e-15 VINFL=-0.706 DELTGS=0.527
            DELTDS=0.287 LAMBDA=0.03 <br>
            + C12SAT=19e-15 CGDSAT=20e-15 RIS=4.8 RID=0.001 TAU=2.1e-12
            CDSO=124e-15<br>
            .ENDS NE3210S01<br>
            <br>
            <br>
            <br>
            *^^^^^^^^ End of included SPICE model from
            /home/af3/Dropbox/Wrachtrup/simulations/spice/NE3210S01.mod
            ^^^^^^^^<br>
            *<br>
            *============== Begin SPICE netlist of main design
            ============<br>
            .options TEMP=25<br>
            .INCLUDE
            /home/af3/Dropbox/Wrachtrup/simulations/spice/simulation.cmd<br>
            VDS1 1 0 DC 2V<br>
            Vac1 Vin 0 DC 0 AC 10MV SIN(0 1MV 32KHZ)<br>
            C1 0 1 47nF <br>
            R2 0 Vin 10MEG <br>
            R1 0 Vout 1.5K <br>
            MQ1 1 Vin Vout Vout NE3210S01 <br>
            .end</div>
        </blockquote>
        <div dir="ltr" id="yui_3_16_0_1_1419335463528_9444">However, on
          the results.txt file I get the following message:<br>
        </div>
        <div id="yui_3_16_0_1_1419335463528_9447"><br>
        </div>
        <div id="yui_3_16_0_1_1419335463528_9445">Circuit: * gnetlist -g
          spice-sdb -o spice.net tic_based_cf739.sch<br>
          <br>
          Error on line 46 : mq1 1 vin vout vout ne3210s01<br>
          Unable to find definition of model ne3210s01 - default assumed
          <br>
        </div>
        <div id="yui_3_16_0_1_1419335463528_9448"><br>
        </div>
        <div id="yui_3_16_0_1_1419335463528_9449" dir="ltr">Does anyone
          know what the problem is?</div>
        <div id="yui_3_16_0_1_1419335463528_9450" dir="ltr"><br>
        </div>
        <div id="yui_3_16_0_1_1419335463528_9451" dir="ltr">Merry
          Christmas,</div>
        <div id="yui_3_16_0_1_1419335463528_9452" dir="ltr">John
          Hellbourne<br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------050902040600010701030509--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019