• 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. editable condition of CDF parameters (for Layout Pcells...

Stats

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

editable condition of CDF parameters (for Layout Pcells)

djeto38
djeto38 over 14 years ago

Hi All ,

I would like to insert editable condition on CDF parameter of Layout Pcells but i don't know the exact syntax and procedure to call .

Has someone an idea about this mistake ?

Thanks in advance .

djeto38

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Hi djeto38

    What is the condition you want? It's just a SKILL expression, but hard to advise without knowing how you want to determine whether the field is editable or not.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • djeto38
    djeto38 over 14 years ago

    Hi Andrew,

    Thanks for your answer .

    I have several Arguments (parameters) in my Layout Pcell .

    Mos_Type  string "mos" (or "mos_hvt") 

    Mos_Length float 1.0

    Mos_Width   12.0

    etc .........

    And I would like to make Not Editable Mos_Length when Mos_Type == "mos_hvt" fro example .

    So I search for CDF syntax .

     

    Best Regards ,

    Djeto38

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    cdfgData->Mos_Type->value!="mos_hvt"

    Would be the expression in the editable field for the Mos_Length param in the CDF.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • djeto38
    djeto38 over 14 years ago
    Many Thanks for your quick answer .
     
    Regards,
     
    Jérome
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • djeto38
    djeto38 over 14 years ago
    It 's OK for one argument , but how can i do to read a Argument list instead . (cdfgData->Mos_Type->value!=list("mos_hvt"  ||  "mos_hvt_ver2"  ||  "mos_hvt_ver3" )
     
    Regards ,
     
    Jérome
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Jerome,

    !member(cdfgData->Mos_Type->value list("mos_hvt"  "mos_hvt_ver2"  "mos_hvt_ver3" ))

    Is one way. Essentially it's a SKILL expression, so worth making you understand the basics of SKILL. Provided you know about cdfgData->paramName->value you can use any SKILL conditional statement.

    Look in the SKILL Language User Guide for more details on the language.

    Best Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • djeto38
    djeto38 over 14 years ago
    Thanks again Andrew
     
    Best Regards
     
    Jerome
     
    • 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