• 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. pcell rod handles have stopped working

Stats

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

pcell rod handles have stopped working

codetonic
codetonic over 8 years ago

I've been developing a pCell for a power grid in an advanced node. I had the top metal layers working, including a rectangle with stretch handles (see code).

After returning from a side assignment to continue working on the code, I now find that my stretch handles no longer work. They don't display and any attempt to stretch the pCell where the handles used to be only results in the entire instance being selected and moved (selected item stretch). The code below is a pared down version with the metalization work removed and the dimensions changed to protect the paranoid.

Just the stretch rectangle is there.

Does this code work for you?

pcDefinePCell(
;; library, cellName, viewType
list(
ddGetObj("myLib")
"testStretch"
"layout"
)

(
(tsWidth 10.0)
(tsHeight 10.0)
)

let( (cv)
cv=pcCellView

;; create a rectangle on text with x & y dimensions set by tsWidth & tsHeight
ts_rectRodObj = rodCreateRect(
?name "testStretchRod"
?cvId cv
?layer list("text" "drawing")
?width tsWidth
?length tsHeight
?origin list(0 0)
)

;; stretch handles
rodAssignHandleToParameter(
?rodObj ts_rectRodObj
?parameter "tsWidth"
?handleName "centerRight"
?stretchDir "X"
?displayName "width"
?displayExpression "tsWidth"
?updateIncrement 0.1
?shape "square"
) ; rodAssignHandleToParameter
rodAssignHandleToParameter(
?rodObj ts_rectRodObj
?parameter "tsHeight"
?handleName "upperCenter"
?stretchDir "Y"
?displayName "height"
?displayExpression "tsHeight"
?updateIncrement 0.1
?shape "square"
) ; rodAssignHandleToParameter

) ; let
) ; pcDefinePCell

  • Cancel
  • skillUser
    skillUser over 8 years ago

    Hi Michael,

    Have you looked at Options->Display and made sure that Stretch Handles are checked?  If not that then the LPP associated with stretch handles may have been modified, but I'd check the Layout Display Options form first.

    Hope this helps!

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • codetonic
    codetonic over 8 years ago
    It was the Options->Display setting for Stretch Handles. Don't know why it changed but it's working now. Thanks Lawrence.
    • 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