www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/12/23/06:57:54

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1419335809; bh=folvcxSsmJ0S8XOcER+M9EwOg1rb6nnmMuSE7VIYN0U=; h=Date:From:Reply-To:To:Subject:From:Subject; b=P19xm8YLqGM1kl28Y8bBLi1I0IKFNwsjXAysgMPECtuJRXPqiry91/JqSSMrBwnpLjXw3+O+ak0SduM8wKTRYYfIGmyoF1Q+d7T15edY4BayKchl2FwuZR2QoxEowqLQ22LBkizvDQZ8EzyMWngozXIK0cndvMwTO6Bq/ydt6B7REdaTH7mVJmtf/ZVpa5OGXHqBHwQXZYUJ33ZXq5gLFs/W6qITsufeTarKH0BVJido1ygCFwWM8XhPLCBZYnhBDkNhQZ9G8+w3XddGG/RY46X3+krpGfU5TSs9TaGGp5lG8G+2g1qHDHPCqT0kPnIjHk1MXMTrAXUK95XYuZms3Q==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com;
b=QqJmRsiPHIflJ9+dUsHmaKF/kL02GC+ZzUS5Ehlpzmu0L5l2XPA2pVNWbdQegRkYd2ThtB1FOLfyv4gLObd5IgNMe8RH/hDZDtu6dWSSguKr1LAR5sm/B5mRLogRlTGEY7izCTDQ/mEdn8m+7cAgIpl3T719J5OiBEjkdVyugYoRsNJhaZucQXvcHFehbHLitQtBJ97YEenYzHYKRp9YdyjUltYzGJ0hWCzlgxBvMeVGf71v1svfBu6OwoCe+l7Wti9winvM+R2NGdc3WfGRKwcWOi3yKA+Ka9GKK4b1d8Ss873LUuG/NIureRgTZWQOzrajJm6nk6ibUuZG8QkbjA==;
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 741792 DOT 55889 DOT bm AT omp1049 DOT mail DOT gq1 DOT yahoo DOT com
Date: Tue, 23 Dec 2014 11:56:48 +0000 (UTC)
From: Johnny Cage <hellbourne AT yahoo DOT com>
To: "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
Message-ID: <1739382120.137834.1419335808926.JavaMail.yahoo@jws10752.mail.gq1.yahoo.com>
Subject: [geda-user] Unable to find definition of model...
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com

------=_Part_137833_2120070227.1419335808921
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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

------=_Part_137833_2120070227.1419335808921
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:He=
lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo=
nt-size:16px"><div>I am trying to ngspice the following code:</div><div id=
=3D"yui_3_16_0_1_1419335463528_9336"><br></div><blockquote id=3D"yui_3_16_0=
_1_1419335463528_9335"><div id=3D"yui_3_16_0_1_1419335463528_9254">* gnetli=
st -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>* Do=
cumentation at http://www.brorson.com/gEDA/SPICE/   *<br>******************=
***************************************<br>*vvvvvvvv  Included SPICE model =
from /home/af3/Dropbox/Wrachtrup/simulations/spice/NE3210S01.mod vvvvvvvv<b=
r>.SUBCKT NE3210S01 Gate Drain Source Ugw=3D160um Ngf=3D1<br>.param CGD=3D1=
.4e-15<br>.param CGS=3D60e-15<br>.param CSD=3D80e-15<br>.param LG=3D0.82e-9=
<br>.param LD=3D0.74e-9<br>.param LS=3D0.11e-9<br>L1 Drain D 'LD'<br>L2 Gat=
e 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=3D160 N=3D1 M=3D1<br>.M=
ODEL NE3210S01 njf level=3D15 <br>+ VTO=3D-0.95 GAMMA=3D0.055 VGO=3D-0.323 =
VCH=3D1.03 GMMAX=3D0.08 VDSO=3D2 VSAT=3D0.44 KAPA=3D0.009 PEFF=3D101<br>+ V=
TSO=3D-10 VCO=3D-0.245 MU=3D0.001 VBA=3D1 VBC=3D0.5 DELTGM=3D0.17 ALPHA=3D0=
.1<br>+ RDB=3D1.0e9 CBS=3D160e-15 GDBM=3D60e-6 KDB=3D100 VDSM=3D100 GMMAXAC=
=3D0.082 VTOAC=3D-0.92<br>+ GAMMAAC=3D0.06 KAPAAC=3D0.002 PEFFAC=3D294 VTSO=
AC=3D-10 DELTGMAC=3D0.17<br>+ IS=3D26e-12 N=3D1.5 KBK=3D0 IDSOC=3D0.1 VBR=
=3D15 NBR=3D2<br>+ RS=3D0.8 RG=3D2.0 RD=3D1.0 Ugw=3D160 Ngf=3D1<br>+ C11O=
=3D188e-15 C11TH=3D129e-15 VINFL=3D-0.706 DELTGS=3D0.527 DELTDS=3D0.287 LAM=
BDA=3D0.03 <br>+ C12SAT=3D19e-15 CGDSAT=3D20e-15 RIS=3D4.8 RID=3D0.001 TAU=
=3D2.1e-12 CDSO=3D124e-15<br>.ENDS NE3210S01<br><br><br><br>*^^^^^^^^  End =
of included SPICE model from /home/af3/Dropbox/Wrachtrup/simulations/spice/=
NE3210S01.mod ^^^^^^^^<br>*<br>*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
 Begin SPICE netlist of main design =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br=
>.options TEMP=3D25<br>.INCLUDE /home/af3/Dropbox/Wrachtrup/simulations/spi=
ce/simulation.cmd<br>VDS1 1 0 DC 2V<br>Vac1 Vin 0 DC 0 AC 10MV SIN(0 1MV 32=
KHZ)<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=3D"ltr" id=3D"yui_3=
_16_0_1_1419335463528_9444">However, on the results.txt file I get the foll=
owing message:<br></div><div id=3D"yui_3_16_0_1_1419335463528_9447"><br></d=
iv><div id=3D"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 v=
out vout ne3210s01<br>Unable to find definition of model ne3210s01 - defaul=
t assumed <br></div><div id=3D"yui_3_16_0_1_1419335463528_9448"><br></div><=
div id=3D"yui_3_16_0_1_1419335463528_9449" dir=3D"ltr">Does anyone know wha=
t the problem is?</div><div id=3D"yui_3_16_0_1_1419335463528_9450" dir=3D"l=
tr"><br></div><div id=3D"yui_3_16_0_1_1419335463528_9451" dir=3D"ltr">Merry=
 Christmas,</div><div id=3D"yui_3_16_0_1_1419335463528_9452" dir=3D"ltr">Jo=
hn Hellbourne<br></div></div></body></html>
------=_Part_137833_2120070227.1419335808921--

- Raw text -


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