who can give me BJT & MOS IV curve sweep
( I remember hspice have demo file )
I need it for characteresize some process library file ..
and I hope can use "nest sweep"
I use
Q1 0 nb ne pnp
ib nb 0 ib1
ve ne 0 ve1
.dc ve 0 3.3 0.1 sweep ib1 dec -0.1u -10u
but I can not probe out IV curve , should I use Ve -> X axis
I(q1) = Y axis ?
You should use V(ne) as X-axis and i(q1) as Y-axis.
The .DC statement should be:
.dc ve 0 3.3 0.1 sweep ib -0.1u -10u
The second sweep Var is ib instead of ib1. Ib is the current source name and may be used as the second sweep Var name. The param name can be used as a sweep Var only if it doesn't begin with letter 'V' or 'I'.