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.

Optimization<br />

Specifying Design Variables<br />

Specifying Design Variables<br />

This topic uses examples to explain how to use the .PARAMOPT statement to specify design<br />

variables. Design variables can be different types of circuit parameters and can take the<br />

following forms:<br />

parameter_name<br />

P(parameter_name)<br />

P(subckt_name, subckt_parameter)<br />

E(device_name, device_parameter)<br />

M(model_name, model_parameter)<br />

EM(device_name, model_parameter)<br />

In our first example, the length and width of a MOS transistor are specified by:<br />

.PARAMOPT<br />

+ L=(10U, 2U, 100U)<br />

+ W=(60U, 2U, 200U)<br />

This .PARAMOPT statement defines an initial length of 10μm and a initial width of 60μm. The<br />

length is allowed to vary between 2μm and 100μm and the width can to take values between<br />

2μm and 200μm.<br />

Suppose an optimization is required on the following circuit:<br />

.MODEL NMOD1.1 NMOS LEVEL=53<br />

+ LMIN=0.1U LMAX=0.2U<br />

+ WMIN=1U WMAX=100U<br />

+ VTH0=0.2<br />

.MODEL NMOD1.2 NMOS LEVEL=53<br />

+ LMIN=0.2U LMAX=0.3U<br />

+ WMIN=1U WMAX=100U<br />

+ VTH0=0.3<br />

.MODEL NMOD1.3 NMOS LEVEL=53<br />

+ LMIN=0.3U LMAX=1U<br />

+ WMIN=1U WMAX=100U<br />

+ VTH0=0.4<br />

VD D 0 DC 1.5<br />

VS S 0 DC 0<br />

VB B 0 DC 0<br />

VG G 0 DC 3<br />

RD1 D D1 1<br />

RD2 D D2 1<br />

M1 D2 G S B NMOD1 W=10U L=0.25U<br />

M2 D1 G S B NMOD1 W=10U L=0.35U<br />

Adding the following commands adjusts the length of M2:<br />

.PARAMOPT E(M2,L)=(0.35U, 0.1U, 1U)<br />

596<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!