作者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/cn.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