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=1419338570; bh=Jec123DzTEQ7JbqcGZrP5qL4T6BCb80mcQ3f3/wLMEg=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=IZDOXCNmwd57nd3OdXgPpJUz73quJOXn3IFBAyLq97R9XDFb2I6tmdVWsyCZi/L32+VVCTkor/3RWnPAYA+l+S0WLt7pE8a5b2VNeEOWGuf+xUZwHT8HP8elLJtSHpkWAVou03JmtAIQi7SqKXa2r5PXxatC+LO5r3l0S6+2LAGQX9Z3m9BGIsff9v0kBqxfcgYlIsBmCQFamNm+oqrPlQ113W/ED0vR6bu+YZjE+SDmXzNAQqimAzKMxA3JLCmvu3Bdo/X7K8QZUCvy38DVZk69NWMj5zEUvGZs8VmBL0m8UJHnGE+MCk0pxmk0e9+iV1hiKsExE5OyVnQsnBHSxA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=Dh1wlKaqt0mH8V48c4sSfJ0e0ir6zPCdwTg5kpkXYbi2YZ2QTSIkYqRr4pQb13ux+/aueQq1vE2mByFStMvc/CJr97EK/W29DMW2NTfyy6AVxHtNPOKFsHjqZwIsGOot8jQwk4X3K3rG850XMDJIU/+RKFN6uvGv8jGun1QDXTf6obhEGe/XjLI1FS2/hkBFf7xlvQl6W6pq6lPqUDiZ4k1lpeWOveS0V1NOJT0uktnvydEdQ/Py87jJW/clOcthZn6Ws58DBetXmPNmLHXeM+LNp1baFxTuDOMUhHsQxqtkd+20Net0mQMrTR1CHx6/y1Z3Lawm2Cwl/LIVaONyxQ==; X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 390776 DOT 64533 DOT bm AT omp1000 DOT mail DOT gq1 DOT yahoo DOT com X-YMail-OSG: 314720QVM1mlJT.ssbdhSWObD5VrTbfEjMh3KjWjLyIzWBSlNd9yOROY5BCbkZr Ou_ppNGNrG7G1hWiKQQrCprTvCtXq8T5WLbJISM46nw5xRpZo80gtSVhsAeOHWph9_fugoJkPRoS 4dN0VZHUNqw6oYyXrUZs3Qq58uVc7vt9WlktJT0epYpKIPcVVZhmqrGJ2UKIcTSA7IFADdD.aejj QfggtZARnJfRggT3CF.gCnXIougI5otW0W4HAu8wjYA7sSYtcC8VnGkwrB6CijNGQJ_ZMLFTgKmn C2IaBp4Bo6VoY5_C.hsTt9Wcn7jTK5bvsoXwtyuGKCXQoAx96k11ygoP636jJu.v._9ZvW6r7F1p DCq6IjqxkVJFDEp..Pqj65meBVvU3WvJysI11WIVzkehrptBRGtdGDp8NM0plovn2Vrhvf4GJhHC vNGByzsXx8svAP6aKU33dTPceC6PY9oUZuAQB30iaUFNkIICdU7.GjidLOlIx1auunlJFCGe96A7 gi0JfswND5FrPM.NDaVJoP2siOEeVsdKnfloERNYuMMQDP1BEbY3fn8egNtxmHnUgT2wf6tS2phT kIuWBeKhreQQ3_HHFw4vGE9HzelGy4hjh8j4kvTG8X3Dl0ckDoC6O7jw- Date: Tue, 23 Dec 2014 12:39:51 +0000 (UTC) From: Johnny Cage To: "geda-user AT delorie DOT com" Message-ID: <485484110.142693.1419338391422.JavaMail.yahoo@jws10720.mail.gq1.yahoo.com> In-Reply-To: <54995EE8.8040706@iae.nl> References: <54995EE8 DOT 8040706 AT iae DOT nl> Subject: Re: [geda-user] Unable to find definition of model... MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_142692_395163248.1419338391414" Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk ------=_Part_142692_395163248.1419338391414 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Well, I changed it to the following: * gnetlist -g spice-sdb -o spice.net TIC_based_CF739.sch ********************************************************* * Spice file generated by gnetlist=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 * * spice-sdb version 4.28.2007 by SDB --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * * provides advanced spice netlisting capability.=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 * * Documentation at http://www.brorson.com/gEDA/SPICE/=C2=A0=C2=A0 * ********************************************************* *vvvvvvvv=C2=A0 Included SPICE model from /home/af3/Dropbox/Wrachtrup/simul= ations/spice/NE3210S01.mod vvvvvvvv .subckt NE3210S01_v1 Gate Drain Source Ugw=3D160um Ngf=3D1 .param CGD=3D1.4e-15 .param CGS=3D60e-15 .param CSD=3D80e-15 .param LG=3D0.82e-9 .param LD=3D0.74e-9 .param LS=3D0.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=3D160 N=3D1 M=3D1 .model NE3210S01 njf level=3D15=20 + VTO=3D-0.95 GAMMA=3D0.055 VGO=3D-0.323 VCH=3D1.03 GMMAX=3D0.08 VDSO=3D2 V= SAT=3D0.44 KAPA=3D0.009 PEFF=3D101 + VTSO=3D-10 VCO=3D-0.245 MU=3D0.001 VBA=3D1 VBC=3D0.5 DELTGM=3D0.17 ALPHA= =3D0.1 + RDB=3D1.0e9 CBS=3D160e-15 GDBM=3D60e-6 KDB=3D100 VDSM=3D100 GMMAXAC=3D0.0= 82 VTOAC=3D-0.92 + GAMMAAC=3D0.06 KAPAAC=3D0.002 PEFFAC=3D294 VTSOAC=3D-10 DELTGMAC=3D0.17 + IS=3D26e-12 N=3D1.5 KBK=3D0 IDSOC=3D0.1 VBR=3D15 NBR=3D2 + RS=3D0.8 RG=3D2.0 RD=3D1.0 Ugw=3D160 Ngf=3D1 + C11O=3D188e-15 C11TH=3D129e-15 VINFL=3D-0.706 DELTGS=3D0.527 DELTDS=3D0.2= 87 LAMBDA=3D0.03=20 + C12SAT=3D19e-15 CGDSAT=3D20e-15 RIS=3D4.8 RID=3D0.001 TAU=3D2.1e-12 CDSO= =3D124e-15 .ends NE3210S01_v1 *^^^^^^^^=C2=A0 End of included SPICE model from /home/af3/Dropbox/Wrachtru= p/simulations/spice/NE3210S01.mod ^^^^^^^^ * *=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=C2=A0 Begin SPICE netlist of ma= in design =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D .options TEMP=3D25 .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=C2=A0=20 R2 0 Vin 10MEG=C2=A0=20 R1 0 Vout 1.5K=C2=A0=20 MX1 1 Vin Vout Vout NE3210S01 .end Still does not work and with the same error message. Any ideas? =20 On Tuesday, December 23, 2014 1:24 PM, myken wrote: =20 Hello John, =20 To my knowledge, if you use a SUBCKT the component in question should have= a X? as a refdes. =20 Don't know what will happen if the name of the SUBCKT is the same as a MOD= EL name inside the SUBCKT, never tried it. =20 Merry Christmas, Robert Zeegers. =20 =20 On 23/12/14 12:56, Johnny Cage wrote: =20 I am trying to ngspice the following code:=20 =20 * 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/simulation= s/spice/NE3210S01.mod vvvvvvvv .SUBCKT NE3210S01 Gate Drain Source Ugw=3D160um Ngf=3D1 .param CGD=3D1.4e-15 .param CGS=3D60e-15 .param CSD=3D80e-15 .param LG=3D0.82e-9 .param LD=3D0.74e-9 .param LS=3D0.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=3D160 N=3D1 M=3D1 .MODEL NE3210S01 njf level=3D15=20 + 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 + VTSO=3D-10 VCO=3D-0.245 MU=3D0.001 VBA=3D1 VBC=3D0.5 DELTGM=3D0.17 ALPHA= =3D0.1 + RDB=3D1.0e9 CBS=3D160e-15 GDBM=3D60e-6 KDB=3D100 VDSM=3D100 GMMAXAC=3D0.= 082 VTOAC=3D-0.92 + GAMMAAC=3D0.06 KAPAAC=3D0.002 PEFFAC=3D294 VTSOAC=3D-10 DELTGMAC=3D0.17 + IS=3D26e-12 N=3D1.5 KBK=3D0 IDSOC=3D0.1 VBR=3D15 NBR=3D2 + RS=3D0.8 RG=3D2.0 RD=3D1.0 Ugw=3D160 Ngf=3D1 + C11O=3D188e-15 C11TH=3D129e-15 VINFL=3D-0.706 DELTGS=3D0.527 DELTDS=3D0.= 287 LAMBDA=3D0.03=20 + C12SAT=3D19e-15 CGDSAT=3D20e-15 RIS=3D4.8 RID=3D0.001 TAU=3D2.1e-12 CDSO= =3D124e-15 .ENDS NE3210S01 =20 =20 =20 *^^^^^^^^ End of included SPICE model from /home/af3/Dropbox/Wrachtrup/sim= ulations/spice/NE3210S01.mod ^^^^^^^^ * *=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Begin SPICE netlist of main de= sign =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D .options TEMP=3D25 .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=20 R2 0 Vin 10MEG=20 R1 0 Vout 1.5K=20 MQ1 1 Vin Vout Vout NE3210S01=20 .end=20 However, on the results.txt file I get the following message: =20 Circuit: * gnetlist -g spice-sdb -o spice.net tic_based_cf739.sch =20 Error on line 46 : mq1 1 vin vout vout ne3210s01 Unable to find definition of model ne3210s01 - default assumed=20 =20 Does anyone know what the problem is?=20 Merry Christmas, John Hellbourne =20 =20 =20 ------=_Part_142692_395163248.1419338391414 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well, I changed = it to the following:

* gnetlist -g spice-sdb -o s= pice.net TIC_based_CF739.sch
*********************= ************************************
* Spice file = generated by gnetlist         =              *<= br style=3D"" class=3D"">* spice-sdb version 4.28.2007 by SDB --  = ;            &n= bsp;  *
* 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_v1 Gate Drain Source Ugw=3D160um Ngf=3D= 1
.param CGD=3D1.4e-15
.p= aram CGS=3D60e-15
.param CSD=3D80e-15
.param LG=3D0.82e-9
.param LD=3D0.74e= -9
.param LS=3D0.11e-9
L1= Drain D 'LD'
L2 Gate G 'LG'
L3 Source S 'LS'
C1 Gate Drain 'CGD'
C2 Gate Source 'CGS'
C3 Drain So= urce 'CSD'
J1 D G S NE3210S01 Ugw=3D160 N=3D1 M=3D= 1
.model NE3210S01 njf level=3D15
+ 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
+ VTS= O=3D-10 VCO=3D-0.245 MU=3D0.001 VBA=3D1 VBC=3D0.5 DELTGM=3D0.17 ALPHA=3D0.1=
+ RDB=3D1.0e9 CBS=3D160e-15 GDBM=3D60e-6 KDB=3D10= 0 VDSM=3D100 GMMAXAC=3D0.082 VTOAC=3D-0.92
+ GAMMA= AC=3D0.06 KAPAAC=3D0.002 PEFFAC=3D294 VTSOAC=3D-10 DELTGMAC=3D0.17
+ IS=3D26e-12 N=3D1.5 KBK=3D0 IDSOC=3D0.1 VBR=3D15 NBR=3D2=
+ RS=3D0.8 RG=3D2.0 RD=3D1.0 Ugw=3D160 Ngf=3D1+ C11O=3D188e-15 C11TH=3D129e-15 VINFL=3D-0.706 DELT= GS=3D0.527 DELTDS=3D0.287 LAMBDA=3D0.03
+ C12SAT= =3D19e-15 CGDSAT=3D20e-15 RIS=3D4.8 RID=3D0.001 TAU=3D2.1e-12 CDSO=3D124e-1= 5
.ends NE3210S01_v1



*= ^^^^^^^^  End of included SPICE model from /home/af3/Dropbox/Wrachtrup= /simulations/spice/NE3210S01.mod ^^^^^^^^
*
*=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
.options TEMP=3D25
.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  <= br style=3D"" class=3D"">MX1 1 Vin Vout Vout NE3210S01
.end
Still does not work and with the same err= or message. Any ideas?

=


<= /div>
On Tuesday, December= 23, 2014 1:24 PM, myken <myken AT iae DOT nl> wrote:

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:

* gnetli= st -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=3D160um Ngf=3D1
.param CGD=3D1.4e-15
.param CGS=3D60e-15
.param CSD=3D80e-15
.param LG=3D0.82e-9
.param LD=3D0.74e-9
.param LS=3D0.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=3D160 N=3D1 M=3D1
.MODEL NE3210S01 njf level=3D15
+ VTO=3D-0.95 GAMMA=3D0.055 VGO=3D-0.323 VCH=3D1.03 GMMAX=3D0.0= 8 VDSO=3D2 VSAT=3D0.44 KAPA=3D0.009 PEFF=3D101
+ VTSO=3D-10 VCO=3D-0.245 MU=3D0.001 VBA=3D1 VBC=3D0.5 DELTGM= =3D0.17 ALPHA=3D0.1
+ RDB=3D1.0e9 CBS=3D160e-15 GDBM=3D60e-6 KDB=3D100 VDSM=3D100 GMMAXAC=3D0.082 VTOAC=3D-0.92
+ GAMMAAC=3D0.06 KAPAAC=3D0.002 PEFFAC=3D294 VTSOAC=3D-10 DELTGMAC=3D0.17
+ IS=3D26e-12 N=3D1.5 KBK=3D0 IDSOC=3D0.1 VBR=3D15 NBR=3D2
+ RS=3D0.8 RG=3D2.0 RD=3D1.0 Ugw=3D160 Ngf=3D1
+ C11O=3D188e-15 C11TH=3D129e-15 VINFL=3D-0.706 DELTGS=3D0.527 DELTDS=3D0.287 LAMBDA=3D0.03
+ C12SAT=3D19e-15 CGDSAT=3D20e-15 RIS=3D4.8 RID=3D0.001 TAU=3D2= .1e-12 CDSO=3D124e-15
.ENDS NE3210S01



*^^^^^^^^ End of included SPICE model from /home/af3/Dropbox/Wrachtrup/simulations/spice/NE3210S01.mod ^^^^^^^^
*
*=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
.options TEMP=3D25
.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_142692_395163248.1419338391414--