* @device[param] exposes a model's internal quantities.
* .options savecurrents also makes the per-terminal currents @m1[id..] live.
.model NMOS1 NMOS(LEVEL=1 VTO=0.7 KP=120u LAMBDA=0)
M1 d g 0 0 NMOS1 W=10u L=1u
VG g 0 DC 1.7
VD d 0 DC 3
.options savecurrents
.op
.control
  run
  print @m1[gm] @m1[vdsat] @m1[id]
.endc
.end
