next up previous contents index
Next: Circuit 3: Simple RTL Up: Example Data Files Previous: Circuit 1: Simple Differential   Contents   Index

Circuit 2: MOS Output Characteristics

The following file computes the output characteristics of a MOSFET device over the range 0-10V for VDS and 0-5V for VGS.

    MOS output characteristics
    .options node nopage
    vds 3 0
    vgs 2 0
    m1 1 2 0 0 mod1 l=4u w=6u ad=10p as=10p
    .model mod1 nmos vto=-2 nsub=1.0e15 uo=550
    * vids measures Id, we could have used Vds, but Id would be negative
    vids 3 1
    .dc vds 0 10 .5 vgs 0 5 1
    .end



Stephen R. Whiteley 2024-10-26