• 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 Evaluation failed on GDS Stream out.

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16075
  • 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 Evaluation failed on GDS Stream out.

Christian Wieden
Christian Wieden over 5 years ago

Hello All,

i have the following Problem, then i try to stream out a PCell i am working on, i get the following error from Virtuoso:

*WARNING* (DB-270001): Pcell evaluation for SG25_dev/sealring_complete/layout has the following error(s):

*WARNING* (DB-270002): ("eval" 0 t nil ("*Error* eval: unbound variable" PDK_LIBRARY))

*WARNING* (DB-270003): Error kept in "errorDesc" property of the label "pcellEvalFailed" on layer/purpose "marker/error" in the submaster.

ERROR (XOASIS-231): Pcell evaluation failed for 'SG25_dev/sealring_complete/layout' because the Pcell SKILL code contains either a syntax error or an unsupported XOasis function. Check the standard output or the Virtuoso log file for more information. Either correct the Pcell SKILL code or ignore the error by enabling the 'ignorePcellEvalFail' option for XOasis Out.

But then i load the Skill code no error is reportet, in the Layout view no marker is found.

load "sealring_complete.il"

Generating Pcell for 'sealring_complete layout'.

t

Also boundp reports that PDK_LIBRARY exists and printing the Content of PDK_LIBRARY shows a correct value.

boundp('PDK_LIBRARY)

t

dprint PDK_LIBRARY

PDK_LIBRARY = "SG25_dev"

t

Best Regards,

Christian Wieden

  • Cancel
  • mbracht
    mbracht over 5 years ago

    Hi Christian,

    The stream out does not run in the same context like virtuoso does. Tthe fact that you see that variable during a virtuoso session does not necessarily mean that its visible in the stream out too.
    So where is this variable being set? To confirm that suspicion you might hard code the variable with in the pcDefinePcell() function in sealring_complete.il, then recompile the pcell and try the stream out all over again.

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Christian Wieden
    Christian Wieden over 5 years ago in reply to mbracht

    Hi Max,

    then i hardcode PDK_LIBRARY="SG25_dev" into the pCell then  it works without a Problem.

    PDK_LIBRARY is set in cdsinit, is there a better place to define this library?

    Best Regards,

    Christian

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Christian Wieden
    Christian Wieden over 5 years ago

    Hi All,

    i talked with my colleagues, after trying to put PDK_LIBRARY into libInit instead of cdsinit it seems to work fine now.

    Thanks to Max for the help and pointing us at the right direction.

    Best Regards,

    Christian

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 5 years ago in reply to Christian Wieden

    well one way would be to set it as a Unix environment variable and then set the SKILL variable in pcDefinePcell() accordingly:

    (setq PDK_LIBRARY (getShellEnvVar "PDK_LIBRARY"))

    Max

    • 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