• 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. CDF Parameter change

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 11330
  • 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

CDF Parameter change

Genas
Genas over 3 years ago

I have a case where changing the instance master changes the default cdf parameter values and I do not know why this is happening because I only changed the instance master

What could be the cause of this and how can I turn it off?

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

    What do you mean by "changing the instance master"?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Genas
    Genas over 3 years ago in reply to Andrew Beckett

    changing the cellname to another cellname (same number of terminals). Technically replacing the device with another one but different cellname

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Genas

    Presumably the CDF defaults are different between the two cells - isn't that a reasonable and quite likely thing to be happening? There's no reason why they should necessarily be the same...

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Genas

    Presumably the CDF defaults are different between the two cells - isn't that a reasonable and quite likely thing to be happening? There's no reason why they should necessarily be the same...

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Genas
    Genas over 3 years ago in reply to Andrew Beckett

    Yes, the CDF defaults are different, but how can I prevent it from changing (since they have the same cdf parameters with different defaults), I want it to inherit the values. So technically just changing the cellname but keeping values from previous cell cdf parameters

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Genas

    I rather doubt you really want this, but this code will force any CDF defafult values to be stored on the instance even if storeDefault=no in the CDF:

    procedure(CCFforceStoreParam(inst)
      let((cdf valueType)
        cdf=cdfGetInstCDF(inst)
        foreach(param cdf~>parameters
          unless(dbFindProp(inst param~>name)
            valueType=case(param~>paramType
              (("string" "cyclic" "radio") "string")
              ("float" "float")
              ("int" "int")
              ("boolean" "boolean")
            )
            when(valueType
              dbReplaceProp(inst param~>name valueType param~>value)
            )
          )
        )
        t
      )
    )

    To use:

    CCFforceStoreParam(car(geGetSelSet()))

    then you can change the cellName to the new cell. Note that even parameters like the model name will be preserved which you almost certainly don't want to happen, but that's what you asked for!

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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