• 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. Assura41 undefined function - pcDefinePCell

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 1631
  • 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

Assura41 undefined function - pcDefinePCell

hothat
hothat over 5 years ago

Hi 

I am writing LVS extract file for our own technology, however , the assura41 seems keep showing error information 

Error eval : undefined function -pcDefinePCell 

after that error message loadng libInit.il was done. 

I also tried to run lvs using cdl netlist inseand of DFII, the same error was encountered. 

may I know how to fix it?

  • Cancel
  • hothat
    hothat over 5 years ago

    seems the generation of {circuit}.sdb was failed,  however, the cdl generation was correct.

    I have added auLvs in cdf~>SimInfo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to hothat

    The most likely explanation is that you have SKILL code in your libInit.il (or loaded from the libInit.il) which is attempting to recreate a PCell by calling pcDefinePCell. You should not do that (and there's no need to do that). When a PCell is defined using pcDefiinePCell, the parameters and the code in the body of the pcDefinePCell are stored in the cellView for that PCell (often a layout view, but could also be a schematic or symbol). There is no need to redefine it each time you start, because it's already stored in the view - and most likely you'd have permission problems because not all users would be able to write to the cellView. Secondly, some interfaces (such as the background netlister process, si) won't even support the pcDefinePCell function and will fail with an error as you've seen.

    The only case where you need to load something related to a PCell is when the body of the pcDefinePCell calls other user-defined functions; these functions won't be stored in the cellView and have to be loaded at run-time by everything that needs to be able to evaluate the PCell.

    So if you had:

    pcDefinePCell(list(ddGetObj("myLib") "mytran" "layout")
      (
        (w 1.0u)
        (l 0.2u)
      )
      let((...)
        myFunctionWhichDoesSomeWork(...)
      )
    )

    Then you'd need to ensure that the function myFunctionWhichDoesSomeWork is defined via the libInit.il, but you certainly do not (and should not) be loading the file that calls pcDefinePCell.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 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