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=1419343609; bh=vy6B9PRr9t4a+9i6BUfEkVUBqk5mA8OXfMb8TtCdUB8=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=ix+3RQ00EITMIYjf/PodVgjoVWnLKetN2v9ERZAZS16WPqJFERu2NCDvWHK1FRsdbp9jgxtfoByej/O48Jlt0QWY6blnPOsGc+xSgCA1hULtFablZmK3g4GPbmLFIL+tOyj73I6Wj0G5ne+0Cy51psCeHa4FKPU7t2QWRielWdjUAXE2P6hqYZFa/nHqxj67GQGHbb5sze4srKILKkd5Reovr3cmh2PPJ6rqT1/W5dh+PxBCi/LXUTR/TKPI6GapFVuBv0ST2/DgYVdGqmWGo6Y+LJF+tw8NLAuhjz2dX061OiS8V/aVZSgTWeTW0DFQpfu4DKxpkw/+Xb5vOUVb+A== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=pwVz6lhRC8IDLXaiT6blHTADLqV5TBzEMIFnTs8Jzix6TnF6EZsailX4pIRq9OCk5v93ntQIfVittKRnYAJ2l8KF/P0I1++43fnx011yJTCer1y4hudziYEBVpzDWpwf1clOMdquIl10Zu6v9T/s6YLyGwO3o5C1rqgvWLXbcKQyBNSo7drVM1DRFJmHuO1a8ZLrVsolsOmQSuDfw4qn7fGyH4tI7T3LswAINJsM+QBPDHWp839NU5j/dOb9FkTWHFpaEctKqiKv7CU1u0lEk9xzMhiY7CvRHOjlJrhGUVwIDA4/RBb0QB/znOTzQvbCwf4Y43ehGDWfcfPB+vB+aw==; X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 579470 DOT 47382 DOT bm AT omp1035 DOT mail DOT gq1 DOT yahoo DOT com X-YMail-OSG: 7nkRUzIVM1lxAUAjXPSAge5F6jKJ8ZseM.fxjUb8NPeFPkXRBiypx52gUDOFb4n G1Oxi_LoK.yxoHLq6I3PCPBnV_mKaV3_oUJOS57ekcP0O6z5IBhP1lwMtt45bsP9gd5VuVjFei0D HmzC_83ADOpm8uvBGRWjmpHm1SsNMOoSBPFKBK8v1nXXo2c_gS4lDmOYhwVjsuaEsgHmKuC4AO1b .FansOlpaAMDp78jNGWkL_xQnW6e4Q4uNJiiVtxu3A8TvDNEc3rjrPbpzPwqEwmUlJ6K.znAsck3 ciuHe2LqjhoiayZRxgElB9c4ZXaRJ25isnschmq0vp_idnOIxx0MyKV1oEHVmqWX7uvlo.MtGcPQ zM1b17HSvEXUllGS5S9IpKYqDLqaRdOaRrbfe0Zfjat4GZXd5etRkl9A_0BBfweFNh9O9P.RfXc8 ja3sP.MJK4Q9U.2FscVUnUnAiZzfzPstO2EXaNdOgyviSIH6C51dxO6jTcxJY0MChlS92f1n.kPd vW.czBBMl84G0U4I5snCI1hQyVMgbt.U1JoZmnJjPDCe8TqvkRXPB2ZZ3Rc3R0KzHYtB.wttNqoz mEFiOlyb_0EI83WiQ6BxeJXa_P05hrq9fjTKoiTVX7ZY5u16gdm7L6LRuEyzYLRo0B8XdXYa_pjo 8q1wJFI50b9OzWTCACKZ3aPoExLb.8TIKp761ZJhe Date: Tue, 23 Dec 2014 14:03:56 +0000 (UTC) From: Johnny Cage To: "geda-user AT delorie DOT com" Message-ID: <1112363134.147765.1419343436582.JavaMail.yahoo@jws10721.mail.gq1.yahoo.com> In-Reply-To: <7CEB5321-E3F6-45F3-B37B-A81FFD214FA6@imb-cnm.csic.es> References: <7CEB5321-E3F6-45F3-B37B-A81FFD214FA6 AT imb-cnm DOT csic DOT es> Subject: Re: [geda-user] Unable to find definition of model... MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_147764_1452256131.1419343436564" 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_147764_1452256131.1419343436564 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I tried that as well. Does not work. Perhaps my transistor model is bad. I = will try to follow the example shown on geda:ngspice:geda:ngspice_and_gsche= m [gEDA Project Wiki]and see whether it compiles. | =C2=A0 | | =C2=A0 | | =C2=A0 | =C2=A0 | =C2=A0 | =C2=A0 | =C2=A0 | | geda:ngspice_and_gschem [gEDA Project Wiki]Table of Contents Overview Set= up Adding some SPICE stuff Simulation Translations of this page are also av= ailable in the following languages: =D0=A0=D1=83=D1=81=D1=81=D0=BA=D0=B8=D0= =B9. Overview | | | | View on wiki.geda-project.org | Preview by Yahoo | | | | =C2=A0 | =20 On Tuesday, December 23, 2014 2:19 PM, Francesc Vila wrote: =20 Hello, If you look at the generated netlist, the device still starts using the let= ter =E2=80=98M=E2=80=99 not the X. So ngspice looks for a MOS transistor in= stead of the subcircuit. AFAIK, to really fix the problem you should check the value of the attribut= e =E2=80=9Cdevice" on the symbol. It should be SUBCKT_PMOS or SUBCKT_NMOS i= nstead of PMOS_TRANSISTOR or NMOS_TRANSISTOR. Then, the spice-sdb backend s= hould generate the correct device line. Best regards,Francesc On 23 Dec 2014, at 13:39, Johnny Cage wrote: 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 =20 ------=_Part_147764_1452256131.1419343436564 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I tr= ied that as well. Does not work. Perhaps my transistor model is bad. I will= try to follow the example shown on geda:ngspice:
and see wheth= er it compiles.
------=_Part_147764_1452256131.1419343436564--