Forums

Spice Notation Question

Started by Jim Thompson June 9, 2014
I have a customer using _Microcap_ who claims that this notation....

.PRINT AC DB(V([OUT])/V([IN_AMP]))

means print the dB DIFFERENCE between V(OUT) and V(IN_AMP).

I can't find such notation in the reference manual.

Can this be correct?

(I created a Spice model for the customer.  Models runs on all brands
of Spice EXCEPT Microcap which gives an "underflow" error.)
		
                                        ...Jim Thompson
-- 
| James E.Thompson                                 |    mens     |
| Analog Innovations                               |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| San Tan Valley, AZ 85142     Skype: skypeanalog  |             |
| 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.
In sci.electronics.design Jim Thompson <To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote:
> I have a customer using _Microcap_ who claims that this notation.... > > .PRINT AC DB(V([OUT])/V([IN_AMP])) > > means print the dB DIFFERENCE between V(OUT) and V(IN_AMP).
http://www.spectrum-soft.com/faq/help/faq149.shtm Difference between dB(V(OUT)) and dB(V(IN_AMP)) ;)
On 09 Jun 2014 19:55:55 GMT, Miros?aw Kwa?niak
<mirek@uv.ikem.pwr.wroc.pl> wrote:

>In sci.electronics.design Jim Thompson <To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote: >> I have a customer using _Microcap_ who claims that this notation.... >> >> .PRINT AC DB(V([OUT])/V([IN_AMP])) >> >> means print the dB DIFFERENCE between V(OUT) and V(IN_AMP). > >http://www.spectrum-soft.com/faq/help/faq149.shtm >Difference between dB(V(OUT)) and dB(V(IN_AMP)) >;)
Something is throwing up a "underflow" error. Same netlist with only a .DC analysis call instead of a .AC call works just ducky. Andy Thompson of Spectrum Software is now involved, so we'll find out the problem... I hope. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: skypeanalog | | | 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 Mon, 09 Jun 2014 12:03:54 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:

>I have a customer using _Microcap_ who claims that this notation.... > >.PRINT AC DB(V([OUT])/V([IN_AMP])) > >means print the dB DIFFERENCE between V(OUT) and V(IN_AMP). > >I can't find such notation in the reference manual. > >Can this be correct? > >(I created a Spice model for the customer. Models runs on all brands >of Spice EXCEPT Microcap which gives an "underflow" error.) > > ...Jim Thompson
Per Andy Thompson of Spectrum, throw-up solved by adding... .OPTIONS NUMERIC_DERIVATIVE (I always use CAPS in option lines and models... the UNIX/Eunuchs crowd cause me all kinds of grief with everything lower case... you can't easily tell a "1" from an "l" in many fonts :-) ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: skypeanalog | | | 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.