10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Specifying Simulation Output<br />

Examples of Defining Waveforms<br />

.subckt nmos d g s b<br />

m1 d g s b nmos w=10u l=1u<br />

.defwave sat=vds(m1)-vdss(m1)<br />

.defwave varI=(0.59*gm(m1)*gm(m1)+1.133*ids(m1)*ids(m1))*5u*1u<br />

.ends<br />

.subckt pmos d g s b<br />

m1 d g s b pmos w=5u l=1u<br />

.defwave sat=vdss(m1)-vds(m1)<br />

.defwave varI=(0.79*gm(m1)*gm(m1)+1.589*ids(m1)*ids(m1))*5u*1u<br />

.ends<br />

x0 g g s b nmos<br />

x1 d g s b nmos<br />

x2 d g s b pmos<br />

.plot dc w(x0.sat) w(x1.sat) w(x2.sat)<br />

.defwave Ioffset=sqrt(w(x0.varI)+w(x1.varI)+w(x2.varI))<br />

.plot dc w(Ioffset)<br />

Tip<br />

See “.DEFWAVE” in the Eldo Reference Manual.<br />

Related Topics<br />

Plotting, Printing and Probing<br />

340<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!