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

Ocean - variable as an input argument of 'axlAddOutputs'

$
0
0

Hi All, 

When i try running the two following lines (in my Ocean script):

current_names = list("iref", "vref")

axlAddOutputs(current_names)

i'd get the following error:

*Error* car: argument #1 should be a list (type template = "l") - current_names

Whereas the following line would run with no errors whatsoever:

axlAddOutputs(list("iref", "vref"))

I would like to create the list separately (and only once) in order to use it in different parts of my script.

Does anyone have an idea on how to make those first two lines run? Or maybe another way to approach this that i haven't come up with?

Thanks, 

Asaf 



Viewing all articles
Browse latest Browse all 5066

Trending Articles



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