Home > Community > Forums > Custom IC SKILL > editable condition of CDF parameters (for Layout Pcells)

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 editable condition of CDF parameters (for Layout Pcells) 

Last post Wed, Feb 9 2011 7:51 AM by djeto38. 7 replies.
Started by djeto38 09 Feb 2011 02:04 AM. Topic has 7 replies and 2797 views
Page 1 of 1 (8 items)
Sort Posts:
  • Wed, Feb 9 2011 2:04 AM

    • djeto38
    • Not Ranked
    • Joined on Mon, Jul 26 2010
    • Grenoble, Isere
    • Posts 13
    • Points 285
    editable condition of CDF parameters (for Layout Pcells) Reply

    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

    • Post Points: 20
  • Wed, Feb 9 2011 5:37 AM

    Re: editable condition of CDF parameters (for Layout Pcells) Reply
    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
    • Post Points: 20
  • Wed, Feb 9 2011 5:49 AM

    • djeto38
    • Not Ranked
    • Joined on Mon, Jul 26 2010
    • Grenoble, Isere
    • Posts 13
    • Points 285
    Re: editable condition of CDF parameters (for Layout Pcells) Reply

    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

    • Post Points: 20
  • Wed, Feb 9 2011 6:26 AM

    Re: editable condition of CDF parameters (for Layout Pcells) Reply
    cdfgData->Mos_Type->value!="mos_hvt"

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

    Regards,

    Andrew
    • Post Points: 5
  • Wed, Feb 9 2011 6:30 AM

    • djeto38
    • Not Ranked
    • Joined on Mon, Jul 26 2010
    • Grenoble, Isere
    • Posts 13
    • Points 285
    RE: editable condition of CDF parameters (for Layout Pcells) Reply
    Many Thanks for your quick answer .
     
    Regards,
     
    Jérome
    • Post Points: 5
  • Wed, Feb 9 2011 6:48 AM

    • djeto38
    • Not Ranked
    • Joined on Mon, Jul 26 2010
    • Grenoble, Isere
    • Posts 13
    • Points 285
    RE: editable condition of CDF parameters (for Layout Pcells) Reply
    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
    • Post Points: 20
  • Wed, Feb 9 2011 7:36 AM

    Re: editable condition of CDF parameters (for Layout Pcells) Reply
    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
    • Post Points: 5
  • Wed, Feb 9 2011 7:51 AM

    • djeto38
    • Not Ranked
    • Joined on Mon, Jul 26 2010
    • Grenoble, Isere
    • Posts 13
    • Points 285
    RE: editable condition of CDF parameters (for Layout Pcells) Reply
    Thanks again Andrew
     
    Best Regards
     
    Jerome
     
    • Post Points: 5
Page 1 of 1 (8 items)
Sort Posts:
Started by djeto38 at 09 Feb 2011 02:04 AM. Topic has 7 replies.