• 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. how to pass CDF parameter's value of an instance in schematic...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 144
  • Views 9601
  • 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

how to pass CDF parameter's value of an instance in schematic pcell to CDF parameter of schematic pcell

patwardg
patwardg over 12 years ago

An explanation of the problem I am facing is in order -

I have created a schematic pcell (A) in which I am instantiating the instance of a foundry delivered pcell (B). There are some independent (e.g. Bp, Bq ) and some dependent CDF parameters (e.g. Bx) defined for the CDF  of the pcell B.

So, Bx = FB_callback(Bp Bq)

Bx is calculated whenever I change Bp or Bq, using a call back function which I have absolutely no access to.

I have created 2 independent CDF  parameters for A (which is the pcell I created) - Ap and Aq. In the code for my schematic pcell I pass these values Ap and Aq to Bp and Bq respectively. Something like this -

master_b = dbOpenCellViewByType( "foundry_library" "foundry_cell_B" "symbol" )
inst_b = dbCreateInst( pcCellView master_b "I_B" list( 0.0 0.0 ) "R0")
inst_b~>Bp = Ap
inst_b~>Bq = Aq

However, after this when I print out the inst_b~>Bx then I see that it is not getting changed and is always the default.

How do I make sure that the callback routine for the foudry cell gets called? Also how do I pass the new value of Bx back into my pcell's CDF Ax?

Thanks,

  • Cancel
Parents
  • patwardg
    patwardg over 12 years ago

     Hi Andrew,

    Thanks for the quick reply.

    The solution worked and I was able to update the CDF values of the foundry instances.

    Although how do I pass them into the CDF values of the schematic pcell, from the schematic pcell code? When I use cdfgData variable in the pcell code, it's giving me an unbound variable error.

    Thanks,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • patwardg
    patwardg over 12 years ago

     Hi Andrew,

    Thanks for the quick reply.

    The solution worked and I was able to update the CDF values of the foundry instances.

    Although how do I pass them into the CDF values of the schematic pcell, from the schematic pcell code? When I use cdfgData variable in the pcell code, it's giving me an unbound variable error.

    Thanks,

    • 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