Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

axlOutputResult statements in a loop?

$
0
0

I'm trying to use the type=ocean in Assembler to add outputs. I can do this:

axlOutputResult(-1/(2*pi*1e6*imag(vfreq('ac "/CULVTP"))) "CULVTP")
axlOutputResult(-1/(2*pi*1e6*imag(vfreq('ac "/CLVTP"))) "CLVTP")
axlOutputResult(-1/(2*pi*1e6*imag(vfreq('ac "/CSVTP"))) "CSVTP")

And everything works fine. If I try to get fancy and avoid the massive repetition (this is just a snippet, there are more) it doesn't work though.

foreach(output list("CULVTP" "CLVTP" "CSVTP")
    axlOutputResult(-1/(2*pi*1e6*imag(vfreq('ac strcat("/" output)))) output)
)

Nothing gets populated in the outputs list. I also tried

CULVTP = -1/(2*pi*1e6*imag(vfreq('ac "/CULVTP"))
CLVTP = -1/(2*pi*1e6*imag(vfreq('ac "/CLVTP"))
CSVTP = -1/(2*pi*1e6*imag(vfreq('ac "/CSVTP"))

foreach(output list("CULVTP" "CLVTP" "CSVTP")
    axlOutputResult(evalstring(output) output)
)

And this also produces no outputs.

Why don't either of these work?

Using: sub-version  ICADVM20.1-64b.500.15


Viewing all articles
Browse latest Browse all 5066

Trending Articles