[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnucap] Gnucap is complaining that my MOSFET is not a BJT
From: |
al davis |
Subject: |
Re: [Help-gnucap] Gnucap is complaining that my MOSFET is not a BJT |
Date: |
Mon, 11 Oct 2010 10:55:03 -0400 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-trunk-amd64; KDE/4.4.5; x86_64; ; ) |
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.