Quantcast
Channel: Cadence Community
Viewing all articles
Browse latest Browse all 3331

error in "if" statement

$
0
0

Hi,

the error is: E- *Error* if: too few arguments (at least 2 expected, 1 given) - (member(via_net net_list))

code:

net_list=list("VDD" "VSS")

sel_via_dbid=axlGetSelSet();listing the selected via's

foreach(via sel_via_dbid

net_dbid=via->net

via_net=net_dbid->name

if(member(via_net net_list)) then

println("net name is VDD or VSS")

else

println("net name is:%s" via_net)

)

what am i missing here? Thanks, Guy


Viewing all articles
Browse latest Browse all 3331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>