• 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
  • Quek
    Quek over 8 years ago

    Hi Vadim

    cdfgData allows us to access the CDF data of the current object which is in use. E.g.

    a. Enter "cdfgData" in CIW. You will get "nil"
    b. Select a schematic object and open the properties form
    c. Enter "cdfgData" in CIW again. You will now get the inst CDF ID of the object

    Please search for "cdfgData" in $CDSHOME/doc/skartistref/skartistref.pdf.


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 8 years ago

    Hi Vadim

    cdfgData allows us to access the CDF data of the current object which is in use. E.g.

    a. Enter "cdfgData" in CIW. You will get "nil"
    b. Select a schematic object and open the properties form
    c. Enter "cdfgData" in CIW again. You will now get the inst CDF ID of the object

    Please search for "cdfgData" in $CDSHOME/doc/skartistref/skartistref.pdf.


    Best regards
    Quek

    • 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