Semiconductor devices in SPICE

Thread Starter

GentleRV

Joined Dec 18, 2010
10
This I see as part of a Power Mosfet:

General form: m[name] [drain] [gate] [source] [substrate] [model]

.model [modelname] [nmos or pmos] ( [parmtr1=x] . . . )

Example: m1 2 3 0 0 mod1
m5 5 6 0 0 mod4
.model mod1 pmos
.model mod4 nmos ( vto=1 )

My question is after the m1 are numbers to which those refer?
is any number fine?
Please use a real datasheet from a manufacturer to produce a spice model.




 

Wendy

Joined Mar 24, 2008
22,145
Welcome to AAC!

Feedback and Suggestions Forum for providing feedback and suggestions about All About Circuits, including corrections to the e-book. This forum is not for getting help with technical questions.
I am moving this thread where it is more likely to get attention.

Have fun!
 

SgtWookie

Joined Jul 17, 2007
22,210

General form: m[name] [drain] [gate] [source] [substrate] [model]

Example:
m1 2 3 0 0 mod1
.model mod1 pmos

My question is after the m1 are numbers to which those refer?
is any number fine?
The numbers "2 3 0 0" are nodes. The order of the nodes is important. The names of the nodes are generally not important; but it can be helpful if they are meaningful names.
 

crutschow

Joined Mar 14, 2008
25,098
To perhaps further clarify, the nodes are connection points in the circuit. Thus all nodes of the same number are connected together. In Spice, node 0 is always common (ground).
 
Top