Electronics-Related.com
Forums

another LT Spice question

Started by John Larkin September 15, 2013
On Tue, 17 Sep 2013 11:20:56 -0700, Fred Abse
<excretatauris@invalid.invalid> wrote:

>On Mon, 16 Sep 2013 13:41:40 -0700, Jim Thompson wrote: > >> On Mon, 16 Sep 2013 12:29:57 -0700, Fred Abse >> <excretatauris@invalid.invalid> wrote: >> >>>On Mon, 16 Sep 2013 12:20:36 -0700, Jim Thompson wrote: >>> >>>> .RAW, LTspice of >>>> conventional Spice .DAT >>> >>>"rawfiles" originated in Berkeley Spice. >>> >>>" The standard suffix for rawspice files in VMS is ".raw"" (Spice 3f man >>>page) >> >> Probably why I never saw them. When I last used Berkeley Spice (~1980) I >> used the .OUT file to drive a tractor printer, outputting a numerical list >> of voltage versus time and *'s marking a rough waveform ;-) >> > >I can still do ASCII plots (Berkeley 3F). Not that I ever do. > >1980 was BG (Before Gnuplot) :-)
LTspice should have a .PRINT statement like PSpice. Undocumented now, but it's still there... I just made a symbol for it, somewhat like a probe symbol, but with a printer on top. I stick it on a node where I want a numeric listing, and the listing appears in the .OUT file, ala Berkeley. I use such listings to do post-processing in Excel, or create PWL sources, or in IBIS modeling. The output data points are equal-spaced ("Print Step" in the .TRAN settings). In LTspice (there is no .OUT file), I understand that you can get an unevenly-spaced list, requiring using an executable by Helmut Sennewald to extrapolate to evenly spaced. I have an executable (Aaron wrote it for me) that takes this evenly spaced data and optimizes it for least amount of points needed for PWL or IBIS models (IBIS has a 100 point limitation on most descriptors, a real PITA, so you have to be creative :-) ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
responding to
http://www.electrondepot.com/electrodesign/another-lt-spice-question-694249-.htm
, Shivaling Mahant-Shetti wrote:
> To-Email-Use-The-Envelope-Icon wrote: > > On Tue, 17 Sep 2013 11:20:56 -0700, Fred Abse > wrote: > > >On Mon, 16 Sep 2013 13:41:40 -0700, Jim Thompson wrote: > > > >> On Mon, 16 Sep 2013 12:29:57 -0700, Fred Abse > >> wrote: > >> > >>>On Mon, 16 Sep 2013 12:20:36 -0700, Jim Thompson wrote: > >>> > >>>> .RAW, LTspice of > >>>> conventional Spice .DAT > >>> > >>>"rawfiles" originated in Berkeley Spice. > >>> > >>>" The standard suffix for rawspice files in VMS is > ".raw"" (Spice 3f man > >>>page) > >> > >> Probably why I never saw them. When I last used Berkeley Spice > (~1980) I > >> used the .OUT file to drive a tractor printer, outputting a > numerical list > >> of voltage versus time and *'s marking a rough waveform ;-) > >> > > > >I can still do ASCII plots (Berkeley 3F). Not that I ever do. > > > >1980 was BG (Before Gnuplot) :-) > > LTspice should have a .PRINT statement like PSpice. > > Undocumented now, but it's still there... I just made a symbol for it, > somewhat like a probe symbol, but with a printer on top. > > I stick it on a node where I want a numeric listing, and the listing > appears in the .OUT file, ala Berkeley. >
Jim, I used .out files to look at effective transistor widths and lengths as well as the operating points. I miss this in LTSPICE. Is there a way to get these. Also, how could I get the probe with a printer t that you came up with?
On Sat, 12 Apr 2014 01:18:02 +0000, Shivaling Mahant-Shetti
<f6ceedb9c75b52f7fcc0a55cf0cfbf5d_972@example.com> wrote:

>responding to >http://www.electrondepot.com/electrodesign/another-lt-spice-question-694249-.htm >, Shivaling Mahant-Shetti wrote: >> To-Email-Use-The-Envelope-Icon wrote: >> >> On Tue, 17 Sep 2013 11:20:56 -0700, Fred Abse >> wrote: >> >> >On Mon, 16 Sep 2013 13:41:40 -0700, Jim Thompson wrote: >> > >> >> On Mon, 16 Sep 2013 12:29:57 -0700, Fred Abse >> >> wrote: >> >> >> >>>On Mon, 16 Sep 2013 12:20:36 -0700, Jim Thompson wrote: >> >>> >> >>>> .RAW, LTspice of >> >>>> conventional Spice .DAT >> >>> >> >>>"rawfiles" originated in Berkeley Spice. >> >>> >> >>>" The standard suffix for rawspice files in VMS is >> ".raw"" (Spice 3f man >> >>>page) >> >> >> >> Probably why I never saw them. When I last used Berkeley Spice >> (~1980) I >> >> used the .OUT file to drive a tractor printer, outputting a >> numerical list >> >> of voltage versus time and *'s marking a rough waveform ;-) >> >> >> > >> >I can still do ASCII plots (Berkeley 3F). Not that I ever do. >> > >> >1980 was BG (Before Gnuplot) :-) >> >> LTspice should have a .PRINT statement like PSpice. >> >> Undocumented now, but it's still there... I just made a symbol for it, >> somewhat like a probe symbol, but with a printer on top. >> >> I stick it on a node where I want a numeric listing, and the listing >> appears in the .OUT file, ala Berkeley. >> >Jim, >I used .out files to look at effective transistor widths and lengths as well >as the operating points. I miss this in LTSPICE. Is there a way to get these. > Also, how could I get the probe with a printer t >that you came up with? > >
My grammar was poor. There's an undocumented .PRINT in _PSpice_, that simply requires making a symbol (*) that spits out a .PRINT statement. AFAIK there is no such equivalent in LTspice, though one might try using the LTspice vernacular "Spice directive", .PRINT... (*) An alternate way is discussed in... Subject: Interesting Spice Netlisting Quirk Date: Fri, 04 Apr 2014 10:59:42 -0700 Message-ID: <49rtj91c746imoevajbqv5djcnucs4fjth@4ax.com> (And, by "Symbol", meaning as used in PSpice, with a netlisting template, etc.) I just remembered, I have a Berkeley Spice3F3 manual which might offer some hints on finding hidden features in LTspice. I'll post a link tomorrow. As for a .OUT file equivalent, I haven't found any such creature. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Fri, 11 Apr 2014 18:37:54 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:

>On Sat, 12 Apr 2014 01:18:02 +0000, Shivaling Mahant-Shetti ><f6ceedb9c75b52f7fcc0a55cf0cfbf5d_972@example.com> wrote: > >>responding to >>http://www.electrondepot.com/electrodesign/another-lt-spice-question-694249-.htm >>, Shivaling Mahant-Shetti wrote: >>> To-Email-Use-The-Envelope-Icon wrote: >>> >>> On Tue, 17 Sep 2013 11:20:56 -0700, Fred Abse >>> wrote: >>> >>> >On Mon, 16 Sep 2013 13:41:40 -0700, Jim Thompson wrote: >>> > >>> >> On Mon, 16 Sep 2013 12:29:57 -0700, Fred Abse >>> >> wrote: >>> >> >>> >>>On Mon, 16 Sep 2013 12:20:36 -0700, Jim Thompson wrote: >>> >>> >>> >>>> .RAW, LTspice of >>> >>>> conventional Spice .DAT >>> >>> >>> >>>"rawfiles" originated in Berkeley Spice. >>> >>> >>> >>>" The standard suffix for rawspice files in VMS is >>> ".raw"" (Spice 3f man >>> >>>page) >>> >> >>> >> Probably why I never saw them. When I last used Berkeley Spice >>> (~1980) I >>> >> used the .OUT file to drive a tractor printer, outputting a >>> numerical list >>> >> of voltage versus time and *'s marking a rough waveform ;-) >>> >> >>> > >>> >I can still do ASCII plots (Berkeley 3F). Not that I ever do. >>> > >>> >1980 was BG (Before Gnuplot) :-) >>> >>> LTspice should have a .PRINT statement like PSpice. >>> >>> Undocumented now, but it's still there... I just made a symbol for it, >>> somewhat like a probe symbol, but with a printer on top. >>> >>> I stick it on a node where I want a numeric listing, and the listing >>> appears in the .OUT file, ala Berkeley. >>> >>Jim, >>I used .out files to look at effective transistor widths and lengths as well >>as the operating points. I miss this in LTSPICE. Is there a way to get these. >> Also, how could I get the probe with a printer t >>that you came up with? >> >> > >My grammar was poor. There's an undocumented .PRINT in _PSpice_, that >simply requires making a symbol (*) that spits out a .PRINT statement. >AFAIK there is no such equivalent in LTspice, though one might try >using the LTspice vernacular "Spice directive", .PRINT... > >(*) An alternate way is discussed in... >Subject: Interesting Spice Netlisting Quirk >Date: Fri, 04 Apr 2014 10:59:42 -0700 >Message-ID: <49rtj91c746imoevajbqv5djcnucs4fjth@4ax.com> > >(And, by "Symbol", meaning as used in PSpice, with a netlisting >template, etc.) > >I just remembered, I have a Berkeley Spice3F3 manual which might offer >some hints on finding hidden features in LTspice. I'll post a link >tomorrow. > >As for a .OUT file equivalent, I haven't found any such creature. > > ...Jim Thompson
Spice3F3, now on the "Tools & Macros" page of my website. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
>"Shivaling Mahant-Shetti" wrote in message >news:a0337$5348944a$43de0cc0$18314@news.flashnewsgroups.com...
>> I stick it on a node where I want a numeric listing, and the listing >> appears in the .OUT file, ala Berkeley. > >Jim, >I used .out files to look at effective transistor widths and lengths as >well >as the operating points. I miss this in LTSPICE.
What I will say, is that in SuperSpice, there is docked signal list tab that you can click on to display, for example, Vds and Vdsat together so that you can check immediately, over process corners, whether the device is operating in the correct region over DC or transient sweeps. http://www.anasoft.co.uk/images/signalgraph.png all main parameters such as gm,gds, vt, vgst are available Kevin Aylward B.Sc. www.kevinaylward.co.uk www.anasoft.co.uk - SuperSpice
On Sat, 12 Apr 2014 01:18:02 +0000, Shivaling Mahant-Shetti
<f6ceedb9c75b52f7fcc0a55cf0cfbf5d_972@example.com> wrote:

>responding to >http://www.electrondepot.com/electrodesign/another-lt-spice-question-694249-.htm >, Shivaling Mahant-Shetti wrote: >> To-Email-Use-The-Envelope-Icon wrote: >> >> On Tue, 17 Sep 2013 11:20:56 -0700, Fred Abse >> wrote: >> >> >On Mon, 16 Sep 2013 13:41:40 -0700, Jim Thompson wrote: >> > >> >> On Mon, 16 Sep 2013 12:29:57 -0700, Fred Abse >> >> wrote: >> >> >> >>>On Mon, 16 Sep 2013 12:20:36 -0700, Jim Thompson wrote: >> >>> >> >>>> .RAW, LTspice of >> >>>> conventional Spice .DAT >> >>> >> >>>"rawfiles" originated in Berkeley Spice. >> >>> >> >>>" The standard suffix for rawspice files in VMS is >> ".raw"" (Spice 3f man >> >>>page) >> >> >> >> Probably why I never saw them. When I last used Berkeley Spice >> (~1980) I >> >> used the .OUT file to drive a tractor printer, outputting a >> numerical list >> >> of voltage versus time and *'s marking a rough waveform ;-) >> >> >> > >> >I can still do ASCII plots (Berkeley 3F). Not that I ever do. >> > >> >1980 was BG (Before Gnuplot) :-) >> >> LTspice should have a .PRINT statement like PSpice. >> >> Undocumented now, but it's still there... I just made a symbol for it, >> somewhat like a probe symbol, but with a printer on top. >> >> I stick it on a node where I want a numeric listing, and the listing >> appears in the .OUT file, ala Berkeley. >> >Jim, >I used .out files to look at effective transistor widths and lengths as well >as the operating points. I miss this in LTSPICE. Is there a way to get these. > Also, how could I get the probe with a printer t >that you came up with? > >
I forgot to mention, there is also "LTspiceTutorials.zip" on the Simulation Tools & Macros page of my website. Lots of information there. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.