• 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 need load .il file every time I open icfb

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13839
  • 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 need load .il file every time I open icfb

richardyuan
richardyuan over 11 years ago

Every time I open the cell containing my pCell instance from a new terminal, it has a label "pCellEvalFailed" and cannot reveal some of the layers. The log has warning:

 ("eval" 3 t nil ("*Error* eval: undefined function" TTPointInGap))

But actually the function has been defined in the .il file. And after I load the file in the CIW, all the layers look normal.

What can I do if I want to use the pCell instance without load the .il file every time? 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    When you define a Pcell using pcDefinePCell or similar, only the code in the body of the pcDefinePCell is stored in the cellView. Any user-defined functions which are called from the Pcell body that happen to be loaded are not stored. So these need to be defined at run time. 

    Typically any auxiliary functions you need would be defined in or loaded from a libInit.il file  within your Pcell library. This file is loaded upon first access to the library and consequently is a good place to define such functions. It's better than using .cdsinit because not all tools read the .cdsinit (strmout, to name just one).

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • richardyuan
    richardyuan over 11 years ago

    Thank you andrew. 

    I can not find libInit.il file in my library. So I create a libInit.il file in the library and move all the functions to it. And it works well now.

    • Cancel
    • Vote Up 0 Vote Down
    • 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