• 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. How to set the order of a PCell's Parameters?

Stats

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

How to set the order of a PCell's Parameters?

aakhavan
aakhavan over 13 years ago

In Cadence 5, the order of the pcells parameters in the Create Instance form was set by the order of the parameters in the pcDefinePCell function. However, using the same code in Cadence 6.1.5 results in the parameters being in a seemingly arbitrary order in the Create Instance form. Has anyone experienced this or found a work around?

  • Cancel
Parents
  • aakhavan
    aakhavan over 13 years ago

    Thank you both for the help. I'm running into a different problem now-
    My parameters in the pcell definition are as follows:

    (
    (NX int 1)
    (NY int 2)
    (B1 boolean "FALSE")
    (B2 boolean "FALSE")
    )

    I'm using the code from here to generate the cdf. It works great, except the ordering is incorrect. If I take the reverse() out, the booleans are in the correct order, but I end up with:

    NY, B1, B2, NX

    Instead of the correct order. Looking at the cellview: cv~>parameters~>value~>name shows the same, incorrect order. I can fix this by manually coding the CDF, but I'd like to avoid that. Any ideas why it's throwing off the order?

     Thanks.

     

    Edit: I hacked around this by manually adding the cdf for car(reverse(cv~>parameters~>value)), then running the foreach() loop on reverse(cdr(reverse(cv~>parameters~>value)). This will work assuming the first one is always shifted last for some reason. I'd still appreciate some input though!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • aakhavan
    aakhavan over 13 years ago

    Thank you both for the help. I'm running into a different problem now-
    My parameters in the pcell definition are as follows:

    (
    (NX int 1)
    (NY int 2)
    (B1 boolean "FALSE")
    (B2 boolean "FALSE")
    )

    I'm using the code from here to generate the cdf. It works great, except the ordering is incorrect. If I take the reverse() out, the booleans are in the correct order, but I end up with:

    NY, B1, B2, NX

    Instead of the correct order. Looking at the cellview: cv~>parameters~>value~>name shows the same, incorrect order. I can fix this by manually coding the CDF, but I'd like to avoid that. Any ideas why it's throwing off the order?

     Thanks.

     

    Edit: I hacked around this by manually adding the cdf for car(reverse(cv~>parameters~>value)), then running the foreach() loop on reverse(cdr(reverse(cv~>parameters~>value)). This will work assuming the first one is always shifted last for some reason. I'd still appreciate some input though!

    • 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