You can subscribe to this list here.
2001 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}
(11) 
_{Dec}
(18) 

2002 
_{Jan}
(6) 
_{Feb}
(1) 
_{Mar}
(1) 
_{Apr}
(4) 
_{May}
(13) 
_{Jun}
(3) 
_{Jul}
(3) 
_{Aug}
(3) 
_{Sep}
(4) 
_{Oct}
(2) 
_{Nov}
(3) 
_{Dec}
(3) 
2003 
_{Jan}
(2) 
_{Feb}
(1) 
_{Mar}
(12) 
_{Apr}
(32) 
_{May}
(9) 
_{Jun}
(26) 
_{Jul}
(2) 
_{Aug}
(10) 
_{Sep}
(6) 
_{Oct}
(1) 
_{Nov}
(5) 
_{Dec}
(7) 
2004 
_{Jan}
(7) 
_{Feb}
(10) 
_{Mar}
(6) 
_{Apr}
(6) 
_{May}
(6) 
_{Jun}
(49) 
_{Jul}
(11) 
_{Aug}
(5) 
_{Sep}
(11) 
_{Oct}
(13) 
_{Nov}
(35) 
_{Dec}
(11) 
2005 
_{Jan}
(4) 
_{Feb}
(17) 
_{Mar}
(47) 
_{Apr}
(21) 
_{May}
(17) 
_{Jun}
(35) 
_{Jul}
(10) 
_{Aug}
(48) 
_{Sep}
(39) 
_{Oct}
(26) 
_{Nov}
(8) 
_{Dec}
(27) 
2006 
_{Jan}
(34) 
_{Feb}
(46) 
_{Mar}
(13) 
_{Apr}
(17) 
_{May}
(2) 
_{Jun}
(11) 
_{Jul}
(8) 
_{Aug}
(24) 
_{Sep}
(23) 
_{Oct}
(47) 
_{Nov}
(14) 
_{Dec}
(32) 
2007 
_{Jan}
(20) 
_{Feb}
(17) 
_{Mar}
(28) 
_{Apr}
(11) 
_{May}
(20) 
_{Jun}
(3) 
_{Jul}

_{Aug}

_{Sep}
(9) 
_{Oct}
(1) 
_{Nov}
(2) 
_{Dec}
(18) 
2008 
_{Jan}
(22) 
_{Feb}
(24) 
_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}
(9) 
_{Aug}
(4) 
_{Sep}
(6) 
_{Oct}
(1) 
_{Nov}

_{Dec}
(2) 
2009 
_{Jan}
(2) 
_{Feb}

_{Mar}
(4) 
_{Apr}
(2) 
_{May}
(3) 
_{Jun}
(1) 
_{Jul}
(7) 
_{Aug}
(3) 
_{Sep}
(1) 
_{Oct}
(2) 
_{Nov}
(2) 
_{Dec}
(25) 
2010 
_{Jan}
(23) 
_{Feb}
(10) 
_{Mar}
(7) 
_{Apr}

_{May}
(1) 
_{Jun}
(34) 
_{Jul}
(3) 
_{Aug}
(19) 
_{Sep}
(34) 
_{Oct}
(15) 
_{Nov}
(38) 
_{Dec}
(22) 
2011 
_{Jan}
(10) 
_{Feb}
(5) 
_{Mar}
(15) 
_{Apr}
(3) 
_{May}
(10) 
_{Jun}
(7) 
_{Jul}
(1) 
_{Aug}

_{Sep}
(1) 
_{Oct}

_{Nov}

_{Dec}

2012 
_{Jan}
(20) 
_{Feb}
(21) 
_{Mar}
(18) 
_{Apr}
(2) 
_{May}
(16) 
_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}
(5) 
2013 
_{Jan}
(3) 
_{Feb}
(3) 
_{Mar}
(11) 
_{Apr}
(13) 
_{May}
(3) 
_{Jun}
(9) 
_{Jul}
(45) 
_{Aug}
(26) 
_{Sep}
(8) 
_{Oct}
(52) 
_{Nov}
(23) 
_{Dec}
(9) 
2014 
_{Jan}
(12) 
_{Feb}
(20) 
_{Mar}
(9) 
_{Apr}
(27) 
_{May}
(6) 
_{Jun}
(3) 
_{Jul}
(14) 
_{Aug}
(12) 
_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 





1
(1) 
2
(5) 
3

4

5

6
(3) 
7

8
(2) 
9

10

11

12
(2) 
13
(2) 
14

15

16

17

18

19

20

21

22
(2) 
23
(2) 
24

25

26

27

28

29
(4) 
30
(3) 
31
(1) 
From: Andrew Ingraham <a.ingraham@ie...>  20051231 16:17:38

> This circuit is a band pass filter set for 535Khz. Actually, the circuit is not really a band pass filter, but it might be used as part of one. Your circuit is just a parallel LC tank (or resonant) circuit. But you are applying an ideal AC voltage source directly across the LC circuit, and then looking at that same voltage. Of course, the voltage you see IS the voltage you apply, unchanged. There are a few ways you could turn it into a filter. One is by taking the current through the circuit as your "output". But that configuration gives you a bandreject filter. Another is by changing V1 from an ideal voltage source to an ideal current source, and taking the voltage across the LC circuit as your output. A third is by using V1 as a voltage source but adding some resistance between it and the top of the LC circuit. Other configurations are possible, but these are the most obvious ones. Always keep in mind that SPICE's basic elements are ideal and may not have realword behavior. SPICE's voltage sources have no internal resistance or impedance whatsoever, and no real signal source behaves like that! Use them in combination with other elements to construct models that better represent real devices. When simulating filters, I find it is handy to plot both the input and output signals simultaneously; for example: .plot ac v(in) v(out) If you had done this, you would have immediately recognized that your input and output signals were the same, which may have pointed you in the right direction. Also, when doing filters, often it is useful to start by looking at the very big picture, before refining your simulation. In this case, you might start with a wide frequency sweep: .ac lin 100 100kHz 1MEGHz or .ac lin 100 400kHz 600kHz before zeroing in on the center of the filter's bandpass. Looking only at 535540 kHz might be so narrow that you don't see much change across that range (depending on Q). Or you may even miss the center of the passband. Regards, Andy 
From: steven.borley <steven.borley@vi...>  20051230 09:02:18

Daryl, You are not that far off actually. What you appear to have is a =20 shunt filter. If you have used a current source rather than a =20 voltage source you would have got the result expected (albeit the =20 frequency is a off by 1.5kHz). Wener's comments are correct but I think he mistook the circuit that =20 you actually have. Of course, how you intend to use the circuit is critical and it needs =20= to be simulated in the same way you intend it to be used. So I might =20 be wrong and Werner might be right. Regards, Steven On 30 Dec 2005, at 07:30, Werner Hoch wrote: > Hi Daryl, > > On Friday 30 December 2005 06:56, dmathison@... wrote: >> This circuit is a band pass filter set for 535Khz. instead of the >> graph I expect, i get 1 volt ac straight across. >> >> V1 int1 0 ac 1 sin >> C1 int1 0 .88p >> r1 int1 int2 1p >> L1 int2 0 100.0m >> >> .ac lin 20 535khz 540khz >> .plot ac v(int1) >> .end > > * You measure the ac source v(int1) which is in fakt 1V > * The C1 is usless as it is parallel to the voltage source (you can > remove it). > * The R1/L1 combination is a highpass filter which has an very low > cutoff frequency. > > Maybe you should connect C1 to int2 and measure v(int2). But use a > larger serial resistance. > > Regards > Werner > > >  > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick > _______________________________________________ > Ngspiceusers mailing list > Ngspiceusers@... > https://lists.sourceforge.net/lists/listinfo/ngspiceusers 
From: Werner Hoch <werner.ho@gm...>  20051230 07:30:22

Hi Daryl, On Friday 30 December 2005 06:56, dmathison@... wrote: > This circuit is a band pass filter set for 535Khz. =A0instead of the > graph I expect, i get 1 volt ac straight across. > > V1 int1 0 ac 1 sin > C1 int1 0 .88p > r1 int1 int2 1p > L1 int2 0 100.0m > > .ac lin 20 535khz 540khz > .plot ac v(int1) > .end * You measure the ac source v(int1) which is in fakt 1V * The C1 is usless as it is parallel to the voltage source (you can=20 remove it). * The R1/L1 combination is a highpass filter which has an very low=20 cutoff frequency. Maybe you should connect C1 to int2 and measure v(int2). But use a=20 larger serial resistance. Regards Werner 
From: <dmathison@sa...>  20051230 05:55:27

This circuit is a band pass filter set for 535Khz. =A0instead of the graph= =20 I expect, i get 1 volt ac straight across. =A0 V1 int1 0 ac 1 sin C1 int1 0 .88p r1 int1 int2 1p L1 int2 0 100.0m =2Eac lin 20 535khz 540khz =2Eplot ac v(int1) =2Eend Thank you ahead of time, Daryl Mathison 
From: Daryl Mathison <dmathison@sa...>  20051229 23:40:45

Andrew and Matt, I didn't have a complete circuit. Thank you for your help Daryl Andrew Ingraham wrote: >In addition to your node numbers, you are asking to do an AC analysis (.ac >...), but you have not assigned a nonzero source amplitude for AC analysis. >The "sin (0 5 10Hz)" applies only for DC and Transient analysis. Try >something like: > >V1 1 0 AC 1.0 > >or > >V1 1 0 AC 1.0 sin(...) > >if you also want to do a transient analysis in the same run. > >Andy > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Ngspiceusers mailing list >Ngspiceusers@... >https://lists.sourceforge.net/lists/listinfo/ngspiceusers > > > 
From: Andrew Ingraham <a.ingraham@ie...>  20051229 20:11:52

In addition to your node numbers, you are asking to do an AC analysis (.ac ...), but you have not assigned a nonzero source amplitude for AC analysis. The "sin (0 5 10Hz)" applies only for DC and Transient analysis. Try something like: V1 1 0 AC 1.0 or V1 1 0 AC 1.0 sin(...) if you also want to do a transient analysis in the same run. Andy 
From: Matt Flax <flatmax@Matt.Flax>  20051229 05:59:24

Hi, I believe that this is not a closed circuit ... you may need to use two vin labels or better yet, two 0 labels to close the circuit. Matt On Wed, Dec 28, 2005 at 11:40:33PM 0600, Daryl Mathison wrote: > I have just got my ng spice up and I made this model > > V1 vin 1 sin(0 5 10Hz) > R1 1 2 10k > C1 2 0 1u > > .ac lin 20 50Hz 120Hz > .plot ac v(2) > .end > > > By my calculations this should be a low pass filter for 100Hz. I keep > getting zero voltage. I am sure this is easy to fix but i can't seem to > see it. I have read the documentation but maybe i am missing something. > > Daryl > > >  > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Ngspiceusers mailing list > Ngspiceusers@... > https://lists.sourceforge.net/lists/listinfo/ngspiceusers  http://www.flatmax.org Public Projects : http://sourceforge.net/search/?type_of_search=soft&words=mffm 
From: Daryl Mathison <dmathison@sa...>  20051229 05:40:38

I have just got my ng spice up and I made this model V1 vin 1 sin(0 5 10Hz) R1 1 2 10k C1 2 0 1u .ac lin 20 50Hz 120Hz .plot ac v(2) .end By my calculations this should be a low pass filter for 100Hz. I keep getting zero voltage. I am sure this is easy to fix but i can't seem to see it. I have read the documentation but maybe i am missing something. Daryl 
From: <brownh@ha...>  20051223 14:18:07

> On Thu, Dec 22, 2005 at 03:55:37PM 0500, Haines Brown wrote: ... > > I compiled ngspicerework17 under debian sarge, and no indication of > > problems. But when I try to run from a command prompt I get: ... > > external error: no graphics interface; please check compiling > > instructions ngspice 1 > > > > > $ uname a > > Linux teufel 2.6.82686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 > > GNU/Linux > > > > I tried to compile with: withx , but no luck. > > Hi, you can try the debian packages from here : > http://sourceforge.net/project/showfiles.php?group_id=38962&package_id=31152 > > They are compiled for the i386 and amd64 architectures ... one is 32 bit > the other 64 bit. > > Matt I downloaded the 32bit deb package and tried to install it, but it seems that it depends on a bit higher version of libncurses5 than I'm running on debian sarge, and it says it depends on xspice. I thought ngspice incorporated xspice. Do I need to install xspice first, and if so, where do I find it?  Haines Brown KB1GRM 
From: A & T Carver <acarver@sp...>  20051223 04:24:20

Hello all. I have a question for the group. When creating codemodels, how can you test to see if the last timestep was accepted or if it is trying a shorter delta T? Any examples would be appreciated. Thanks, Tony 
From: Matt Flax <flatmax@Matt.Flax>  20051222 23:58:51

Hi, you can try the debian packages from here : http://sourceforge.net/project/showfiles.php?group_id=38962&package_id=31152 They are compiled for the i386 and amd64 architectures ... one is 32 bit the other 64 bit. Matt On Thu, Dec 22, 2005 at 03:55:37PM 0500, Haines Brown wrote: > This question was raised last year, but I didn't see any answer. > > I compiled ngspicerework17 under debian sarge, and no indication of > problems. But when I try to run from a command prompt I get: > > $ ngspice > ****** > ** ngspice17 : Circuit level simulation program > ** The U. C. Berkeley CAD Group > ** Copyright 19851994, Regents of the University of California. > ** Please submit bugreports to: ngspicebugs@... > ** Creation Date: Thu Dec 22 14:24:54 EST 2005 > ****** > external error: no graphics interface; please check compiling > instructions ngspice 1 > > > $ uname a > Linux teufel 2.6.82686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 > GNU/Linux > > I tried to compile with: withx , but no luck. > >  > > Haines Brown > KB1GRM > > >  > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Ngspiceusers mailing list > Ngspiceusers@... > https://lists.sourceforge.net/lists/listinfo/ngspiceusers  http://www.flatmax.org Public Projects : http://sourceforge.net/search/?type_of_search=soft&words=mffm 
From: <brownh@ha...>  20051222 20:55:34

This question was raised last year, but I didn't see any answer. I compiled ngspicerework17 under debian sarge, and no indication of problems. But when I try to run from a command prompt I get: $ ngspice ****** ** ngspice17 : Circuit level simulation program ** The U. C. Berkeley CAD Group ** Copyright 19851994, Regents of the University of California. ** Please submit bugreports to: ngspicebugs@... ** Creation Date: Thu Dec 22 14:24:54 EST 2005 ****** external error: no graphics interface; please check compiling instructions ngspice 1 > $ uname a Linux teufel 2.6.82686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux I tried to compile with: withx , but no luck.  Haines Brown KB1GRM 
From: Matt Flax <flatmax@Matt.Flax>  20051213 02:21:42

Try downloading both of them to a directory ... say /tmp : cd /tmp dpkg i ngspice_17.0.01_amd64.deb xspice_17.0.01_amd64.deb the trick is to put them both onto the same line ... you can do something more dangerous, such as forcedepends option, which tells dpkg to override dependency errors. Then you can install them one by one. Matt On Mon, Dec 12, 2005 at 08:01:34PM 0600, Patrick Blanchard wrote: > Hi, > I have all the files installed on my Debian box except the xspice/ngspice! > > Each depends on the other for installation! So I can't install xspice until > ngspice is installed. I can't install ngspice until xspice is installed! > > thanks for your help > > >  > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Ngspiceusers mailing list > Ngspiceusers@... > https://lists.sourceforge.net/lists/listinfo/ngspiceusers  http://www.flatmax.org Public Projects : http://sourceforge.net/search/?type_of_search=soft&words=mffm 
From: Patrick Blanchard <pbmd@wa...>  20051213 01:53:51

Hi, I have all the files installed on my Debian box except the xspice/ngspice! Each depends on the other for installation! So I can't install xspice until ngspice is installed. I can't install ngspice until xspice is installed! thanks for your help 
From: Matt Flax <flatmax@Matt.Flax>  20051212 23:37:21

Hi, Please download the 64bit versions from here : http://sourceforge.net/project/showfiles.php?group_id=38962&package_id=31152 Matt On Mon, Dec 12, 2005 at 09:28:10AM 0600, Patrick Blanchard wrote: > Hi, > > This email is sent as a request for someone to consider porting a Debian AMD64 > installation package. > > Thanks to everyone involved w/ the development of ngspice. It is a fantastic > program (as is the entire gEDA suite). The gEDA suite is a refreshing respite > from the closed source world (I came from Proteus). FWIW, I prefer gEDA over > KICAD as the gEDA suite lends itself to a loosely nit system best suited for > a powerful collection of programs, and for future stability. > > I am working w/ QUCS right now, since it is available on the AMD64 Debian > Sarge. However, I prefer to work w/ ngspice instead yet am not smart enough > to develop a port to AMD64. In the meantime, there are some dependency issues > I'm trying to work through w/ another i386 Debian box for ngspice and hope to > have it up and running soon. > > Thank you, > Patrick > >  > Patrick Blanchard, M.D. > Board Certified in Family Medicine > Fellow, American Academy of Family Practice > > >  > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Ngspiceusers mailing list > Ngspiceusers@... > https://lists.sourceforge.net/lists/listinfo/ngspiceusers  http://www.flatmax.org Public Projects : http://sourceforge.net/search/?type_of_search=soft&words=mffm 
From: Patrick Blanchard <pbmd@wa...>  20051212 15:20:34

Hi, This email is sent as a request for someone to consider porting a Debian AMD64 installation package. Thanks to everyone involved w/ the development of ngspice. It is a fantastic program (as is the entire gEDA suite). The gEDA suite is a refreshing respite from the closed source world (I came from Proteus). FWIW, I prefer gEDA over KICAD as the gEDA suite lends itself to a loosely nit system best suited for a powerful collection of programs, and for future stability. I am working w/ QUCS right now, since it is available on the AMD64 Debian Sarge. However, I prefer to work w/ ngspice instead yet am not smart enough to develop a port to AMD64. In the meantime, there are some dependency issues I'm trying to work through w/ another i386 Debian box for ngspice and hope to have it up and running soon. Thank you, Patrick  Patrick Blanchard, M.D. Board Certified in Family Medicine Fellow, American Academy of Family Practice 
From: Manoj Kumar Singh <manoj@bh...>  20051208 08:06:03

Hello everybody This is a beginner's question. Is there any difference between command syntax of ngspice and xspice for circuit description and simulation, both analog and digital? I want to do mixedsignal circuit simulation using ngspicerework17. The documentation with ngspicerework17 does not provide help for digital circuit description and simulation. I am going through xspice user manual for this. That is why i want to know differences in command syntax, if any, between ngspice and xspice. Thanks Manoj 
From: Anil Kumar Ale <anil_unt@ho...>  20051208 02:59:50

Hai all, I want netlist for SR flipflop. If anybody have the SR flipflop netlist, please send it to me. I want to see the output for it. That will very much helpfull for me. Thank you Regards, anil _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today  it's FREE! http://messenger.msn.clickurl.com/go/onm00200471ave/direct/01/ 
From: Rui Tavares <rmt@un...>  20051206 18:46:07

Hi all, I want to observe some insights / make debug of ngspice code. I=92m used = to code under Windows with MS VC++ or C++Builder. Is there any MS VC++ or C++Builder Project File(s) for Ngspice? Did anybody tried to compile it under Windows, WITHOUT Cygwin/ Ming? Thanks in advance, =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Rui 
From: Anil Kumar Ale <anil_unt@ho...>  20051206 17:54:31

Hai Victor, Thanks for reply, In new version it has having .endc and .option. I think there is a problem in the netlist. If not with bsim4, atleast if i get output spice3f5. That will be good for me. I dont know what is the problem in the netlist. Can u check the netlist whether it is correct r not. The output which i am getting is given below ngspice 1 > print vr vS+1.5 vr = 0.000000e+00 vs+1.5 = 1.500000e+00 ngspice 2 > print vq+3 vq1+4.5 vq+3 = 3.222387e+00 vq1+4.5 = 4.722387e+00 ngspice 3 > Thank you Regards, anil >From: Victor Bourenkov <victorb@...> >ReplyTo: ngspiceusers@... >To: ngspiceusers@... >Subject: Re: [Ngspiceusers] I have problem simulating JK flipflop >Date: Tue, 6 Dec 2005 12:11:52 +0000 (GMT) > >Hi Anil, > >Can you send any output that NGSPICE gives? I do not have the version of >ngspice >with BSIM4 implemented, so I can't test your circuit. From the perspective >of >spice3f5 user, I would say that you need to check if level=14 corresponds >to the >correct implemented model (should be BSIM4). Also I am not sure that >".control / >.endc" code is implemented in ngspice. Does anybody know? > >Cheers, >Victor > > > > > > > Hai Victor, > > > > Thanks for response. sorry , i send a wrong netlist. I >am > > trying to find the output for SR flipflop. > > > > But i am not getting any output for the circuit. I have taken this >netlist > > from some website. Can u help me, what is the mistake in the netlist or > > what's the problem getting an output. Does should i give any initial > > conditions for it? > > > > > > *netlist for the circuit > > .control > > destroy all > > run > > plot vr vS+1.5 vQ+3 vq1+4.5 VQ1+4.5 ylimit 0 6 > > .endc > > .option scale=50n > > .tran .01n 4n > > > > vS vS 0 DC 0 pulse(0 1 1n 0 0 1n 2n) > > vR vR 0 DC 0 pulse(0 1 2n 0 0 2n 4n) > > > > x1 vS vQ vQ1 NAND > > x2 vR vQ1 vQ NAND > > > > .subckt NAND ina inb out > > vdd vdd 0 DC 1 > > M1 out ina vdd vdd PMOS L=1 W=20 > > M2 out inb vdd vdd PMOS L=1 W=20 > > M3 out ina n1 0 NMOS L=1 W=20 > > M4 n1 inb 0 0 NMOS L=1 W=10 > > .ends NAND > > * 50nm BSIM4 models > > * > > * Don't forget the .options scale=50nm if using an Lmin of 1 > > * 1<Ldrawn<200 10<Wdrawn<10000 Vdd=1V > > * Change to level=54 when using HSPICE > > > > .model nmos nmos level = 14 > > > > +binunit = 1 paramchk= 1 mobmod = 0 > > +capmod = 2 igcmod = 1 igbmod = 1 >geomod > > = 1 > > +diomod = 1 rdsmod = 0 rbodymod= 1 > > rgatemod= 1 > > +permod = 1 acnqsmod= 0 trnqsmod= 0 > > > > +tnom = 27 toxe = 1.4e009 toxp = 7e010 >toxm > > = 1.4e009 > > +epsrox = 3.9 wint = 5e009 lint = 1.2e008 > > +ll = 0 wl = 0 lln = 1 >wln > > = 1 > > +lw = 0 ww = 0 lwn = 1 >wwn > > = 1 > > +lwl = 0 wwl = 0 xpart = 0 >toxref > > = 1.4e009 > > > > +vth0 = 0.22 k1 = 0.35 k2 = 0.05 k3 > > = 0 > > +k3b = 0 w0 = 2.5e006 dvt0 = 2.8 >dvt1 > > = 0.52 > > +dvt2 = 0.032 dvt0w = 0 dvt1w = 0 >dvt2w > > = 0 > > +dsub = 2 minv = 0.05 voffl = 0 >dvtp0 > > = 1e007 > > +dvtp1 = 0.05 lpe0 = 5.75e008 lpeb = 2.3e010 xj > > = 2e008 > > +ngate = 5e+020 ndep = 2.8e+018 nsd = 1e+020 >phin > > = 0 > > +cdsc = 0.0002 cdscb = 0 cdscd = 0 >cit > > = 0 > > +voff = 0.15 nfactor = 1.2 eta0 = 0.15 >etab > > = 0 > > +vfb = 0.55 u0 = 0.032 ua = 1.6e010 ub > > = 1.1e017 > > +uc = 3e011 vsat = 1.1e+005 a0 = 2 >ags > > = 1e020 > > +a1 = 0 a2 = 1 b0 = 1e020 b1 > > = 0 > > +keta = 0.04 dwg = 0 dwb = 0 >pclm > > = 0.18 > > +pdiblc1 = 0.028 pdiblc2 = 0.022 pdiblcb = 0.005 >drout > > = 0.45 > > +pvag = 1e020 delta = 0.01 pscbe1 = 8.14e+008 >pscbe2 > > = 1e007 > > +fprout = 0.2 pdits = 0.2 pditsd = 0.23 >pditsl > > = 2.3e+006 > > +rsh = 3 rdsw = 150 rsw = 150 >rdw > > = 150 > > +rdswmin = 0 rdwmin = 0 rswmin = 0 >prwg > > = 0 > > +prwb = 6.8e011 wr = 1 alpha0 = 0.074 >alpha1 > > = 0.005 > > +beta0 = 30 agidl = 0.0002 bgidl = 2.1e+009 >cgidl > > = 0.0002 > > +egidl = 0.8 > > > > +aigbacc = 0.012 bigbacc = 0.0028 cigbacc = 0.002 > > +nigbacc = 1 aigbinv = 0.014 bigbinv = 0.004 > > cigbinv = 0.004 > > +eigbinv = 1.1 nigbinv = 3 aigc = 0.017 >bigc > > = 0.0028 > > +cigc = 0.002 aigsd = 0.017 bigsd = 0.0028 >cigsd > > = 0.002 > > +nigc = 1 poxedge = 1 pigcd = 1 >ntox > > = 1 > > > > +xrcrg1 = 12 xrcrg2 = 5 > > +cgso = 6.238e010 cgdo = 6.238e010 cgbo = 2.56e011 >cgdl > > = 2.495e10 > > +cgsl = 2.495e10 ckappas = 0.02 ckappad = 0.02 >acde > > = 1 > > +moin = 15 noff = 0.9 voffcv = 0.02 > > > > +kt1 = 0.21 kt1l = 0.0 kt2 = 0.042 >ute > > = 1.5 > > +ua1 = 1e009 ub1 = 3.5e019 uc1 = 0 >prt > > = 0 > > +at = 53000 > > > > +fnoimod = 1 tnoimod = 0 > > > > +jss = 0.0001 jsws = 1e011 jswgs = 1e010 >njs > > = 1 > > +ijthsfwd= 0.01 ijthsrev= 0.001 bvs = 10 >xjbvs > > = 1 > > +jsd = 0.0001 jswd = 1e011 jswgd = 1e010 >njd > > = 1 > > +ijthdfwd= 0.01 ijthdrev= 0.001 bvd = 10 >xjbvd > > = 1 > > +pbs = 1 cjs = 0.0005 mjs = 0.5 >pbsws > > = 1 > > +cjsws = 5e010 mjsws = 0.33 pbswgs = 1 >cjswgs > > = 3e010 > > +mjswgs = 0.33 pbd = 1 cjd = 0.0005 >mjd > > = 0.5 > > +pbswd = 1 cjswd = 5e010 mjswd = 0.33 >pbswgd > > = 1 > > +cjswgd = 5e010 mjswgd = 0.33 tpb = 0.005 >tcj > > = 0.001 > > +tpbsw = 0.005 tcjsw = 0.001 tpbswg = 0.005 >tcjswg > > = 0.001 > > +xtis = 3 xtid = 3 > > > > +dmcg = 0e006 dmci = 0e006 dmdg = 0e006 >dmcgt > > = 0e007 > > +dwj = 0.0e008 xgw = 0e007 xgl = 0e008 > > > > +rshg = 0.4 gbmin = 1e010 rbpb = 5 >rbpd > > = 15 > > +rbps = 15 rbdb = 15 rbsb = 15 >ngcon > > = 1 > > > > .model pmos pmos level = 14 > > > > +binunit = 1 paramchk= 1 mobmod = 0 > > +capmod = 2 igcmod = 1 igbmod = 1 >geomod > > = 1 > > +diomod = 1 rdsmod = 0 rbodymod= 1 > > rgatemod= 1 > > +permod = 1 acnqsmod= 0 trnqsmod= 0 > > > > +tnom = 27 toxe = 1.4e009 toxp = 7e010 >toxm > > = 1.4e009 > > +epsrox = 3.9 wint = 5e009 lint = 1.2e008 > > +ll = 0 wl = 0 lln = 1 >wln > > = 1 > > +lw = 0 ww = 0 lwn = 1 >wwn > > = 1 > > +lwl = 0 wwl = 0 xpart = 0 >toxref > > = 1.4e009 > > > > +vth0 = 0.22 k1 = 0.39 k2 = 0.05 k3 > > = 0 > > +k3b = 0 w0 = 2.5e006 dvt0 = 3.9 >dvt1 > > = 0.635 > > +dvt2 = 0.032 dvt0w = 0 dvt1w = 0 >dvt2w > > = 0 > > +dsub = 0.7 minv = 0.05 voffl = 0 >dvtp0 > > = 0.5e008 > > +dvtp1 = 0.05 lpe0 = 5.75e008 lpeb = 2.3e010 xj > > = 2e008 > > +ngate = 5e+020 ndep = 2.8e+018 nsd = 1e+020 >phin > > = 0 > > +cdsc = 0.000258 cdscb = 0 cdscd = 6.1e008 >cit > > = 0 > > +voff = 0.15 nfactor = 2 eta0 = 0.15 >etab > > = 0 > > +vfb = 0.55 u0 = 0.0095 ua = 1.6e009 ub > > = 8e018 > > +uc = 4.6e013 vsat = 90000 a0 = 1.2 >ags > > = 1e020 > > +a1 = 0 a2 = 1 b0 = 1e020 b1 > > = 0 > > +keta = 0.047 dwg = 0 dwb = 0 >pclm > > = 0.55 > > +pdiblc1 = 0.03 pdiblc2 = 0.0055 pdiblcb = 3.4e008 >drout > > = 0.56 > > +pvag = 1e020 delta = 0.014 pscbe1 = 8.14e+008 >pscbe2 > > = 9.58e007 > > +fprout = 0.2 pdits = 0.2 pditsd = 0.23 >pditsl > > = 2.3e+006 > > +rsh = 3 rdsw = 250 rsw = 160 >rdw > > = 160 > > +rdswmin = 0 rdwmin = 0 rswmin = 0 >prwg > > = 3.22e008 > > +prwb = 6.8e011 wr = 1 alpha0 = 0.074 >alpha1 > > = 0.005 > > +beta0 = 30 agidl = 0.0002 bgidl = 2.1e+009 >cgidl > > = 0.0002 > > +egidl = 0.8 > > > > +aigbacc = 0.012 bigbacc = 0.0028 cigbacc = 0.002 > > +nigbacc = 1 aigbinv = 0.014 bigbinv = 0.004 > > cigbinv = 0.004 > > +eigbinv = 1.1 nigbinv = 3 aigc = 0.69 >bigc > > = 0.0012 > > +cigc = 0.0008 aigsd = 0.0087 bigsd = 0.0012 >cigsd > > = 0.0008 > > +nigc = 1 poxedge = 1 pigcd = 1 >ntox > > = 1 > > > > +xrcrg1 = 12 xrcrg2 = 5 > > +cgso = 7.43e010 cgdo = 7.43e010 cgbo = 2.56e011 >cgdl > > = 1e014 > > +cgsl = 1e014 ckappas = 0.5 ckappad = 0.5 >acde > > = 1 > > +moin = 15 noff = 0.9 voffcv = 0.02 > > > > +kt1 = 0.19 kt1l = 0 kt2 = 0.052 >ute > > = 1.5 > > +ua1 = 1e009 ub1 = 2e018 uc1 = 0 >prt > > = 0 > > +at = 33000 > > > > +fnoimod = 1 tnoimod = 0 > > > > +jss = 0.0001 jsws = 1e011 jswgs = 1e010 >njs > > = 1 > > +ijthsfwd= 0.01 ijthsrev= 0.001 bvs = 10 >xjbvs > > = 1 > > +jsd = 0.0001 jswd = 1e011 jswgd = 1e010 >njd > > = 1 > > +ijthdfwd= 0.01 ijthdrev= 0.001 bvd = 10 >xjbvd > > = 1 > > +pbs = 1 cjs = 0.0005 mjs = 0.5 >pbsws > > = 1 > > +cjsws = 5e010 mjsws = 0.33 pbswgs = 1 >cjswgs > > = 3e010 > > +mjswgs = 0.33 pbd = 1 cjd = 0.0005 >mjd > > = 0.5 > > +pbswd = 1 cjswd = 5e010 mjswd = 0.33 >pbswgd > > = 1 > > +cjswgd = 5e010 mjswgd = 0.33 tpb = 0.005 >tcj > > = 0.001 > > +tpbsw = 0.005 tcjsw = 0.001 tpbswg = 0.005 >tcjswg > > = 0.001 > > +xtis = 3 xtid = 3 > > > > +dmcg = 5e006 dmci = 5e006 dmdg = 5e006 >dmcgt > > = 6e007 > > +dwj = 4.5e008 xgw = 3e007 xgl = 4e008 > > > > +rshg = 0.4 gbmin = 1e010 rbpb = 5 >rbpd > > = 15 > > +rbps = 15 rbdb = 15 rbsb = 15 >ngcon > > = 1 > > .end > > > > I hope you help me > > > > Thank you > > > > Regards, > > anil > > > > >From: Victor Bourenkov <victorb@...> > > >ReplyTo: ngspiceusers@... > > >To: ngspiceusers@... > > >Subject: Re: [Ngspiceusers] I have problem simulating JK flipflop > > >Date: Fri, 2 Dec 2005 10:33:58 +0000 (GMT) > > > > > >Hi Anil, > > > > > >am I missing something or your circuit consists only of voltage >sources? > > > > > >Regards, > > >Victor > > > > > > > > > > > > > > > hai everybody, > > > > > > > > > > > > i tried to simulate the jk flip flop netlist. >but > > > > ngspice is able to plot the input values. It is unable to plot or >print > > >the > > > > output. The netlist which iam running in the ngspice is below. Plz >look > > >at > > > > once and tell wats the problem. > > > > > > > > * File name: JKTest.cir* > > > > * Voltage and current sources > > > > * > > > > VBTN1 4 0 DC 0 PULSE(0 1.2 1.00N 0.1N 0.1N 1.00N 3.00N ) > > > > VBTN2 3 0 DC 0 PULSE(0 1.2 2.00N 0.1N 0.1N 2.00N 5.00N ) > > > > VBTN3 2 0 DC 0 PULSE(0 1.2 3.00N 0.1N 0.1N 3.00N 7.00N ) > > > > VBTN4 5 0 DC 0 PULSE(0 1.2 4.00N 0.1N 0.1N 4.00N 9.00N ) > > > > VBTN5 6 0 DC 0 PULSE(0 1.2 5.00N 0.1N 0.1N 5.00N 11.00N ) > > > > * > > > > * Passive devices > > > > * > > > > * > > > > * Active devices > > > > * > > > > * > > > > * > > > > * Mos models in 0.12µm > > > > * Model 3 nchannel MOS > > > > .MODEL TN NMOS > > > > + LEVEL=3 TPG=+1 > > > > + GAMMA=0.2 THETA=0.5 KAPPA=0.1 ETA=0.002 > > > > + DELTA=0.0 UO=620 VMAX=100E3 VTO=0.35 > > > > + TOX=3e9 XJ=0.1U LD=0.00U NSUB=1E+18 > > > > + NSS=0.2 NFS=7E11 > > > > + CJ=4.091E4 MJ=0.307 PB=1.0 > > > > + CJSW=3.078E10 MJSW=1.0E2 > > > > + CGSO=3.93E10 CGDO=3.93E10 > > > > * Model 3 pchannel MOS > > > > .MODEL TP PMOS > > > > + LEVEL=3 TPG=1 > > > > + GAMMA=0.2 THETA=0.5 KAPPA=0.01 ETA=0.001 > > > > + DELTA=0.0 UO=250 VMAX=500E3 VTO=0.35 > > > > + TOX=3E9 XJ=0.1U LD=0.0U >NSUB=1E+18 > > > > + NSS=0.0 NFS=7E11 > > > > + CJ=6.852E4 MJ=0.429 PB=1.0 > > > > + CJSW=5.217E10 MJSW=0.351 > > > > + CGSO=7.29E10 CGDO=7.29E10 > > > > .TRAN 0.1ns 250ns > > > > * Run simulation > > > > *#run > > > > * > > > > * Dump time and volts in "JKTest.out" > > > > *#set nobreak > > > > .print V(4) V(3) V(2) V(5) V(6) V(8) V(7) > JKTest.out > > > > .plot V(4) V(3) V(2) V(5) V(6) V(8) V(7) > > > > .OPTIONS DELMIN=0 RELTOL=1E6 > > > > .END > > > > > > > > I hope some one can help me > > > > > > > > Thank you, > > > > > > > > > > > > Regards > > > > anil > > > > > > > > > > > > > > > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > >files > > >for problems? Stop! Download the new AJAX search engine that makes > > >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > > >_______________________________________________ > > >Ngspiceusers mailing list > > >Ngspiceusers@... > > >https://lists.sourceforge.net/lists/listinfo/ngspiceusers > > > > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! Download today  it's >FREE! > > http://messenger.msn.clickurl.com/go/onm00200471ave/direct/01/ > > > > > > > >  > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > Ngspiceusers mailing list > > Ngspiceusers@... > > https://lists.sourceforge.net/lists/listinfo/ngspiceusers > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Ngspiceusers mailing list >Ngspiceusers@... >https://lists.sourceforge.net/lists/listinfo/ngspiceusers _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today  it's FREE! http://messenger.msn.clickurl.com/go/onm00200471ave/direct/01/ 
From: Victor Bourenkov <victorb@ty...>  20051206 12:12:08

Hi Anil, Can you send any output that NGSPICE gives? I do not have the version of ng= spice=20 with BSIM4 implemented, so I can't test your circuit. From the perspective = of=20 spice3f5 user, I would say that you need to check if level=3D14 corresponds= to the=20 correct implemented model (should be BSIM4). Also I am not sure that ".cont= rol /=20 .endc" code is implemented in ngspice. Does anybody know? Cheers, Victor >=20 >=20 > Hai Victor, >=20 > Thanks for response. sorry , i send a wrong netlist. I = am=20 > trying to find the output for SR flipflop. >=20 > But i am not getting any output for the circuit. I have taken this netlis= t=20 > from some website. Can u help me, what is the mistake in the netlist or= =20 > what's the problem getting an output. Does should i give any initial=20 > conditions for it? >=20 >=20 > *netlist for the circuit > .control > destroy all > run > plot vr vS+1.5 vQ+3 vq1+4.5 VQ1+4.5 ylimit 0 6 > .endc > .option scale=3D50n > .tran .01n 4n >=20 > vS vS 0 DC 0 pulse(0 1 1n 0 0 1n 2n) > vR vR 0 DC 0 pulse(0 1 2n 0 0 2n 4n) >=20 > x1 vS vQ vQ1 NAND > x2 vR vQ1 vQ NAND >=20 > .subckt NAND ina inb out > vdd vdd 0 DC 1 > M1 out ina vdd vdd PMOS L=3D1 W=3D20 > M2 out inb vdd vdd PMOS L=3D1 W=3D20 > M3 out ina n1 0 NMOS L=3D1 W=3D20 > M4 n1 inb 0 0 NMOS L=3D1 W=3D10 > .ends NAND > * 50nm BSIM4 models > * > * Don't forget the .options scale=3D50nm if using an Lmin of 1 > * 1<Ldrawn<200 10<Wdrawn<10000 Vdd=3D1V > * Change to level=3D54 when using HSPICE >=20 > .model nmos nmos level =3D 14 >=20 > +binunit =3D 1 paramchk=3D 1 mobmod =3D 0 > +capmod =3D 2 igcmod =3D 1 igbmod =3D 1 = geomod=20 > =3D 1 > +diomod =3D 1 rdsmod =3D 0 rbodymod=3D 1 = =20 > rgatemod=3D 1 > +permod =3D 1 acnqsmod=3D 0 trnqsmod=3D 0 >=20 > +tnom =3D 27 toxe =3D 1.4e009 toxp =3D 7e010 = toxm =20 > =3D 1.4e009 > +epsrox =3D 3.9 wint =3D 5e009 lint =3D 1.2e008 > +ll =3D 0 wl =3D 0 lln =3D 1 = wln =20 > =3D 1 > +lw =3D 0 ww =3D 0 lwn =3D 1 = wwn =20 > =3D 1 > +lwl =3D 0 wwl =3D 0 xpart =3D 0 = toxref=20 > =3D 1.4e009 >=20 > +vth0 =3D 0.22 k1 =3D 0.35 k2 =3D 0.05 = k3 =20 > =3D 0 > +k3b =3D 0 w0 =3D 2.5e006 dvt0 =3D 2.8 = dvt1 =20 > =3D 0.52 > +dvt2 =3D 0.032 dvt0w =3D 0 dvt1w =3D 0 = dvt2w =20 > =3D 0 > +dsub =3D 2 minv =3D 0.05 voffl =3D 0 = dvtp0 =20 > =3D 1e007 > +dvtp1 =3D 0.05 lpe0 =3D 5.75e008 lpeb =3D 2.3e010 = xj =20 > =3D 2e008 > +ngate =3D 5e+020 ndep =3D 2.8e+018 nsd =3D 1e+020 = phin =20 > =3D 0 > +cdsc =3D 0.0002 cdscb =3D 0 cdscd =3D 0 = cit =20 > =3D 0 > +voff =3D 0.15 nfactor =3D 1.2 eta0 =3D 0.15 = etab =20 > =3D 0 > +vfb =3D 0.55 u0 =3D 0.032 ua =3D 1.6e010 = ub =20 > =3D 1.1e017 > +uc =3D 3e011 vsat =3D 1.1e+005 a0 =3D 2 = ags =20 > =3D 1e020 > +a1 =3D 0 a2 =3D 1 b0 =3D 1e020 = b1 =20 > =3D 0 > +keta =3D 0.04 dwg =3D 0 dwb =3D 0 = pclm =20 > =3D 0.18 > +pdiblc1 =3D 0.028 pdiblc2 =3D 0.022 pdiblcb =3D 0.005 = drout =20 > =3D 0.45 > +pvag =3D 1e020 delta =3D 0.01 pscbe1 =3D 8.14e+008 = pscbe2=20 > =3D 1e007 > +fprout =3D 0.2 pdits =3D 0.2 pditsd =3D 0.23 = pditsl=20 > =3D 2.3e+006 > +rsh =3D 3 rdsw =3D 150 rsw =3D 150 = rdw =20 > =3D 150 > +rdswmin =3D 0 rdwmin =3D 0 rswmin =3D 0 = prwg =20 > =3D 0 > +prwb =3D 6.8e011 wr =3D 1 alpha0 =3D 0.074 = alpha1=20 > =3D 0.005 > +beta0 =3D 30 agidl =3D 0.0002 bgidl =3D 2.1e+009 = cgidl =20 > =3D 0.0002 > +egidl =3D 0.8 >=20 > +aigbacc =3D 0.012 bigbacc =3D 0.0028 cigbacc =3D 0.002 > +nigbacc =3D 1 aigbinv =3D 0.014 bigbinv =3D 0.004 = =20 > cigbinv =3D 0.004 > +eigbinv =3D 1.1 nigbinv =3D 3 aigc =3D 0.017 = bigc =20 > =3D 0.0028 > +cigc =3D 0.002 aigsd =3D 0.017 bigsd =3D 0.0028 = cigsd =20 > =3D 0.002 > +nigc =3D 1 poxedge =3D 1 pigcd =3D 1 = ntox =20 > =3D 1 >=20 > +xrcrg1 =3D 12 xrcrg2 =3D 5 > +cgso =3D 6.238e010 cgdo =3D 6.238e010 cgbo =3D 2.56e011 = cgdl =20 > =3D 2.495e10 > +cgsl =3D 2.495e10 ckappas =3D 0.02 ckappad =3D 0.02 = acde =20 > =3D 1 > +moin =3D 15 noff =3D 0.9 voffcv =3D 0.02 >=20 > +kt1 =3D 0.21 kt1l =3D 0.0 kt2 =3D 0.042 = ute =20 > =3D 1.5 > +ua1 =3D 1e009 ub1 =3D 3.5e019 uc1 =3D 0 = prt =20 > =3D 0 > +at =3D 53000 >=20 > +fnoimod =3D 1 tnoimod =3D 0 >=20 > +jss =3D 0.0001 jsws =3D 1e011 jswgs =3D 1e010 = njs =20 > =3D 1 > +ijthsfwd=3D 0.01 ijthsrev=3D 0.001 bvs =3D 10 = xjbvs =20 > =3D 1 > +jsd =3D 0.0001 jswd =3D 1e011 jswgd =3D 1e010 = njd =20 > =3D 1 > +ijthdfwd=3D 0.01 ijthdrev=3D 0.001 bvd =3D 10 = xjbvd =20 > =3D 1 > +pbs =3D 1 cjs =3D 0.0005 mjs =3D 0.5 = pbsws =20 > =3D 1 > +cjsws =3D 5e010 mjsws =3D 0.33 pbswgs =3D 1 = cjswgs=20 > =3D 3e010 > +mjswgs =3D 0.33 pbd =3D 1 cjd =3D 0.0005 = mjd =20 > =3D 0.5 > +pbswd =3D 1 cjswd =3D 5e010 mjswd =3D 0.33 = pbswgd=20 > =3D 1 > +cjswgd =3D 5e010 mjswgd =3D 0.33 tpb =3D 0.005 = tcj =20 > =3D 0.001 > +tpbsw =3D 0.005 tcjsw =3D 0.001 tpbswg =3D 0.005 = tcjswg=20 > =3D 0.001 > +xtis =3D 3 xtid =3D 3 >=20 > +dmcg =3D 0e006 dmci =3D 0e006 dmdg =3D 0e006 = dmcgt =20 > =3D 0e007 > +dwj =3D 0.0e008 xgw =3D 0e007 xgl =3D 0e008 >=20 > +rshg =3D 0.4 gbmin =3D 1e010 rbpb =3D 5 = rbpd =20 > =3D 15 > +rbps =3D 15 rbdb =3D 15 rbsb =3D 15 = ngcon =20 > =3D 1 >=20 > .model pmos pmos level =3D 14 >=20 > +binunit =3D 1 paramchk=3D 1 mobmod =3D 0 > +capmod =3D 2 igcmod =3D 1 igbmod =3D 1 = geomod=20 > =3D 1 > +diomod =3D 1 rdsmod =3D 0 rbodymod=3D 1 = =20 > rgatemod=3D 1 > +permod =3D 1 acnqsmod=3D 0 trnqsmod=3D 0 >=20 > +tnom =3D 27 toxe =3D 1.4e009 toxp =3D 7e010 = toxm =20 > =3D 1.4e009 > +epsrox =3D 3.9 wint =3D 5e009 lint =3D 1.2e008 > +ll =3D 0 wl =3D 0 lln =3D 1 = wln =20 > =3D 1 > +lw =3D 0 ww =3D 0 lwn =3D 1 = wwn =20 > =3D 1 > +lwl =3D 0 wwl =3D 0 xpart =3D 0 = toxref=20 > =3D 1.4e009 >=20 > +vth0 =3D 0.22 k1 =3D 0.39 k2 =3D 0.05 = k3 =20 > =3D 0 > +k3b =3D 0 w0 =3D 2.5e006 dvt0 =3D 3.9 = dvt1 =20 > =3D 0.635 > +dvt2 =3D 0.032 dvt0w =3D 0 dvt1w =3D 0 = dvt2w =20 > =3D 0 > +dsub =3D 0.7 minv =3D 0.05 voffl =3D 0 = dvtp0 =20 > =3D 0.5e008 > +dvtp1 =3D 0.05 lpe0 =3D 5.75e008 lpeb =3D 2.3e010 = xj =20 > =3D 2e008 > +ngate =3D 5e+020 ndep =3D 2.8e+018 nsd =3D 1e+020 = phin =20 > =3D 0 > +cdsc =3D 0.000258 cdscb =3D 0 cdscd =3D 6.1e008 = cit =20 > =3D 0 > +voff =3D 0.15 nfactor =3D 2 eta0 =3D 0.15 = etab =20 > =3D 0 > +vfb =3D 0.55 u0 =3D 0.0095 ua =3D 1.6e009 = ub =20 > =3D 8e018 > +uc =3D 4.6e013 vsat =3D 90000 a0 =3D 1.2 = ags =20 > =3D 1e020 > +a1 =3D 0 a2 =3D 1 b0 =3D 1e020 = b1 =20 > =3D 0 > +keta =3D 0.047 dwg =3D 0 dwb =3D 0 = pclm =20 > =3D 0.55 > +pdiblc1 =3D 0.03 pdiblc2 =3D 0.0055 pdiblcb =3D 3.4e008 = drout =20 > =3D 0.56 > +pvag =3D 1e020 delta =3D 0.014 pscbe1 =3D 8.14e+008 = pscbe2=20 > =3D 9.58e007 > +fprout =3D 0.2 pdits =3D 0.2 pditsd =3D 0.23 = pditsl=20 > =3D 2.3e+006 > +rsh =3D 3 rdsw =3D 250 rsw =3D 160 = rdw =20 > =3D 160 > +rdswmin =3D 0 rdwmin =3D 0 rswmin =3D 0 = prwg =20 > =3D 3.22e008 > +prwb =3D 6.8e011 wr =3D 1 alpha0 =3D 0.074 = alpha1=20 > =3D 0.005 > +beta0 =3D 30 agidl =3D 0.0002 bgidl =3D 2.1e+009 = cgidl =20 > =3D 0.0002 > +egidl =3D 0.8 >=20 > +aigbacc =3D 0.012 bigbacc =3D 0.0028 cigbacc =3D 0.002 > +nigbacc =3D 1 aigbinv =3D 0.014 bigbinv =3D 0.004 = =20 > cigbinv =3D 0.004 > +eigbinv =3D 1.1 nigbinv =3D 3 aigc =3D 0.69 = bigc =20 > =3D 0.0012 > +cigc =3D 0.0008 aigsd =3D 0.0087 bigsd =3D 0.0012 = cigsd =20 > =3D 0.0008 > +nigc =3D 1 poxedge =3D 1 pigcd =3D 1 = ntox =20 > =3D 1 >=20 > +xrcrg1 =3D 12 xrcrg2 =3D 5 > +cgso =3D 7.43e010 cgdo =3D 7.43e010 cgbo =3D 2.56e011 = cgdl =20 > =3D 1e014 > +cgsl =3D 1e014 ckappas =3D 0.5 ckappad =3D 0.5 = acde =20 > =3D 1 > +moin =3D 15 noff =3D 0.9 voffcv =3D 0.02 >=20 > +kt1 =3D 0.19 kt1l =3D 0 kt2 =3D 0.052 = ute =20 > =3D 1.5 > +ua1 =3D 1e009 ub1 =3D 2e018 uc1 =3D 0 = prt =20 > =3D 0 > +at =3D 33000 >=20 > +fnoimod =3D 1 tnoimod =3D 0 >=20 > +jss =3D 0.0001 jsws =3D 1e011 jswgs =3D 1e010 = njs =20 > =3D 1 > +ijthsfwd=3D 0.01 ijthsrev=3D 0.001 bvs =3D 10 = xjbvs =20 > =3D 1 > +jsd =3D 0.0001 jswd =3D 1e011 jswgd =3D 1e010 = njd =20 > =3D 1 > +ijthdfwd=3D 0.01 ijthdrev=3D 0.001 bvd =3D 10 = xjbvd =20 > =3D 1 > +pbs =3D 1 cjs =3D 0.0005 mjs =3D 0.5 = pbsws =20 > =3D 1 > +cjsws =3D 5e010 mjsws =3D 0.33 pbswgs =3D 1 = cjswgs=20 > =3D 3e010 > +mjswgs =3D 0.33 pbd =3D 1 cjd =3D 0.0005 = mjd =20 > =3D 0.5 > +pbswd =3D 1 cjswd =3D 5e010 mjswd =3D 0.33 = pbswgd=20 > =3D 1 > +cjswgd =3D 5e010 mjswgd =3D 0.33 tpb =3D 0.005 = tcj =20 > =3D 0.001 > +tpbsw =3D 0.005 tcjsw =3D 0.001 tpbswg =3D 0.005 = tcjswg=20 > =3D 0.001 > +xtis =3D 3 xtid =3D 3 >=20 > +dmcg =3D 5e006 dmci =3D 5e006 dmdg =3D 5e006 = dmcgt =20 > =3D 6e007 > +dwj =3D 4.5e008 xgw =3D 3e007 xgl =3D 4e008 >=20 > +rshg =3D 0.4 gbmin =3D 1e010 rbpb =3D 5 = rbpd =20 > =3D 15 > +rbps =3D 15 rbdb =3D 15 rbsb =3D 15 = ngcon =20 > =3D 1 > .end >=20 > I hope you help me >=20 > Thank you >=20 > Regards, > anil >=20 > >From: Victor Bourenkov <victorb@...> > >ReplyTo: ngspiceusers@... > >To: ngspiceusers@... > >Subject: Re: [Ngspiceusers] I have problem simulating JK flipflop > >Date: Fri, 2 Dec 2005 10:33:58 +0000 (GMT) > > > >Hi Anil, > > > >am I missing something or your circuit consists only of voltage sources? > > > >Regards, > >Victor > > > > > > > > > > > hai everybody, > > > > > > > > > i tried to simulate the jk flip flop netlist. bu= t > > > ngspice is able to plot the input values. It is unable to plot or pri= nt=20 > >the > > > output. The netlist which iam running in the ngspice is below. Plz lo= ok=20 > >at > > > once and tell wats the problem. > > > > > > * File name: JKTest.cir* > > > * Voltage and current sources > > > * > > > VBTN1 4 0 DC 0 PULSE(0 1.2 1.00N 0.1N 0.1N 1.00N 3.00N ) > > > VBTN2 3 0 DC 0 PULSE(0 1.2 2.00N 0.1N 0.1N 2.00N 5.00N ) > > > VBTN3 2 0 DC 0 PULSE(0 1.2 3.00N 0.1N 0.1N 3.00N 7.00N ) > > > VBTN4 5 0 DC 0 PULSE(0 1.2 4.00N 0.1N 0.1N 4.00N 9.00N ) > > > VBTN5 6 0 DC 0 PULSE(0 1.2 5.00N 0.1N 0.1N 5.00N 11.00N ) > > > * > > > * Passive devices > > > * > > > * > > > * Active devices > > > * > > > * > > > * > > > * Mos models in 0.12=B5m > > > * Model 3 nchannel MOS > > > .MODEL TN NMOS > > > + LEVEL=3D3 TPG=3D+1 > > > + GAMMA=3D0.2 THETA=3D0.5 KAPPA=3D0.1 ETA=3D= 0.002 > > > + DELTA=3D0.0 UO=3D620 VMAX=3D100E3 VTO=3D= 0.35 > > > + TOX=3D3e9 XJ=3D0.1U LD=3D0.00U NSUB= =3D1E+18 > > > + NSS=3D0.2 NFS=3D7E11 > > > + CJ=3D4.091E4 MJ=3D0.307 PB=3D1.0 > > > + CJSW=3D3.078E10 MJSW=3D1.0E2 > > > + CGSO=3D3.93E10 CGDO=3D3.93E10 > > > * Model 3 pchannel MOS > > > .MODEL TP PMOS > > > + LEVEL=3D3 TPG=3D1 > > > + GAMMA=3D0.2 THETA=3D0.5 KAPPA=3D0.01 ETA= =3D0.001 > > > + DELTA=3D0.0 UO=3D250 VMAX=3D500E3 VTO= =3D0.35 > > > + TOX=3D3E9 XJ=3D0.1U LD=3D0.0U NSU= B=3D1E+18 > > > + NSS=3D0.0 NFS=3D7E11 > > > + CJ=3D6.852E4 MJ=3D0.429 PB=3D1.0 > > > + CJSW=3D5.217E10 MJSW=3D0.351 > > > + CGSO=3D7.29E10 CGDO=3D7.29E10 > > > .TRAN 0.1ns 250ns > > > * Run simulation > > > *#run > > > * > > > * Dump time and volts in "JKTest.out" > > > *#set nobreak > > > .print V(4) V(3) V(2) V(5) V(6) V(8) V(7) > JKTest.out > > > .plot V(4) V(3) V(2) V(5) V(6) V(8) V(7) > > > .OPTIONS DELMIN=3D0 RELTOL=3D1E6 > > > .END > > > > > > I hope some one can help me > > > > > > Thank you, > > > > > > > > > Regards > > > anil > > > > > > > > > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through log= =20 > >files > >for problems? Stop! Download the new AJAX search engine that makes > >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > >http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick > >_______________________________________________ > >Ngspiceusers mailing list > >Ngspiceusers@... > >https://lists.sourceforge.net/lists/listinfo/ngspiceusers >=20 > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today  it's FREE= !=20 > http://messenger.msn.clickurl.com/go/onm00200471ave/direct/01/ >=20 >=20 >=20 >  > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Ngspiceusers mailing list > Ngspiceusers@... > https://lists.sourceforge.net/lists/listinfo/ngspiceusers 
From: Anil Kumar Ale <anil_unt@ho...>  20051202 20:41:13

Hai Victor, Thanks for response. sorry , i send a wrong netlist. I am trying to find the output for SR flipflop. But i am not getting any output for the circuit. I have taken this netlist from some website. Can u help me, what is the mistake in the netlist or what's the problem getting an output. Does should i give any initial conditions for it? *netlist for the circuit .control destroy all run plot vr vS+1.5 vQ+3 vq1+4.5 VQ1+4.5 ylimit 0 6 .endc .option scale=50n .tran .01n 4n vS vS 0 DC 0 pulse(0 1 1n 0 0 1n 2n) vR vR 0 DC 0 pulse(0 1 2n 0 0 2n 4n) x1 vS vQ vQ1 NAND x2 vR vQ1 vQ NAND .subckt NAND ina inb out vdd vdd 0 DC 1 M1 out ina vdd vdd PMOS L=1 W=20 M2 out inb vdd vdd PMOS L=1 W=20 M3 out ina n1 0 NMOS L=1 W=20 M4 n1 inb 0 0 NMOS L=1 W=10 .ends NAND * 50nm BSIM4 models * * Don't forget the .options scale=50nm if using an Lmin of 1 * 1<Ldrawn<200 10<Wdrawn<10000 Vdd=1V * Change to level=54 when using HSPICE .model nmos nmos level = 14 +binunit = 1 paramchk= 1 mobmod = 0 +capmod = 2 igcmod = 1 igbmod = 1 geomod = 1 +diomod = 1 rdsmod = 0 rbodymod= 1 rgatemod= 1 +permod = 1 acnqsmod= 0 trnqsmod= 0 +tnom = 27 toxe = 1.4e009 toxp = 7e010 toxm = 1.4e009 +epsrox = 3.9 wint = 5e009 lint = 1.2e008 +ll = 0 wl = 0 lln = 1 wln = 1 +lw = 0 ww = 0 lwn = 1 wwn = 1 +lwl = 0 wwl = 0 xpart = 0 toxref = 1.4e009 +vth0 = 0.22 k1 = 0.35 k2 = 0.05 k3 = 0 +k3b = 0 w0 = 2.5e006 dvt0 = 2.8 dvt1 = 0.52 +dvt2 = 0.032 dvt0w = 0 dvt1w = 0 dvt2w = 0 +dsub = 2 minv = 0.05 voffl = 0 dvtp0 = 1e007 +dvtp1 = 0.05 lpe0 = 5.75e008 lpeb = 2.3e010 xj = 2e008 +ngate = 5e+020 ndep = 2.8e+018 nsd = 1e+020 phin = 0 +cdsc = 0.0002 cdscb = 0 cdscd = 0 cit = 0 +voff = 0.15 nfactor = 1.2 eta0 = 0.15 etab = 0 +vfb = 0.55 u0 = 0.032 ua = 1.6e010 ub = 1.1e017 +uc = 3e011 vsat = 1.1e+005 a0 = 2 ags = 1e020 +a1 = 0 a2 = 1 b0 = 1e020 b1 = 0 +keta = 0.04 dwg = 0 dwb = 0 pclm = 0.18 +pdiblc1 = 0.028 pdiblc2 = 0.022 pdiblcb = 0.005 drout = 0.45 +pvag = 1e020 delta = 0.01 pscbe1 = 8.14e+008 pscbe2 = 1e007 +fprout = 0.2 pdits = 0.2 pditsd = 0.23 pditsl = 2.3e+006 +rsh = 3 rdsw = 150 rsw = 150 rdw = 150 +rdswmin = 0 rdwmin = 0 rswmin = 0 prwg = 0 +prwb = 6.8e011 wr = 1 alpha0 = 0.074 alpha1 = 0.005 +beta0 = 30 agidl = 0.0002 bgidl = 2.1e+009 cgidl = 0.0002 +egidl = 0.8 +aigbacc = 0.012 bigbacc = 0.0028 cigbacc = 0.002 +nigbacc = 1 aigbinv = 0.014 bigbinv = 0.004 cigbinv = 0.004 +eigbinv = 1.1 nigbinv = 3 aigc = 0.017 bigc = 0.0028 +cigc = 0.002 aigsd = 0.017 bigsd = 0.0028 cigsd = 0.002 +nigc = 1 poxedge = 1 pigcd = 1 ntox = 1 +xrcrg1 = 12 xrcrg2 = 5 +cgso = 6.238e010 cgdo = 6.238e010 cgbo = 2.56e011 cgdl = 2.495e10 +cgsl = 2.495e10 ckappas = 0.02 ckappad = 0.02 acde = 1 +moin = 15 noff = 0.9 voffcv = 0.02 +kt1 = 0.21 kt1l = 0.0 kt2 = 0.042 ute = 1.5 +ua1 = 1e009 ub1 = 3.5e019 uc1 = 0 prt = 0 +at = 53000 +fnoimod = 1 tnoimod = 0 +jss = 0.0001 jsws = 1e011 jswgs = 1e010 njs = 1 +ijthsfwd= 0.01 ijthsrev= 0.001 bvs = 10 xjbvs = 1 +jsd = 0.0001 jswd = 1e011 jswgd = 1e010 njd = 1 +ijthdfwd= 0.01 ijthdrev= 0.001 bvd = 10 xjbvd = 1 +pbs = 1 cjs = 0.0005 mjs = 0.5 pbsws = 1 +cjsws = 5e010 mjsws = 0.33 pbswgs = 1 cjswgs = 3e010 +mjswgs = 0.33 pbd = 1 cjd = 0.0005 mjd = 0.5 +pbswd = 1 cjswd = 5e010 mjswd = 0.33 pbswgd = 1 +cjswgd = 5e010 mjswgd = 0.33 tpb = 0.005 tcj = 0.001 +tpbsw = 0.005 tcjsw = 0.001 tpbswg = 0.005 tcjswg = 0.001 +xtis = 3 xtid = 3 +dmcg = 0e006 dmci = 0e006 dmdg = 0e006 dmcgt = 0e007 +dwj = 0.0e008 xgw = 0e007 xgl = 0e008 +rshg = 0.4 gbmin = 1e010 rbpb = 5 rbpd = 15 +rbps = 15 rbdb = 15 rbsb = 15 ngcon = 1 .model pmos pmos level = 14 +binunit = 1 paramchk= 1 mobmod = 0 +capmod = 2 igcmod = 1 igbmod = 1 geomod = 1 +diomod = 1 rdsmod = 0 rbodymod= 1 rgatemod= 1 +permod = 1 acnqsmod= 0 trnqsmod= 0 +tnom = 27 toxe = 1.4e009 toxp = 7e010 toxm = 1.4e009 +epsrox = 3.9 wint = 5e009 lint = 1.2e008 +ll = 0 wl = 0 lln = 1 wln = 1 +lw = 0 ww = 0 lwn = 1 wwn = 1 +lwl = 0 wwl = 0 xpart = 0 toxref = 1.4e009 +vth0 = 0.22 k1 = 0.39 k2 = 0.05 k3 = 0 +k3b = 0 w0 = 2.5e006 dvt0 = 3.9 dvt1 = 0.635 +dvt2 = 0.032 dvt0w = 0 dvt1w = 0 dvt2w = 0 +dsub = 0.7 minv = 0.05 voffl = 0 dvtp0 = 0.5e008 +dvtp1 = 0.05 lpe0 = 5.75e008 lpeb = 2.3e010 xj = 2e008 +ngate = 5e+020 ndep = 2.8e+018 nsd = 1e+020 phin = 0 +cdsc = 0.000258 cdscb = 0 cdscd = 6.1e008 cit = 0 +voff = 0.15 nfactor = 2 eta0 = 0.15 etab = 0 +vfb = 0.55 u0 = 0.0095 ua = 1.6e009 ub = 8e018 +uc = 4.6e013 vsat = 90000 a0 = 1.2 ags = 1e020 +a1 = 0 a2 = 1 b0 = 1e020 b1 = 0 +keta = 0.047 dwg = 0 dwb = 0 pclm = 0.55 +pdiblc1 = 0.03 pdiblc2 = 0.0055 pdiblcb = 3.4e008 drout = 0.56 +pvag = 1e020 delta = 0.014 pscbe1 = 8.14e+008 pscbe2 = 9.58e007 +fprout = 0.2 pdits = 0.2 pditsd = 0.23 pditsl = 2.3e+006 +rsh = 3 rdsw = 250 rsw = 160 rdw = 160 +rdswmin = 0 rdwmin = 0 rswmin = 0 prwg = 3.22e008 +prwb = 6.8e011 wr = 1 alpha0 = 0.074 alpha1 = 0.005 +beta0 = 30 agidl = 0.0002 bgidl = 2.1e+009 cgidl = 0.0002 +egidl = 0.8 +aigbacc = 0.012 bigbacc = 0.0028 cigbacc = 0.002 +nigbacc = 1 aigbinv = 0.014 bigbinv = 0.004 cigbinv = 0.004 +eigbinv = 1.1 nigbinv = 3 aigc = 0.69 bigc = 0.0012 +cigc = 0.0008 aigsd = 0.0087 bigsd = 0.0012 cigsd = 0.0008 +nigc = 1 poxedge = 1 pigcd = 1 ntox = 1 +xrcrg1 = 12 xrcrg2 = 5 +cgso = 7.43e010 cgdo = 7.43e010 cgbo = 2.56e011 cgdl = 1e014 +cgsl = 1e014 ckappas = 0.5 ckappad = 0.5 acde = 1 +moin = 15 noff = 0.9 voffcv = 0.02 +kt1 = 0.19 kt1l = 0 kt2 = 0.052 ute = 1.5 +ua1 = 1e009 ub1 = 2e018 uc1 = 0 prt = 0 +at = 33000 +fnoimod = 1 tnoimod = 0 +jss = 0.0001 jsws = 1e011 jswgs = 1e010 njs = 1 +ijthsfwd= 0.01 ijthsrev= 0.001 bvs = 10 xjbvs = 1 +jsd = 0.0001 jswd = 1e011 jswgd = 1e010 njd = 1 +ijthdfwd= 0.01 ijthdrev= 0.001 bvd = 10 xjbvd = 1 +pbs = 1 cjs = 0.0005 mjs = 0.5 pbsws = 1 +cjsws = 5e010 mjsws = 0.33 pbswgs = 1 cjswgs = 3e010 +mjswgs = 0.33 pbd = 1 cjd = 0.0005 mjd = 0.5 +pbswd = 1 cjswd = 5e010 mjswd = 0.33 pbswgd = 1 +cjswgd = 5e010 mjswgd = 0.33 tpb = 0.005 tcj = 0.001 +tpbsw = 0.005 tcjsw = 0.001 tpbswg = 0.005 tcjswg = 0.001 +xtis = 3 xtid = 3 +dmcg = 5e006 dmci = 5e006 dmdg = 5e006 dmcgt = 6e007 +dwj = 4.5e008 xgw = 3e007 xgl = 4e008 +rshg = 0.4 gbmin = 1e010 rbpb = 5 rbpd = 15 +rbps = 15 rbdb = 15 rbsb = 15 ngcon = 1 .end I hope you help me Thank you Regards, anil >From: Victor Bourenkov <victorb@...> >ReplyTo: ngspiceusers@... >To: ngspiceusers@... >Subject: Re: [Ngspiceusers] I have problem simulating JK flipflop >Date: Fri, 2 Dec 2005 10:33:58 +0000 (GMT) > >Hi Anil, > >am I missing something or your circuit consists only of voltage sources? > >Regards, >Victor > > > > > > > hai everybody, > > > > > > i tried to simulate the jk flip flop netlist. but > > ngspice is able to plot the input values. It is unable to plot or print >the > > output. The netlist which iam running in the ngspice is below. Plz look >at > > once and tell wats the problem. > > > > * File name: JKTest.cir* > > * Voltage and current sources > > * > > VBTN1 4 0 DC 0 PULSE(0 1.2 1.00N 0.1N 0.1N 1.00N 3.00N ) > > VBTN2 3 0 DC 0 PULSE(0 1.2 2.00N 0.1N 0.1N 2.00N 5.00N ) > > VBTN3 2 0 DC 0 PULSE(0 1.2 3.00N 0.1N 0.1N 3.00N 7.00N ) > > VBTN4 5 0 DC 0 PULSE(0 1.2 4.00N 0.1N 0.1N 4.00N 9.00N ) > > VBTN5 6 0 DC 0 PULSE(0 1.2 5.00N 0.1N 0.1N 5.00N 11.00N ) > > * > > * Passive devices > > * > > * > > * Active devices > > * > > * > > * > > * Mos models in 0.12µm > > * Model 3 nchannel MOS > > .MODEL TN NMOS > > + LEVEL=3 TPG=+1 > > + GAMMA=0.2 THETA=0.5 KAPPA=0.1 ETA=0.002 > > + DELTA=0.0 UO=620 VMAX=100E3 VTO=0.35 > > + TOX=3e9 XJ=0.1U LD=0.00U NSUB=1E+18 > > + NSS=0.2 NFS=7E11 > > + CJ=4.091E4 MJ=0.307 PB=1.0 > > + CJSW=3.078E10 MJSW=1.0E2 > > + CGSO=3.93E10 CGDO=3.93E10 > > * Model 3 pchannel MOS > > .MODEL TP PMOS > > + LEVEL=3 TPG=1 > > + GAMMA=0.2 THETA=0.5 KAPPA=0.01 ETA=0.001 > > + DELTA=0.0 UO=250 VMAX=500E3 VTO=0.35 > > + TOX=3E9 XJ=0.1U LD=0.0U NSUB=1E+18 > > + NSS=0.0 NFS=7E11 > > + CJ=6.852E4 MJ=0.429 PB=1.0 > > + CJSW=5.217E10 MJSW=0.351 > > + CGSO=7.29E10 CGDO=7.29E10 > > .TRAN 0.1ns 250ns > > * Run simulation > > *#run > > * > > * Dump time and volts in "JKTest.out" > > *#set nobreak > > .print V(4) V(3) V(2) V(5) V(6) V(8) V(7) > JKTest.out > > .plot V(4) V(3) V(2) V(5) V(6) V(8) V(7) > > .OPTIONS DELMIN=0 RELTOL=1E6 > > .END > > > > I hope some one can help me > > > > Thank you, > > > > > > Regards > > anil > > > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Ngspiceusers mailing list >Ngspiceusers@... >https://lists.sourceforge.net/lists/listinfo/ngspiceusers _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today  it's FREE! http://messenger.msn.clickurl.com/go/onm00200471ave/direct/01/ 
From: steven.borley <steven.borley@vi...>  20051202 18:29:28

Jim, Did you compile ngspice with the XSpice option turned on (./ configure ... enablexspice ...) ? You need XSpice to be able to use the POLY(n) syntax. from the look of your output (assuming it is complete XSpice is not enabled) I would expect to see the following is XSpice was compiled in... [mirrordoors:~] steven% ngspice Got 1 devices. Added device: spice2poly < Note this Got 0 udns. Got 17 devices. Added device: climit Added device: divide ... [snip] .... Added udn: int Added udn: real ****** ** ngspice17 : Circuit level simulation program ** The U. C. Berkeley CAD Group ** Copyright 19851994, Regents of the University of California. ** Please submit bugreports to: ngspicebugs@... ** Creation Date: Tue Sep 6 21:43:58 BST 2005 ****** Not sure of your level of expertise. I assume you are a (animal?) biologist. If you need help recompiling please let us know, stating the computer platform you are using and is operating system and version it has (it can sometime affect the options used). If this is not the problem, or you still have problems after you re compile (which is quite possible as ngspice and PSpice have some incompatibilities), then we might also be able to help with this too. Posting the circuit file (or at least the relevant portion) would help with this. Regards, Steven On 2 Dec 2005, at 15:00, Jim Maas wrote: > Hi All, > > This is a rather bold attempt to see if ngspice will help me out > with something. I'm sure you will find it a rather unorthadox > application of any spice derivative. I found a model in the > literature of a kidney (yes, you read it correctly, like in human > renal physiology!) and would like to see if I can revive it and > make it run! It was originally written for pspice and now I've > just downloaded and installed ngspice in the hope that they might > be compatible. > > Anyone bold enough to make a suggestion? I've tried running the > model in ngspice and get several errors. I'm not an electronics > person so this is slow going. Thanks for any suggestions you might > have. > > Best Regards > > Jim >  > > Jim Maas > james.maas at nottingham dot ac dot uk > > >  > ** ngspice17 : Circuit level simulation program > ** The U. C. Berkeley CAD Group > ** Copyright 19851994, Regents of the University of California. > ** Please submit bugreports to: ngspicebugs@... > ** Creation Date: Fri Dec 2 14:17:53 GMT 2005 > ****** > > Circuit: RENAL CIRCUIT > > Error on line 204 : e:vcompare1:gain vcompare1:5 0 POLY( 2 ) 1 0 0 > 2 0 10000 10000 > unknown parameter (0) > Error on line 204 : e:vcompare2:gain vcompare2:5 0 POLY( 2 ) 1 0 0 > 7 0 10000 10000 > unknown parameter (0) > Error on line 204 : e:vcompare3:gain vcompare3:5 0 POLY( 2 ) 1 0 0 > 12 0 10000 10000 > unknown parameter (0) > Error on line 17 : egfr1 4 0 poly(1) 1 0 38.4 1.92 > unknown parameter (38.4) > > > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses, which could damage > your computer system: you are advised to perform your own checks. > Email communications with the University of Nottingham may be > monitored as permitted by UK legislation. > 
From: Dietmar Warning <warning@da...>  20051202 18:27:48

Jim Maas schrieb: > Hi All, > > This is a rather bold attempt to see if ngspice will help me out with > something. I'm sure you will find it a rather unorthadox application > of any spice derivative. I found a model in the literature of a > kidney (yes, you read it correctly, like in human renal physiology!) > and would like to see if I can revive it and make it run! It was > originally written for pspice and now I've just downloaded and > installed ngspice in the hope that they might be compatible. > > Anyone bold enough to make a suggestion? I've tried running the model > in ngspice and get several errors. I'm not an electronics person so > this is slow going. Thanks for any suggestions you might have. > > Best Regards > > Jim >  > > Jim Maas > james.maas at nottingham dot ac dot uk > > >  > ** ngspice17 : Circuit level simulation program > ** The U. C. Berkeley CAD Group > ** Copyright 19851994, Regents of the University of California. > ** Please submit bugreports to: ngspicebugs@... > ** Creation Date: Fri Dec 2 14:17:53 GMT 2005 > ****** > > Circuit: RENAL CIRCUIT > > Error on line 204 : e:vcompare1:gain vcompare1:5 0 POLY( 2 ) 1 0 0 2 0 > 10000 10000 > unknown parameter (0) > Error on line 204 : e:vcompare2:gain vcompare2:5 0 POLY( 2 ) 1 0 0 7 0 > 10000 10000 > unknown parameter (0) > Error on line 204 : e:vcompare3:gain vcompare3:5 0 POLY( 2 ) 1 0 0 12 > 0 10000 10000 > unknown parameter (0) > Error on line 17 : egfr1 4 0 poly(1) 1 0 38.4 1.92 > unknown parameter (38.4) > > > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses, which could damage your > computer system: you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > You must load the xspice poly extension. That means you must compile with xspice enabled (see configure help). Dietmar 
From: Jim Maas <james.maas@no...>  20051202 15:01:09

Hi All, This is a rather bold attempt to see if ngspice will help me out with something. I'm sure you will find it a rather unorthadox application of any spice derivative. I found a model in the literature of a kidney (yes, you read it correctly, like in human renal physiology!) and would like to see if I can revive it and make it run! It was originally written for pspice and now I've just downloaded and installed ngspice in the hope that they might be compatible. Anyone bold enough to make a suggestion? I've tried running the model in ngspice and get several errors. I'm not an electronics person so this is slow going. Thanks for any suggestions you might have. Best Regards Jim  Jim Maas james.maas at nottingham dot ac dot uk  ** ngspice17 : Circuit level simulation program ** The U. C. Berkeley CAD Group ** Copyright 19851994, Regents of the University of California. ** Please submit bugreports to: ngspicebugs@... ** Creation Date: Fri Dec 2 14:17:53 GMT 2005 ****** Circuit: RENAL CIRCUIT Error on line 204 : e:vcompare1:gain vcompare1:5 0 POLY( 2 ) 1 0 0 2 0 10000 10000 unknown parameter (0) Error on line 204 : e:vcompare2:gain vcompare2:5 0 POLY( 2 ) 1 0 0 7 0 10000 10000 unknown parameter (0) Error on line 204 : e:vcompare3:gain vcompare3:5 0 POLY( 2 ) 1 0 0 12 0 10000 10000 unknown parameter (0) Error on line 17 : egfr1 4 0 poly(1) 1 0 38.4 1.92 unknown parameter (38.4) This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 