• 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. Re: Failure in updating values for CDF with access oper...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 13597
  • 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

Re: Failure in updating values for CDF with access operator

slim5
slim5 over 11 years ago

 Hi,

While trying to create a general procedure to modify the various parameters (e.g., w and numfinger) of a FET in schematic view, I encountered a problem that puzzle me. w and numfingers are the string listed under the Name column of Edit CDF. After opening the schematic view, I use the dBFindAnyInstByName to find the instance (N0) that I want to modify and executed the following code:
  dutInst=dbFindAnyInstByName(CV "N0")
  dutInst~>w="2.4u"
and this piece of code seems to work when I execute the following code:
  cdfFindParamByName(cdfGetInstCDF(dutInst) "w" )~>value

However, the value for Width did not get updated if I try to execute the following code:
  FETParam="w"
  dutInst~>FETParam="2.4u"

Did I do something incorrect or the access operator was written such that I must explicit use the name and not a variable?

Regards,

Su Lim

  • Cancel
Parents
  • slim5
    slim5 over 11 years ago

     Hi Lawrence,

    Thank you for the suggestion on using get and figure that I could use the putprop function to update the values for the properties of a symbol. While speaking to another coworker, he suggested that I could also use dbReplaceProp. Which of these two commands is the prefer method with respect to being more efficient?

      putprop(dutInst ParamValue FETParam) or dbReplaceProp(dutInst ParamName 'string ParamValue)

    With respect to the related callbacks, I had looked at that solution you mentioned and implemented it in my code.

     

    Regards,

    Su Lim

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • slim5
    slim5 over 11 years ago

     Hi Lawrence,

    Thank you for the suggestion on using get and figure that I could use the putprop function to update the values for the properties of a symbol. While speaking to another coworker, he suggested that I could also use dbReplaceProp. Which of these two commands is the prefer method with respect to being more efficient?

      putprop(dutInst ParamValue FETParam) or dbReplaceProp(dutInst ParamName 'string ParamValue)

    With respect to the related callbacks, I had looked at that solution you mentioned and implemented it in my code.

     

    Regards,

    Su Lim

     

    • 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