• 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. Problem with Pcell and its CDF

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 13304
  • 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

Problem with Pcell and its CDF

Renee
Renee over 14 years ago
Hi,

    I tried to create a MOS transistor pcell using SKILL, and I had two problems with the pcell's CDF :

    I defined a Boolean parameter withTap in the pcell, and if withTap is true(t), then there will be taps in the layout of MOS transistor, vice versa.

    In the pcell.il file, I defined this parameter as below:

    (withTap t)

...

If(withTap then

    dbCreateRect(...)

    )

In the CDF file, I defined this parameter as below:

    cdfCreateParam( cdfId

        ?name           "withTap"

        ?prompt         "Include Taps?"

        ?defvalue       "t"

        ?type           "boolean"

        ?display        "t"

    )

But when I create instance with Edit Instance Property form, I found that it failed to response to this switch as if it failed to pass the value from the form to pcell layout.

Then I tried to define withTap as int, it worked this time.

Are there anything wrong with my definition of this parameter? Although it works with integer type as well, I still prefer it to be Boolean type.

The other problem is with my instantiation instances.

It is weird that when I try to instantiate an instance of this pcell, it still keeps the value of last instance. It seems that it stores its values every time I create an instance. Thus, I have to press Default button when I create a new instance using this pcell, and it is not quite convenient.

Is there any other way to solve this problem?

Any suggestions to solve this problem.

Thanks in advence

Renee   

 
  • Cancel
Parents
  • ifab
    ifab over 14 years ago

    Hi,

    I think I got an error before, doing something like this.

    Try defining the parameter value in the pcell code as:

        (withTap boolean t)

     

    Best Regards,

    I-FAB

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ifab
    ifab over 14 years ago

    Hi,

    I think I got an error before, doing something like this.

    Try defining the parameter value in the pcell code as:

        (withTap boolean t)

     

    Best Regards,

    I-FAB

     

    • 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