• 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. skill code for working with internal entities via IPC

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 142
  • Views 13005
  • 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

skill code for working with internal entities via IPC

archive
archive over 19 years ago

Is it possible to take an internal object, write it to a string, store it in an internal program, then re-use that value in
a Skill program?

For example, if I do this:
rc = ddGetObj( "00test1" )     
dd:0xacb0168

to get a library reference stored in variable rc, can I write the value of rc to a string and later recall that value (perhaps
storing it in a completely different variable) to access the same library?  In other words, what I would like to do is
something like this:

myIPCwrite( rc )        to save the value of rc to an extneral process
...             
lib1 = myIPCread()    to recall it

(this could also be referred to as marshalling and unmarshalling a value)


Originally posted in cdnusers.org by gry
  • Cancel
Parents
  • archive
    archive over 19 years ago

    No. You can't do this.

    Objects are created in VM in each session, and the IDs cannot be re-used in different sessions. Some objects (dd object for
    example) you should be careful about storing long term, since things may change...

    Regardless of this, even within the same session, you cannot convert the print value of a object (such as a dd object
    or db object) back into the actual object reference itself.

    What you should write is the information about how to recreate the object - i.e. the library name in this case. There's
    no harm in doing another ddGetObj after reading the library name back later.

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 19 years ago

    No. You can't do this.

    Objects are created in VM in each session, and the IDs cannot be re-used in different sessions. Some objects (dd object for
    example) you should be careful about storing long term, since things may change...

    Regardless of this, even within the same session, you cannot convert the print value of a object (such as a dd object
    or db object) back into the actual object reference itself.

    What you should write is the information about how to recreate the object - i.e. the library name in this case. There's
    no harm in doing another ddGetObj after reading the library name back later.

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • 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