help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] strange error message if a subcircuit definition is wr


From: al davis
Subject: Re: [Help-gnucap] strange error message if a subcircuit definition is wrong
Date: Sun, 4 Nov 2007 09:52:01 -0500
User-agent: KMail/1.9.7

On Saturday 03 November 2007, Werner Hoch wrote:
> * NPN Bipolar transistor tests
> * gnetlist -g spice-sdb -o dc_current_gain.net dc_current_gain.sch pr
> dc I(V1) I(I1) V(in) 
>         ^ ? no match

It can't find anything called "V1".

> pr dc I(V1) I(I1) V(in)
>               ^ ? no match
> pr dc I(V1) I(I1) V(in)
>                     ^ ? no match
> dc i1 -1m -10n *0.8 temperature=0 >dc_current_gain_t0.data
>    ^ ? what's this?

It doesn't know what you mean by "i1"
> #

Can you suggest better wording?  It is easy to change.

The real problem in your case is that you left out the ".ends"
on your subckt, so it appears that the main circuit is part of
the subcircuit.  Therefore there is no main circuit. 
There was no warning about this because the ".end" at the
end of the file is close enough to .ends (and accepted by some
Spice versions).







reply via email to

[Prev in Thread] Current Thread [Next in Thread]