作者juc (道法自然)
看板Electronics
標題[問題] 如何用HSPICE跑Current Source 的Mismatch模擬?
時間Sat Feb 6 16:14:59 2010
如題
查過一些資料, 說是使用pch_mis這個model跑Monte Carlo即可
不過我跑一直有error...付上netlist檔, 不知那裏有問題...
***Monte Carlo Simulation of Current sources
.protect
.lib "rf018.l" mc
.unprotect
.option post brief
m2 res res vdd vdd pch_mis l=15u w=8u
m1 out res vdd vdd pch_mis l=15u w=8u
m3 out res vdd vdd pch_mis l=15u w=8u
vdd vdd 0 1.8
ib res 0 18u
vo out 0 0.8
.TRAN 10n 1u SWEEP MONTE=30
.measure tran iout find par('100*(i(m1)+18u)/-18u') at 1u
.measure tran iout2 find par('100*(i(m3)+18u)/-18u') at 1u
.end
error訊息是
**error** model name pch_mis in the element 0:m2
is not defined.
可是lib flie裡面明明有pch_mis這個model name...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.118.121.11
1F:推 obov:我猜pch_mis是subcircuit? 02/06 17:04
2F:→ juc:感謝樓上, 改成"x1 out1 res vdd vdd pch_mis l=15u w=8u" 02/06 17:41
3F:→ juc:即可 02/06 17:41
4F:推 smart1901:我的天阿....台科大大大大.... 02/06 21:40
5F:→ moneyguy:樓上少幼稚了… 02/06 22:55
6F:推 pow:看到膝蓋都軟了 02/07 00:26