zgene
Newbie level 4
![Newbie level 4](/styles/images/ranks/blevel1.gif)
calibre lpe
hi all,
i encounter a problem when doing powermill.
The input spice file is rc extracted from calibre pex,
but when running powermill it encounter an error, message show below
"cannot find subcircuit definition or function model m5 for instance ...."
and then exit.
the m5 instance is device c , model m5.
below is definition in rule file
RC_DECK is for PEX mode, and else for LVS mode
#IFDEF RC_DECK
DEVICE C(M5) capm5 CTM5 metal5 netlist element "X" [
property W,L
A_CAP = area(capm5)
P_CAP = perimeter(capm5)
P_2_CAP = P_CAP * P_CAP
AC4 = A_CAP * 16
KKK = P_2_CAP-AC4
IF(KKK<0) {
KKK=0
}
SQ = sqrt(KKK)
L = (P_CAP+SQ)/4
W = (P_CAP-SQ)/4
]
#ELSE
DEVICE C(M5) capm5 CTM5 metal5 [1.025e-15 0]
may the powermill error problem from the rule file?
because the rc extracted spice file is lack of the definition of device c(m5).
or is it the problem from layout?
thanks and regards!!!
hi all,
i encounter a problem when doing powermill.
The input spice file is rc extracted from calibre pex,
but when running powermill it encounter an error, message show below
"cannot find subcircuit definition or function model m5 for instance ...."
and then exit.
the m5 instance is device c , model m5.
below is definition in rule file
RC_DECK is for PEX mode, and else for LVS mode
#IFDEF RC_DECK
DEVICE C(M5) capm5 CTM5 metal5 netlist element "X" [
property W,L
A_CAP = area(capm5)
P_CAP = perimeter(capm5)
P_2_CAP = P_CAP * P_CAP
AC4 = A_CAP * 16
KKK = P_2_CAP-AC4
IF(KKK<0) {
KKK=0
}
SQ = sqrt(KKK)
L = (P_CAP+SQ)/4
W = (P_CAP-SQ)/4
]
#ELSE
DEVICE C(M5) capm5 CTM5 metal5 [1.025e-15 0]
may the powermill error problem from the rule file?
because the rc extracted spice file is lack of the definition of device c(m5).
or is it the problem from layout?
thanks and regards!!!