• 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. i am having a problem with rodAssignHandleToParameter

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 13616
  • 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

i am having a problem with rodAssignHandleToParameter

Adhil
Adhil over 13 years ago

this is my code

procedure(createALPHA(cv w l)
  let( (rectRodObj)
  ;; create a rectangle on metal1 with x & y dimensions set by w & l
  rectRodObj = rodCreateRect(
      ?name     "myRect"
      ?cvId     cv
      ?layer    list("ALPHA" "drawing")
      ?width    w
      ?length   l
      ?origin   list(0 0)
  )
  ;; create labels to show the w and l parameters
  ;; create a stretch handle for the width, in the X dimension, it
  ;; will display as "width = <value>" and change by 0.1 increments
  rodAssignHandleToParameter(
    ?parameter          "w"
    ?rodObj             rectRodObj
    ?handleName         "centerRight"
    ?stretchDir         "X"
    ?displayName        "width"
    ?displayExpression  "w"
    ?updateIncrement    0.2
  ); rodAssignHandleToParameter
  ); let
); procedure CCScreateBoxAndLabels
pcDefinePCell(
  list(ddGetObj("adhillib") "gp2_path1" "layout")
   (
    (rows 1)
    (cols 1)
    (finger_width 0.10)
   )
     
  let(((cv pcCellView) paramObj awidth alength bBox) 
  paramObj = dbCreateParamInstByMasterName(cv "adhillib" "gp2_path" "layout" "inst1"
   list(0 0)
   "R0"
   1
   list(
    list("rows" "float" rows)
    list("cols" "float" cols)
    list("finger_width" "float" finger_width))
   )
  bBox = paramObj~>bBox

awidth  = xCoord(upperRight(bBox)) - xCoord(lowerLeft(bBox))
alength = yCoord(upperRight(bBox)) - yCoord(lowerLeft(bBox))
println(awidth)
createALPHA(cv awidth alength)
cols = awidth/0.2
)
  )
 but i am getting the error

*WARNING* rodAssignHandleToParameter: w is an invalid parameter
*WARNING* rodAssignHandleToParameter: command failed

I am trying to use the handle on rodrectobj with an alpha layer to extend the pcell within

Adhil

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Adhil,

    Did you resolve this, given your other question? (the one I answered with the lambda)

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Adhil,

    Did you resolve this, given your other question? (the one I answered with the lambda)

    Andrew.

    • 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