• 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. Skill Pcell Post Trigger with doneProc

Stats

  • Replies 2
  • Subscribers 144
  • Views 518
  • Members are here 0

Skill Pcell Post Trigger with doneProc

NC202503102342
NC202503102342 23 days ago

Hi,

I read the post Skill Pcell Post Trigger Function - Custom IC SKILL - Cadence Technology Forums - Cadence Community but I couldn't find a lot of documentation on how to use doneProc.

I'm trying to access the bBox coordinates of the PCell and show the lower left point as a CDF parameter. My first approach was to use the following code

In the PCell code, I added the lines

cdfCreateParam( cdfId

?name "llCoord"

?type   ""float

?prompt  "PCell Lower left corner"

?editable   "nil"

?callback  "showLLCoord()"

)

cdfId->doneProc = "showLLCoord"

later, I have

procedure( showLLCoord()

let( ( bBox )

bBox = inst~>bBox
cdfgDat->llCoord~>value = listToVector( car( bBox ) )[0]

) ; let

) ; procedure

But it didn't work. How could it be done?

Thanks very much in advance.

  • Sign in to reply
  • Cancel
  • NC202503102342
    NC202503102342 23 days ago

    correction:

    cdfgData->llCoord~>value = listToVector( car( bBox ) )[0]

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • henker
    henker 21 days ago

    Without trying, I think you missed the following part of the citation:
    CDF doneProc - it gets passed the instanceId that was changed

    Your doneProc has no argument that would take the passed instanceId, though later you are trying to access the (then global) variable inst, which however will be prob. not defined. It might help to use:

    procedure( showLLCoord(inst)


    There are also mental shortcuts to access edges/corners of bBoxes, like leftEdge, rightEdge, lowerLeft, upperLeft, etc. that do what they are called, also see:
    support.cadence.com/.../techpubDocViewerPage
    So you do not need to twiddle the bBox with vectors.

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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