canarybird33
Member level 1
- Joined
- Apr 16, 2013
- Messages
- 41
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,288
- Location
- Mashhad, Iran, Iran
- Activity points
- 1,591
Hello all
After many hours searching and reading the tutorials for offset calculation, I don't know what should I do.
here is my codes. please help me to complete it.I don't understand how to write codes for DCMATCH or monte carlo simulation and how to extract the information.
After many hours searching and reading the tutorials for offset calculation, I don't know what should I do.
here is my codes. please help me to complete it.I don't understand how to write codes for DCMATCH or monte carlo simulation and how to extract the information.
what do these codes do?.options post
.op
.param Lmin='0.18u'
vdd vdd gnd dc=0.6
vn 1 gnd dc=0.3
vp 2 gnd dc=0.3
.options NUMDGT=10 MEASDGT=10
vpulse 4 gnd pulse(0 0.6 0 1ps 1ps 20ns 40ns )
.tran .05n 400n
.DC vn 0.3 0.5 0.001 vp 0.3 0.460 0.05
.print dc v(1,2) v(7,8)
.DC vp 0.3 0.5 0.01 SWEEP MONTE=30
M0 5 1 3 gnd nch L='1.111111111*Lmin' W='22.222222222*Lmin'
M1 6 2 3 gnd nch L='2.777777777*Lmin' W='88.888888888*Lmin'
M2 3 4 gnd gnd nch L='2.777777777*Lmin' W='88.888888888*Lmin'
M3 8 7 5 gnd nch L='11.11111111*Lmin' W='88.888888888*Lmin'
M4 7 8 6 gnd nch L='11.11111111*Lmin' W='88.888888888*Lmin'
M5 8 7 vdd vdd pch L='11.11111111*Lmin' W='133.33333333*Lmin'
M6 7 8 vdd vdd pch L='11.11111111*Lmin' W='133.33333333*Lmin'
.end
- .meas tran offsett trig v(1,2) VAL=0 cross=1 targ v(7,8) VAL=1.8 cross=1
- .meas offset PARAM='-offsett*slope'
Last edited by a moderator: