simulating with MOSFET

"[email protected]" <[email protected]> Tue, 12 Feb 2013 18:45:29 -0800
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <CAB3Sx6fU4fJU67JtpHFbp8fU1YB9c+wHpmxkzpOjye_OUJMXAg@mail.gmail.com>
Hi,

I just started with GNUCAP with gschem (gEDA) and gspiceui. I was able
to simulate BJT based circuits but wanted to add BS170 MOSFET.

I read this post here:
http://lists.gnu.org/archive/html/help-gnucap/2010-10/msg00001.html

As stated in the post, in my schematic, I added BS170 with refdes of
M1 instead of Q1. When I extract the netlist using gnetlist M1 is
converted to QM1.

I edited the netlist by hand and changed QM1 to M1 and ran it through gnucap.

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?

Thanks.