作者stevenyng88 (Steve)
看板Electronics
标题[问题] HSPICE电阻
时间Fri Sep 6 20:44:01 2013
小弟最近要用SPICE模拟
想要呼叫.18的电阻进来
之前也有爬文过了
但怎麽样都显示错误 说无法定义
麻烦大大们帮我看看感恩
想呼叫电阻的形式
.subckt rppo1rpo n1 n2 l=length w=width mf=1
我想把电阻组成一个子电路 用下面的语法写出来
.subckt R-twoR VDD Vout RT1 RT0
XR1 VDD Vout rppo1rpo L=10u W=2u mf=3
XR2 Vout RT1 rppo1rpo L=10u W=2u mf=6
XR3 VDD RT1 rppo1rpo L=10u W=2u mf=3
XR4 RT1 RT0 rppo1rpo L=10u W=2u mf=6
XR5 VDD RT0 rppo1rpo L=10u W=2u mf=6
.ends R-twoR
出现的错误
definition rend_rppo1rpo not declared for rend0. Please enter a defined name.
**error**
definition r_rppo1rpo not declared for rsh. Please enter a defined name.
**error** (./rf018.l:19836) definition kf_rppo1rpo not declared for rppoly.
Please enter a defined name.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.135.9.214
1F:推 jfsu:主档要用 x当开头 ex: xr1 1 2 rend_rppo1rpo 09/07 01:56
2F:→ jacobliu:.lib 'rf018.l' TT_RES 09/07 10:38