• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. assign value to the variables!

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 16994
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

assign value to the variables!

imagesensor123
imagesensor123 over 14 years ago

 Hi everyone,

     I have create a two deminationed array, I can get each value  by typing a[m][n] in CIW, and now, I want to assign these value to a lot of variables which are  parameters variable in my shematic, such as a transistor's length "M1_length", and i want to assign a[3][3]  to this variable, but when i try changing the varaibles value through typing a[3][3] in the expression field, it can't work corectlyin analogArtist(push the edit variable button in analogartist),does anyone who know how to do this. in a word, i want to assign a value careated in some function to the shematic primitive parameters variable. thanks

Regards,

zfeng

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Zfeng,

    Asking the same question twice in different threads doesn't increase the likelihood of it being answered.

    If it's for an existing ADE session, you could use the SKILL function asiSetDesignVarList() (first argument should be the current session, for example asiGetCurrentSession() , and the second argument is the list of design variables and values - I suggest using asiGetDesignVarList() to figure out what it looks like). See the documentation on these features.

    If it's in an OCEAN script, you could simply do:

    desVar("varName" a[0][3])

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Zfeng,

    Asking the same question twice in different threads doesn't increase the likelihood of it being answered.

    If it's for an existing ADE session, you could use the SKILL function asiSetDesignVarList() (first argument should be the current session, for example asiGetCurrentSession() , and the second argument is the list of design variables and values - I suggest using asiGetDesignVarList() to figure out what it looks like). See the documentation on these features.

    If it's in an OCEAN script, you could simply do:

    desVar("varName" a[0][3])

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information