• 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 callbacks and cdfgData variable

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 19032
  • 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 callbacks and cdfgData variable

VadimBorisov
VadimBorisov over 8 years ago

I want to execute the callback from a cell(pcell) after instantiation it to a layout, in order to check if chosen parameters are correct (no callback validation). 

evalstring(callbackOfPcell)

and it always returns t, even for the obviously mistaken setup for the inst. parameters. 

I've checked the source code of the "callbackOfPcell" callback function, and for getting the value from the cell it's using the cdfgData variable. The documentation and internet didn't give me an answer how cdfgData knows which cell is under test now.

So, the question is how cdfgData gets the right value for a cell, and why it has nil value after executing it in the CIW.

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

    Unknown said:
    I believe, I found the source of my issue, it isn't your script reset the PCell to the default state, the PCell itself does it internally, but I'm not sure...

    Good. My code doesn't reset the "PCell" (or CDF) to its defaults, so it must have been something else...

    Andrew.

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

    Unknown said:
    I believe, I found the source of my issue, it isn't your script reset the PCell to the default state, the PCell itself does it internally, but I'm not sure...

    Good. My code doesn't reset the "PCell" (or CDF) to its defaults, so it must have been something else...

    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