作者trusting710 (daniel)
看板Electronics
标题[问题]跑hspice cmos25_level49制程参数 却找不到档
时间Thu Jun 9 01:43:31 2011
用hspice 跑下面的电路时
*Ring_Osc
.prot
.lib'cmos25_level49.l'TT
.unprot
.option post=2
VDD 1 0 DC 1.2v
*first stage
M1 3 2 0 0 nmos W=0.25u L=0.25u
M2 3 2 1 1 pmos W=0.5u L=0.25u
*2nd stage
M3 4 3 0 0 nmos W=0.25u L=0.25u
M4 4 3 1 1 pmos W=0.5u L=0.25u
*3rd stage
M5 5 4 0 0 nmos W=0.25u L=0.25u
M6 5 4 1 1 pmos W=0.5u L=0.25u
*4th stage
M7 6 5 0 0 nmos W=0.25u L=0.25u
M8 6 5 1 1 pmos W=0.5u L=0.25u
*5th stage
M9 2 6 0 0 nmos W=0.25u L=0.25u
M10 2 6 1 1 pmos W=0.5u L=0.25u
.probe vout=V(2)
.IC V(2)=1.2V V(6)=0V
.trans 0.005n 10n
.DC raval 1k 10k 0.01k
.end
有把制程参数的档案和netlist档放在同一个子目录下
却出现error
could not find library file named <ModelFile>
不晓得有没有人遇到同样的问题?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.129.39.159
※ 编辑: trusting710 来自: 140.129.39.159 (06/09 01:47)
1F:推 ultimachen:.lib 後的空格空错地方了 06/09 07:41
.lib'cmos25_level49.l'TT
=> .lib 'cmos25_level49.l' TT
改完之後
我在重新模拟一次後
发现 我在我的子目录下
同时放两个制程参数
把不相关的移除後 这个问题就解决了
不过我在debug时 真的很头痛
※ 编辑: trusting710 来自: 140.129.12.46 (06/09 11:38)
2F:推 kk123:没关系,没人一开始就很会 debug 的.... 06/10 19:07