作者corydoras09 (一劍籙魂)
看板Electronics
標題[問題] hspice掃描W/L變數設定與rds之變化
時間Sat Oct 22 00:01:25 2016
題目如下
For an NMOS transistor with W/L=4, VGS=0.75V and
VDS=0.5V,
use HSPICE to plot gds and rds as a function of
channel length (L=0.18~2um).
Comment on the result.
.probe gds=LX8(M1) rds=par('1/gds')
==================================================
NMOS LAB1_5
.prot
.lib 'cic018.l' TT
.unprot
.option post=2
*.global vdd gnd vss
.param x=1u
VGS g1 gnd DC 0.75
VDS d1 gnd DC 0.5
M1 d1 g1 gnd gnd N_18 w='4*x' l='x'
.op
.dc x 0.18 2 0.01
.probe gds=LX8(M1) rds=par('1/gds')
.END
我把x設為1u變數,再用.dc去變動
但這樣好像跑不出我要的值
不知道錯在哪?
--
看雪練傾河,十里龍濤,獨濁滄浪行雲嘯;
風光傲,問人間何似,天子逍遙。
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.115.126.221
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Electronics/M.1477065692.A.E76.html
※ 編輯: corydoras09 (59.115.126.221), 10/22/2016 00:02:09
1F:推 jfsu: 直覺這一段 " .dc x 0.18 2 0.01 " 怪怪的...10/22 00:53
2F:→ jfsu: 0.18與2 單位是m, 不是um10/22 00:54
3F:→ corydoras09: 可是原本就宣告為1u了不是嗎? 還是要改成10/22 01:32
4F:→ corydoras09: .dc 0.18*e-6 2*e-6 0.01*e-610/22 01:33
好像還是不行
Warning: 4 subcircuits are ignored because not called by any instance.
Subcircuits not called by any instance:
-----------------------------------------------------------------------
| Location | Subckt |
|--------------------------------------------------------+------------|
| (c:\users\coryd\desktop\along_ic_design\cic018.l:1456) | "RNNPO" |
| (c:\users\coryd\desktop\along_ic_design\cic018.l:1472) | "RNPPO" |
| (c:\users\coryd\desktop\along_ic_design\cic018.l:1488) | "RNHR1000" |
| (c:\users\coryd\desktop\along_ic_design\cic018.l:1510) | "MIMCAPS" |
|---------------------------------------------------------------------|
Total number of lines parsed: 7386
※ 編輯: corydoras09 (59.115.126.221), 10/22/2016 01:36:27
5F:推 zxc44560: 我把你的改成 .dc 0.18u 2u 0.01u10/22 03:05
6F:→ zxc44560: 然後rds=par('1/gds')弄到下一行 前面打個+ 就好了 10/22 03:06
我的RDS還是出不來,Y軸不知道是什麼東西@@
http://imgur.com/a/WZ6uQ
※ 編輯: corydoras09 (59.115.126.221), 10/22/2016 05:57:05
可能我的spice(學長版)有問題,還是去實驗室做好了…
※ 編輯: corydoras09 (59.115.126.221), 10/24/2016 02:40:09
找到問題了,hspicerf不支援lx8指令
※ 編輯: corydoras09 (140.129.50.180), 10/24/2016 16:48:55
8F:→ zxc44560: 怎不用 HSPICE D 10/24 23:12