[問題] HSPICE電阻

看板Electronics作者 (Steve)時間12年前 (2013/09/06 20:44), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
小弟最近要用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

09/07 01:56, , 1F
主檔要用 x當開頭 ex: xr1 1 2 rend_rppo1rpo
09/07 01:56, 1F

09/07 10:38, , 2F
.lib 'rf018.l' TT_RES
09/07 10:38, 2F
文章代碼(AID): #1IASuJmf (Electronics)