Re: simulating with MOSFET

al davis <[email protected]> Tue, 12 Feb 2013 23:04:04 -0500
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
On Tuesday 12 February 2013, [email protected] wrote:
> So, Do I have to manually edit the netlist every time I
> extract it? Is there any connector script already available?

There is something wrong with your extractor.  Mosfets in spice 
syntax are supposed to have 4 nodes.

> > mosfets have 4 nodes .. you forgot the substrate.
> > If in doubt, connect it to the source.
> 
> Sorry to test your patience but I'm new to the modeling
> concept. In a netlist how I can I connect the substrate to
> source?

The substrate is the 4th node.  (drain gate source substrate)

so ..
m1 ( 4 1 0 0 ) bs170

Parens are a good idea but not required if everything else is 
ok.