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.

Monte Carlo Analysis<br />

Further Examples<br />

Further Examples<br />

This section provides a selection of further examples:<br />

• Device sizes can be subject to a probabilistic distribution, simulating process variation,<br />

through the use of .PARAM statements. In this example, the NMOS transistor’s width<br />

follows a Gaussian distribution, centered around 20e-6 with σ = 0.2×20e-6 = 4e-6 as<br />

defined by the parameter nwidth. This parameter will also be subject to DEV variation.<br />

A .EXTRACT measures the propagation time through the inverter. The .chi file contains<br />

statistical information about the outcome of the .EXTRACT:<br />

.MODEL N NMOS LEVEL=1 VTO=1.2 KP=2.5e-5 GAMMA=1.5<br />

.MODEL P PMOS LEVEL=1 VTO=-1.5 KP=1.2e-5 GAMMA=1.2<br />

.PARAM NWIDTH=GAUSS(20U,0.2,1)<br />

M1 OUT IN VSS VSS N W=NWIDTH L=15U<br />

M2 OUT IN VDD VDD p W=30U L=15U<br />

COUT OUT 0 0.1P<br />

VDD VDD 0 5<br />

VSS VSS 0 0<br />

VIN IN 0 PWL (0 0 50N 0 51N 5)<br />

.MC 1000 ALL<br />

.TRAN 1N 100N<br />

.PROBE TRAN V(OUT)<br />

.EXTRACT TRAN LABEL=TPD TPDUD(V(IN), V(OUT))<br />

.END<br />

The .PARAM usage may be applied to model parameters as well. The VTO of the<br />

NMOS transistor can be replaced with a Gaussian random parameter. In this case, the<br />

standard deviation σ is 0.24. This technique may be more useful if the parameter needs<br />

to be a mathematical function of several variables.<br />

.PARAM NVTO=GAUSS(1.2,0.2,1)<br />

.MODEL N NMOS LEVEL=1 VTO=NVTO KP=2.5E-5 GAMMA=1.5<br />

.MODEL P PMOS LEVEL=1 VTO=-1.5 KP=1.2E-5 GAMMA=1.2<br />

M1 OUT IN VSS VSS N W=20U L=15U<br />

M2 OUT IN VDD VDD P W=30U L=15U<br />

COUT OUT 0 0.1P<br />

VDD VDD 0 5<br />

VSS VSS 0 0<br />

VIN IN 0 PWL (0 0 50N 0 51N 5)<br />

.MC 1000 ALL<br />

.TRAN 1n 100n<br />

.PROBE TRAN V(OUT)<br />

.EXTRACT TRAN LABEL=TPD TPDUD(V(IN), V(OUT))<br />

.END<br />

534<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!