From: Juan S. <jua...@gm...> - 2006-04-06 18:18:18
|
What version of Mandrake do you recommend to install ngspice. I have tried with mandrake 9.2 but came across a lot of trouble. Juan -----Original Message----- From: ngs...@li... [mailto:ngs...@li...] On Behalf Of ngs...@li... Sent: Monday, April 03, 2006 10:23 PM To: ngs...@li... Subject: Ngspice-users digest, Vol 1 #365 - 2 msgs Send Ngspice-users mailing list submissions to ngs...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/ngspice-users or, via email, send a message with subject or body 'help' to ngs...@li... You can reach the person managing the list at ngs...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Ngspice-users digest..." Today's Topics: 1. Re: Ngspice-users digest, Vol 1 #363 - 3 msgs - identical devices give different results "fixed" (rich gray) --__--__-- Message: 1 Date: Mon, 03 Apr 2006 16:59:39 -0700 From: rich gray <ric...@sh...> To: ngs...@li... Subject: [Ngspice-users] Re: Ngspice-users digest, Vol 1 #363 - 3 msgs - identical devices give different results "fixed" Reply-To: ngs...@li... Holger, Your suggestion works perfectly. How did you come up with that? Was it magic? Rich ngs...@li... wrote: >Send Ngspice-users mailing list submissions to > ngs...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/ngspice-users >or, via email, send a message with subject or body 'help' to > ngs...@li... > >You can reach the person managing the list at > ngs...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Ngspice-users digest..." > > >Today's Topics: > > 1. Re: Identical devices give different results (Holger Vogt) > 2. Identical devices and singular (not segmented) matrices (rich gray) > 3. Re: Increase MAXLEN to 8192 in terminal.c line 234 (Holger Vogt) > >-- __--__-- > >Message: 1 >Date: Sat, 01 Apr 2006 18:04:35 +0200 >From: Holger Vogt <hol...@un...> >To: ngs...@li... >Subject: Re: [Ngspice-users] Identical devices give different results >Reply-To: ngs...@li... > >Dear Rich, > >remove nqsmod from the model parameters and set level to 8 (newer BSIM3 >model), then it seems to be o.k. > >Holger > > > >-- __--__-- > >Message: 2 >Date: Sat, 01 Apr 2006 10:40:23 -0800 >From: rich gray <ric...@sh...> >To: ngs...@li... >Subject: [Ngspice-users] Identical devices and singular (not segmented) matrices >Reply-To: ngs...@li... > >Dear all, > > I am not sure I am replying correctly but let me give it a go. > > I reported one of my errors incorrectly, the ngspice error was >"singular matrix", not "segmented matrix"... ooops. There is probably >no easy answer to this kind of problem except the general advice of "use >less nodes if you can". So just FYI. > > To Kaiser Familie, thanks for your reply. I have been wary of using >large widths with BSIM models for a while now and use the M factor for >almost everything. Why I thought this particular bug was disturbing is >because the two different transistors were entered into the netlist with >exactly the same syntax i.e. W, L, M, Model.... everything was identical >yet the results were different. > >ngs...@li... wrote: > > > >>Send Ngspice-users mailing list submissions to >> ngs...@li... >> >>To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.sourceforge.net/lists/listinfo/ngspice-users >>or, via email, send a message with subject or body 'help' to >> ngs...@li... >> >>You can reach the person managing the list at >> ngs...@li... >> >>When replying, please edit your Subject line so it is more specific >>than "Re: Contents of Ngspice-users digest..." >> >> >>Today's Topics: >> >> 1. Re: Identical devices give different results (Familie Kaiser) >> 2. Re: Identical devices give different results (Familie Kaiser) >> 3. segmented resistors cause segmentation faults (rich gray) >> >>-- __--__-- >> >>Message: 1 >>From: Familie Kaiser <die...@t-...> >>To: ngs...@li... >>Subject: Re: [Ngspice-users] Identical devices give different results >>Date: Fri, 31 Mar 2006 17:24:37 +0200 >>Reply-To: ngs...@li... >> >> >> >> >> >> >>Am Mittwoch, 29. M=E4rz 2006 00:08 schrieb rich gray: >> >> >> >> >>>Can anyone duplicate/fix/tell me that this does not matter? >>> >>>The following netlist is very simple (except for the model file). There >>>are two identical transistors MOS driven by two identical current >>>sources, however when this simulation is run the drain voltages of the >>>two transistors (n1 and n2) are distinctly different! This is worrisome >>>because I don't know what else may not be matching too. >>> >>>To check this I compiled a fresh copy of ngspice from the source-forge >>>download site, ngspice_RC3, in order to make sure that this phenomena >>>was not due to some bug fix I had made at some point. >>> >>>The problem seems to be a function of the relative position of the MOS >>>transistors in the netlist file. By swapping the positions of the MOS >>>lines in the netlist the different behavior will switch from one >>>transistor to the next. If more identical MOSFETs are added it is the >>>LAST one in the netlist that is different from all the others. >>> >>>I am running kernel-2.6.11-1.35_FC3. I will post this message to the >>>mail-lists too. >>> >>>Here is the netlist I am also attaching it as a file: >>> >>>problem.cir >>> >>>.options temp=3D38 >>> >>>* >>>.MODEL mn NMOS ( >>>+LEVEL=3D50 TNOM =3D 25 VERSION =3D 3.1 >>>+RSH =3D 82.2 >>>+TOX =3D 7.5e-9 XJ =3D 1E-07 NCH =3D >>>2.3579E+17 >>>+LLN =3D 1 LWN =3D 1 WLN =3D >>>1 >>>+WWN =3D 1 LINT =3D 4E-08 LL =3D >>>0 >>>+LW =3D 0 LWL =3D 0 WINT =3D >>>4E-08 >>>+WL =3D 0 WW =3D 0 WWL =3D >>>0 >>>+MOBMOD =3D 1 BINUNIT =3D 2 >>>+DWG =3D 0 DWB =3D 0 >>>+VTH0 =3D 0.552335 LVTH0 =3D 1.105919E-08 WVTH0 =3D >>>-1.638662E-07 >>>+PVTH0 =3D 2.874375E-13 K1 =3D 0.5140873 LK1 =3D >>>-2.9124E-08 >>>+WK1 =3D -4.094213E-07 PK1 =3D 9.38091E-13 K2 =3D >>>0.03640923 >>>+LK2 =3D -8.183232E-09 WK2 =3D -2.058394E-07 PK2 =3D >>>6.432856E-14 >>>+K3 =3D 0 DVT0 =3D 0 DVT1 =3D >>>0 >>>+DVT2 =3D 0 DVT0W =3D 0 DVT1W =3D >>>0 >>>+DVT2W =3D 0 NLX =3D 0 W0 =3D >>>0 >>>+K3B =3D 0 VSAT =3D 93284.7 LVSAT =3D >>>0.002439456 >>>+WVSAT =3D 0.6445567 PVSAT =3D -4.879294E-07 UA =3D >>>0 >>>+UB =3D 2.107241E-18 LUB =3D -4.659615E-25 WUB =3D >>>3.129772E-23 >>>+PUB =3D -1.756058E-29 UC =3D 1.015095E-10 LUC =3D >>>-6.65921E-17 >>>+WUC =3D 4.098089E-16 PUC =3D 3.627434E-22 RDSW =3D >>>750 >>>+PRWB =3D 0 PRWG =3D 0 WR =3D >>>1 >>>+U0 =3D 0.04695012 LU0 =3D -1.967186E-09 WU0 =3D >>>1.962427E-07 >>>+PU0 =3D -1.080658E-13 A0 =3D 1.123475 LA0 =3D >>>-1.418531E-07 >>>+WA0 =3D 6.342665E-06 PA0 =3D -7.540081E-12 KETA =3D >>>0.0194797 >>>+LKETA =3D -1.778386E-08 WKETA =3D 9.20202E-08 PKETA =3D >>>8.370197E-14 >>>+A1 =3D 0 A2 =3D 0.99 AGS =3D >>>0.2366145 >>>+LAGS =3D -9.498365E-08 WAGS =3D 7.387834E-06 PAGS =3D >>>-7.279468E-12 >>>+B0 =3D 0 B1 =3D 0 VOFF =3D >>>-0.0912467 >>>+LVOFF =3D -8.83858E-09 WVOFF =3D -1.750833E-06 PVOFF =3D >>>1.767891E-12 >>>+NFACTOR =3D 1.222168 LNFACTOR=3D -5.706807E-08 WNFACTOR=3D >>>-2.411932E-05 >>>+PNFACTOR=3D 1.921913E-11 CIT =3D -0.0004653787 LCIT =3D >>>2.443328E-10 >>>+WCIT =3D 1.884997E-08 PCIT =3D -1.208655E-14 CDSC =3D >>>0 >>>+CDSCB =3D 0 CDSCD =3D 0 ETA0 =3D >>>0.001006312 >>>+LETA0 =3D -1.492144E-10 WETA0 =3D -1.672834E-08 PETA0 =3D >>>1.395657E-14 >>>+ETAB =3D 0.0004206679 LETAB =3D -4.867127E-10 WETAB =3D >>>-8.434391E-09 >>>+PETAB =3D 9.758589E-15 DSUB =3D 0 PCLM =3D >>>1.103169 >>>+LPCLM =3D -7.354388E-07 WPCLM =3D -7.084521E-06 PPCLM =3D >>>1.571193E-11 >>>+PDIBLC1 =3D 1E-05 PDIBLC2 =3D -0.0006830479 LPDIBLC2=3D >>>3.307666E-09 >>>+WPDIBLC2=3D -8.79269E-09 PPDIBLC2=3D 1.7456E-14 PDIBLCB =3D >>>0.1651368 >>>+LPDIBLCB=3D -3.052564E-08 WPDIBLCB=3D -5.277212E-06 PPDIBLCB=3D >>>6.105734E-12 >>>+DROUT =3D 0 PSCBE1 =3D 5.782154E+08 LPSCBE1 =3D >>>-91.24341 >>>+WPSCBE1 =3D -2414.635 PPSCBE1 =3D 0.001078585 PSCBE2 =3D >>>2.779844E-05 >>>+LPSCBE2 =3D -1.260797E-11 WPSCBE2 =3D -4.836938E-10 PPSCBE2 =3D >>>2.688923E-16 >>>+PVAG =3D 0 DELTA =3D 0.01 ALPHA0 =3D 2.5E= >>> >>> >>> >>> >>=2D06 >> >> >> >> >>>+BETA0 =3D 20.7 KT1 =3D -0.356801 LKT1 =3D >>>6.597352E-08 >>>+WKT1 =3D 2.854991E-06 PKT1 =3D -3.122749E-12 KT2 =3D >>>-0.01945076 >>>+LKT2 =3D -2.003143E-09 WKT2 =3D 1.835831E-07 PKT2 =3D >>>-1.61786E-13 >>>+AT =3D 1906.944 LAT =3D 0.006801126 WAT =3D >>>-1.274016 >>>+PAT =3D 8.294801E-07 UTE =3D -1.979571 LUTE =3D >>>2.188354E-07 >>>+WUTE =3D -4.127272E-06 PUTE =3D -9.010521E-12 UA1 =3D >>>-2.167498E-10 >>>+LUA1 =3D 3.730067E-16 WUA1 =3D 1.302156E-14 PUA1 =3D >>>-4.187434E-20 >>>+UB1 =3D -1.302893E-18 LUB1 =3D 1.485358E-24 WUB1 =3D >>>-4.567962E-23 >>>+PUB1 =3D 3.1813E-29 UC1 =3D -3.468722E-10 LUC1 =3D >>>3.403191E-16 >>>+WUC1 =3D 6.229855E-15 PUC1 =3D -6.274624E-21 KT1L =3D >>>0 >>>+PRT =3D -10.67252 LPRT =3D 4.558123E-06 WPRT =3D >>>-0.0002110901 >>>+PPRT =3D 1.769419E-10 >>>+CJ =3D 9.50957e-4 CJSW =3D 2.84489e-10 >>>CJSWG =3D 1.816514e-10 >>>+MJ =3D 0.3297355 MJSW =3D 0.1303453 MJSWG =3D 0.13= >>> >>> >>> >>> >>03453 >> >> >> >> >>>+PB =3D 0.6944804 PBSW =3D 0.6944804 PBSWG =3D 0.69= >>> >>> >>> >>> >>44804 >> >> >> >> >>>+CGDO =3D 2.063e-10 CGSO =3D 2.063e-10 >>>+XTI =3D 3 CAPMOD =3D 0 >>>+NQSMOD =3D 0 XPART =3D 1 CF =3D 0 >>>+AF =3D 0.85 KF =3D 1.0E-24 >>>+JS =3D 6.27496E-05 JSW =3D 5.79847E-10 ) >>>* >>>* >>> >>>**************************************** >>>* Top Library : st1012 >>>* Top Cell : tst_ad >>>* Top View : schematic >>>**************************************** >>> >>>i1 0 n1 dc 0 pwl 0 0 5e-9 1e-6 >>>i2 0 n2 dc 0 pwl 0 0 5e-9 1e-6 >>>*i3 0 n3 dc 0 pwl 0 0 5e-9 1e-6 >>>*i4 0 n4 dc 0 pwl 0 0 5e-9 1e-6 >>>*i5 0 n5 dc 0 pwl 0 0 5e-9 1e-6 >>> >>>mi1 n1 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>mi2 n2 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>*mi3 n3 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>*mi4 n4 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>*mi5 n5 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>> >>> >>>.tran 1e-9 100e-9 0 uic >>> >>>.control >>>set filetype =3D binary >>>op >>>show all >>>run >>>plot v(n1) v(n2) >>>.endc >>> >>>.end >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= >>> >>> >>> >>> >>ge >> >> >> >> >>>that extends applications into web and mobile media. Attend the live >>>webcast and join the prime developer group breaking into this new coding >>>territory! >>>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= >>> >>> >>> >>> >>=3D121642 >> >> >> >> >>>_______________________________________________ >>>Ngspice-users mailing list >>>Ngs...@li... >>>https://lists.sourceforge.net/lists/listinfo/ngspice-users >>> >>> >>> >>> >>-- __--__-- >> >>Message: 2 >>From: Familie Kaiser <die...@t-...> >>To: ngs...@li... >>Subject: Re: [Ngspice-users] Identical devices give different results >>Date: Fri, 31 Mar 2006 17:33:16 +0200 >>Reply-To: ngs...@li... >> >> >> >>Hi,=20 >> >>I can reproduce this effect with SuSE 9.3 and the official release of ngspi= >>ce. >> >>Are you aware the even the following produces different results: >> >>mi1 n1 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>mi2 n2 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-5 m=3D100 >>mi3 n3 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-5 m=3D100 >> >>My experiance is that you can trust BSIM3 only with a width up to 10u. >> >>With more then 10u you get only good results with using the multiplier. >> >>I did not had the time to look deep into this problem. >> >>Peter >> >> >> >>Am Mittwoch, 29. M=E4rz 2006 00:08 schrieb rich gray: >> >> >> >> >>>Can anyone duplicate/fix/tell me that this does not matter? >>> >>>The following netlist is very simple (except for the model file). There >>>are two identical transistors MOS driven by two identical current >>>sources, however when this simulation is run the drain voltages of the >>>two transistors (n1 and n2) are distinctly different! This is worrisome >>>because I don't know what else may not be matching too. >>> >>>To check this I compiled a fresh copy of ngspice from the source-forge >>>download site, ngspice_RC3, in order to make sure that this phenomena >>>was not due to some bug fix I had made at some point. >>> >>>The problem seems to be a function of the relative position of the MOS >>>transistors in the netlist file. By swapping the positions of the MOS >>>lines in the netlist the different behavior will switch from one >>>transistor to the next. If more identical MOSFETs are added it is the >>>LAST one in the netlist that is different from all the others. >>> >>>I am running kernel-2.6.11-1.35_FC3. I will post this message to the >>>mail-lists too. >>> >>>Here is the netlist I am also attaching it as a file: >>> >>>problem.cir >>> >>>.options temp=3D38 >>> >>>* >>>.MODEL mn NMOS ( >>>+LEVEL=3D50 TNOM =3D 25 VERSION =3D 3.1 >>>+RSH =3D 82.2 >>>+TOX =3D 7.5e-9 XJ =3D 1E-07 NCH =3D >>>2.3579E+17 >>>+LLN =3D 1 LWN =3D 1 WLN =3D >>>1 >>>+WWN =3D 1 LINT =3D 4E-08 LL =3D >>>0 >>>+LW =3D 0 LWL =3D 0 WINT =3D >>>4E-08 >>>+WL =3D 0 WW =3D 0 WWL =3D >>>0 >>>+MOBMOD =3D 1 BINUNIT =3D 2 >>>+DWG =3D 0 DWB =3D 0 >>>+VTH0 =3D 0.552335 LVTH0 =3D 1.105919E-08 WVTH0 =3D >>>-1.638662E-07 >>>+PVTH0 =3D 2.874375E-13 K1 =3D 0.5140873 LK1 =3D >>>-2.9124E-08 >>>+WK1 =3D -4.094213E-07 PK1 =3D 9.38091E-13 K2 =3D >>>0.03640923 >>>+LK2 =3D -8.183232E-09 WK2 =3D -2.058394E-07 PK2 =3D >>>6.432856E-14 >>>+K3 =3D 0 DVT0 =3D 0 DVT1 =3D >>>0 >>>+DVT2 =3D 0 DVT0W =3D 0 DVT1W =3D >>>0 >>>+DVT2W =3D 0 NLX =3D 0 W0 =3D >>>0 >>>+K3B =3D 0 VSAT =3D 93284.7 LVSAT =3D >>>0.002439456 >>>+WVSAT =3D 0.6445567 PVSAT =3D -4.879294E-07 UA =3D >>>0 >>>+UB =3D 2.107241E-18 LUB =3D -4.659615E-25 WUB =3D >>>3.129772E-23 >>>+PUB =3D -1.756058E-29 UC =3D 1.015095E-10 LUC =3D >>>-6.65921E-17 >>>+WUC =3D 4.098089E-16 PUC =3D 3.627434E-22 RDSW =3D >>>750 >>>+PRWB =3D 0 PRWG =3D 0 WR =3D >>>1 >>>+U0 =3D 0.04695012 LU0 =3D -1.967186E-09 WU0 =3D >>>1.962427E-07 >>>+PU0 =3D -1.080658E-13 A0 =3D 1.123475 LA0 =3D >>>-1.418531E-07 >>>+WA0 =3D 6.342665E-06 PA0 =3D -7.540081E-12 KETA =3D >>>0.0194797 >>>+LKETA =3D -1.778386E-08 WKETA =3D 9.20202E-08 PKETA =3D >>>8.370197E-14 >>>+A1 =3D 0 A2 =3D 0.99 AGS =3D >>>0.2366145 >>>+LAGS =3D -9.498365E-08 WAGS =3D 7.387834E-06 PAGS =3D >>>-7.279468E-12 >>>+B0 =3D 0 B1 =3D 0 VOFF =3D >>>-0.0912467 >>>+LVOFF =3D -8.83858E-09 WVOFF =3D -1.750833E-06 PVOFF =3D >>>1.767891E-12 >>>+NFACTOR =3D 1.222168 LNFACTOR=3D -5.706807E-08 WNFACTOR=3D >>>-2.411932E-05 >>>+PNFACTOR=3D 1.921913E-11 CIT =3D -0.0004653787 LCIT =3D >>>2.443328E-10 >>>+WCIT =3D 1.884997E-08 PCIT =3D -1.208655E-14 CDSC =3D >>>0 >>>+CDSCB =3D 0 CDSCD =3D 0 ETA0 =3D >>>0.001006312 >>>+LETA0 =3D -1.492144E-10 WETA0 =3D -1.672834E-08 PETA0 =3D >>>1.395657E-14 >>>+ETAB =3D 0.0004206679 LETAB =3D -4.867127E-10 WETAB =3D >>>-8.434391E-09 >>>+PETAB =3D 9.758589E-15 DSUB =3D 0 PCLM =3D >>>1.103169 >>>+LPCLM =3D -7.354388E-07 WPCLM =3D -7.084521E-06 PPCLM =3D >>>1.571193E-11 >>>+PDIBLC1 =3D 1E-05 PDIBLC2 =3D -0.0006830479 LPDIBLC2=3D >>>3.307666E-09 >>>+WPDIBLC2=3D -8.79269E-09 PPDIBLC2=3D 1.7456E-14 PDIBLCB =3D >>>0.1651368 >>>+LPDIBLCB=3D -3.052564E-08 WPDIBLCB=3D -5.277212E-06 PPDIBLCB=3D >>>6.105734E-12 >>>+DROUT =3D 0 PSCBE1 =3D 5.782154E+08 LPSCBE1 =3D >>>-91.24341 >>>+WPSCBE1 =3D -2414.635 PPSCBE1 =3D 0.001078585 PSCBE2 =3D >>>2.779844E-05 >>>+LPSCBE2 =3D -1.260797E-11 WPSCBE2 =3D -4.836938E-10 PPSCBE2 =3D >>>2.688923E-16 >>>+PVAG =3D 0 DELTA =3D 0.01 ALPHA0 =3D 2.5E= >>> >>> >>> >>> >>=2D06 >> >> >> >> >>>+BETA0 =3D 20.7 KT1 =3D -0.356801 LKT1 =3D >>>6.597352E-08 >>>+WKT1 =3D 2.854991E-06 PKT1 =3D -3.122749E-12 KT2 =3D >>>-0.01945076 >>>+LKT2 =3D -2.003143E-09 WKT2 =3D 1.835831E-07 PKT2 =3D >>>-1.61786E-13 >>>+AT =3D 1906.944 LAT =3D 0.006801126 WAT =3D >>>-1.274016 >>>+PAT =3D 8.294801E-07 UTE =3D -1.979571 LUTE =3D >>>2.188354E-07 >>>+WUTE =3D -4.127272E-06 PUTE =3D -9.010521E-12 UA1 =3D >>>-2.167498E-10 >>>+LUA1 =3D 3.730067E-16 WUA1 =3D 1.302156E-14 PUA1 =3D >>>-4.187434E-20 >>>+UB1 =3D -1.302893E-18 LUB1 =3D 1.485358E-24 WUB1 =3D >>>-4.567962E-23 >>>+PUB1 =3D 3.1813E-29 UC1 =3D -3.468722E-10 LUC1 =3D >>>3.403191E-16 >>>+WUC1 =3D 6.229855E-15 PUC1 =3D -6.274624E-21 KT1L =3D >>>0 >>>+PRT =3D -10.67252 LPRT =3D 4.558123E-06 WPRT =3D >>>-0.0002110901 >>>+PPRT =3D 1.769419E-10 >>>+CJ =3D 9.50957e-4 CJSW =3D 2.84489e-10 >>>CJSWG =3D 1.816514e-10 >>>+MJ =3D 0.3297355 MJSW =3D 0.1303453 MJSWG =3D 0.13= >>> >>> >>> >>> >>03453 >> >> >> >> >>>+PB =3D 0.6944804 PBSW =3D 0.6944804 PBSWG =3D 0.69= >>> >>> >>> >>> >>44804 >> >> >> >> >>>+CGDO =3D 2.063e-10 CGSO =3D 2.063e-10 >>>+XTI =3D 3 CAPMOD =3D 0 >>>+NQSMOD =3D 0 XPART =3D 1 CF =3D 0 >>>+AF =3D 0.85 KF =3D 1.0E-24 >>>+JS =3D 6.27496E-05 JSW =3D 5.79847E-10 ) >>>* >>>* >>> >>>**************************************** >>>* Top Library : st1012 >>>* Top Cell : tst_ad >>>* Top View : schematic >>>**************************************** >>> >>>i1 0 n1 dc 0 pwl 0 0 5e-9 1e-6 >>>i2 0 n2 dc 0 pwl 0 0 5e-9 1e-6 >>>*i3 0 n3 dc 0 pwl 0 0 5e-9 1e-6 >>>*i4 0 n4 dc 0 pwl 0 0 5e-9 1e-6 >>>*i5 0 n5 dc 0 pwl 0 0 5e-9 1e-6 >>> >>>mi1 n1 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>mi2 n2 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>*mi3 n3 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>*mi4 n4 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>>*mi5 n5 0 0 0 mn m=3D1 l=3D1e-6 w=3D0.1e-3 >>> >>> >>>.tran 1e-9 100e-9 0 uic >>> >>>.control >>>set filetype =3D binary >>>op >>>show all >>>run >>>plot v(n1) v(n2) >>>.endc >>> >>>.end >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= >>> >>> >>> >>> >>ge >> >> >> >> >>>that extends applications into web and mobile media. Attend the live >>>webcast and join the prime developer group breaking into this new coding >>>territory! >>>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= >>> >>> >>> >>> >>=3D121642 >> >> >> >> >>>_______________________________________________ >>>Ngspice-users mailing list >>>Ngs...@li... >>>https://lists.sourceforge.net/lists/listinfo/ngspice-users >>> >>> >>> >>> >>-- __--__-- >> >>Message: 3 >>Date: Fri, 31 Mar 2006 09:52:35 -0800 >>From: rich gray <ric...@ac...> >>To: ngs...@li... >>Subject: [Ngspice-users] segmented resistors cause segmentation faults >>Reply-To: ngs...@li... >> >>Has anybody seen this behavior before. >> >>I made my schematic resistors "look like" the way I wanted my layout >>designer to lay them out i.e. if there were 150- 2k segments then I made >>my schematic (and netlist) show 150 series connected resistors. As the >>circuit got bigger I started to get more errors like "segmentation fault >>- check nodes blah blah", the transient analysis would not run, all the >>node voltages were zero. The "blah blah node" was some node on the >>series connected resistor that, upon inspection, did not really have any >>syntactical or topological problem. When I "smashed" the series >>resistors into a much smaller number of resistors the error messages >>went away and the simulation ran and gave me an answer that I expected. >> >>Is this just a general matrix problem with ngspice? As the matrix gets >>bigger and bigger are more problems like this bound to happen? Does >>anybody have any comment on this? >> >>Rich >> >> >> >>-- __--__-- >> >>_______________________________________________ >>Ngspice-users mailing list >>Ngs...@li... >>https://lists.sourceforge.net/lists/listinfo/ngspice-users >> >> >>End of Ngspice-users Digest >> >> >> >> >> > > > >-- __--__-- > >Message: 3 >Date: Sat, 01 Apr 2006 21:48:38 +0200 >From: Holger Vogt <hol...@un...> >To: ngs...@li... >Subject: Re: [Ngspice-users] Increase MAXLEN to 8192 in terminal.c line 234 >Reply-To: ngs...@li... > >In the example below, if nqsmod is not removed from the parameter list, >the error message length exceeds the buffer size in terminal.c, line >242. Ngspice segfaults. Increasing MAXLEN to say 8192 should help (for a >while, until paramater lists increase even more). > >Regards > >Holger > > > > >Dear Rich, > >remove nqsmod from the model parameters and set level to 8 (newer BSIM3 >model), then it seems to be o.k. > >Holger > > > > > >-- __--__-- > >_______________________________________________ >Ngspice-users mailing list >Ngs...@li... >https://lists.sourceforge.net/lists/listinfo/ngspice-users > > >End of Ngspice-users Digest > > > --__--__-- _______________________________________________ Ngspice-users mailing list Ngs...@li... https://lists.sourceforge.net/lists/listinfo/ngspice-users End of Ngspice-users Digest |