• 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 promote stretch handfle option from a sub cell instance...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 14641
  • 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 promote stretch handfle option from a sub cell instance?

solx
solx over 14 years ago

 hello,

I call in my pcell some strechable sub cells.

the pb that when my pcell is generated; the sub cells (strechable) which I use are no longer strechable.

I would like to know if some one hase this pb?

how can I make/promote the strech handle option in my sub cells?

thanks in advance,

 

  • Cancel
  • solx
    solx over 14 years ago

     any idea please?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 14 years ago

     Hi,

    The only way that the sub cells can be altered is through their formal parameters; when these were placed and graphically stretched, you were modifying the pcell parameters, just in a graphical way.  So, if you want to be able to graphically stretch sub cells, your new pcell will need to have a parameter and an associated stretch handle in order to be able to do this (I think - I've never tried this, but it seems perfectly reasonable).  I don't know if there is a way to "promote" the sub-cells' stretch handles directly, without having a parameter in the new pcell that instantiates these cells, since this would break the above "rule" (The only way that a pcell should be modified is through its formal parameters).

    I hope that this helps.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • solx
    solx over 14 years ago

     HI,

    thanks Lawrence.

    I did exactly what you said. but it doesn't work.

    I think that the pb is in the hierarchy level between the sub cell and the pcell.

    there is any methode to make the sub cell and the pcell have the same hierarchy level?

    Best regards,

    solx.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

     As Lawrence said, the stretch handle works through changing the value of a parameter on the pcell instance. Although it is a graphical edit, the stretch function (usually a user function) updates the parameter values as the handle is moved. In order to bring the stretch handle up one level of hierarchy, you have to create a parameter on the top level pcell which modifies the parameter on the as well as a ROD object in the top level plcell with a stretch handle assigned to that parameter.

     Ted 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Hi "solx",

    I agree with Lawrence - you'd have to make the parent (of the sub-cell) a pcell, and you'd have to pass some parameters down to the child instance, and then use rodAssignHandleToParam (or whatever the function is called) to create stretch handles in the new pcell. There's nothing to automatically do this promotion, because it would unlikely that a general solution would suit anyone's specific needs.

    And by the way, it's a bit cheeky sending a chasing post only an hour or so after your original post. This is a community forum (it's not official support) so you are getting responses from volunteers (outside and inside Cadence). It's also a public holiday in some parts of the world (like where I am). If it's that urgent you should log a service request with http://support.cadence.com .

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    You might want to share your code because I can't see why this shouldn't work, provided there's a handle to associate the parameter with.

    Alternatively, you could use dbFlattenInst and pass t for the argument to flatten pcells, and t for the argument to preserve ROD objects. Even then you'd have to ensure that your parent pcell has the same parameters as the child pcell (even then you may need to re-do the rodAssignParam* calls).

    Regards,

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

     thanks Genious Andrew!

    it's a good idea to flatten the pcell  I will try It.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • solx
    solx over 14 years ago

     thanks Ted.

    • 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