• 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. Creating Context file

Stats

  • Replies 4
  • Subscribers 142
  • Views 1172
  • Members are here 0

Creating Context file

shobha
shobha 2 months ago

Hi all,

I am trying to covert pcell code into .cxt file for pcell packaging using setContext("myContext"), load(pcellCode) and saveContext("pcellCode.cxt"). Every time I run this code I get some errors, I am trying to figure it out but unable to do it. I am open to any suggestions.

  

Regards,

Shobha

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 2 months ago

    Use:

    sstatus(savePcreData t)

    before creating the context. That should work, as far as I know.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shobha
    shobha 2 months ago in reply to Andrew Beckett

    Thanks for the reply Andrew.
    1. I am getting the below warnings, is that fine?
    2. Also I read from the sklanguser document that, context will not work if we use port values, database handlers and window types. The warning I am getting is related to this or something else?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 2 months ago in reply to shobha

    Are you using "virtuoso -ilLoadIL code.il" to build the context? You need to do this to disable the auto-loading of contexts and then have to ensure that you manually load the dependency contexts for this to work - and ensure that you don't have any inter-context objects (which can be tricky). I suspect you're not doing this because you seem to have quite a few things initialised that are seen as inter-context dependencies.

    You might find it much simpler to use loadTopContextForms() instead to load the code and then the resulting context is similar to just loading the source files. The documentation describes the options to protect various parts of the code. This differs from a standard context in that it doesn't just save the byte-code compiled snapshot of the SKILL virtual machine, but it's much easier to build the context and it is much more flexible with regards to the IC version you're using.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shobha
    shobha 2 months ago in reply to Andrew Beckett

    Thanks for the reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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