Re: simulating with MOSFET

al davis <[email protected]> Tue, 12 Feb 2013 22:09:06 -0500
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
On Tuesday 12 February 2013, [email protected] wrote:
> I still get following error:
> 
> M1: missing args -- need model name
> 
> Here is my gnucap session (including
> netlist)  http://pastebin.com/3dj8HcW9
> 
> What could I be doing wrong? Is the model for BS170 wrong?

This is why gnucap puts the connections in parens when it lists:


M1 ( 4 1 0 bs170 )    l=NA( 100.u) w=NA( 100.u)

it thinks bs170 is the name of  the substrate node.

mosfets have 4 nodes .. you forgot the substrate.
If in doubt, connect it to the source.