On Sunday 10 October 2010, Bryan Poling wrote:
> Admittedly, I am probably doing something wrong here, but
> when I try to  run a simulation on an interleaved
> switch-mode DC buck converter (in which I have 2 MOSFETS), I
> get a complaint that my second MOSFET is not a BJT. I cannot
> find anything anywhere where I suggest that it is, so I
> don't know what's going on here. I am pretty new to GnuCap
> (I have used BJT's before but not MOSFETS). Any help would
> be appreciated. Here is my Simulation Script:
..............

> .model StandardNMOS NMOS(LEVEL=1)
..............
> Q2 2 4 5 StandardNMOS
........
> Q1 2 1 3 StandardNMOS


In Spice format, the first letter of the label determines the 
device type.  The letter "Q" says it is a BJT.  You need to use 
the letter "M" instead.

This behavior is Spice compatible.  Other formats (Spectre, 
Verilog) do not have this restriction.

_______________________________________________
Help-gnucap mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnucap

Reply via email to