• 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 Design
  3. How to un-load and load a skill script in OCEAN

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 15922
  • 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

How to un-load and load a skill script in OCEAN

RFStuff
RFStuff over 10 years ago

Dear All,

I have a skill script ( the job of it is to delete psf folder after I close my ADE) which gets loaded at the start-up.

But while I run ocean script for multiple simulation it creates problem so I want to UN-load it at the beginning and then load it at the start.

Could anybody please tell how to achieve that ?

Kind Regards,

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    There's no such thing as "unloading a script". What you presumably need to do us reverse whatever operation that script did, so without knowing what the script actually does, I can't really advise you. It may mean unregistering some trigger that was registered in the script, or maybe undefining a defined function. Without seeing the code that is doing this special task, I can't really say what the approach that should be taken would be.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 10 years ago

    Dear Andrew,

    It is a .ile file.

    I have attached here.CCSDeletePsf.ile.zip

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    The code appears to have been sent to a customer (maybe you or somebody at your site) in the middle of March 2015, from case 45758268. The code itself appears to be an encrypted version of code I wrote a number of years ago. Probably it would have made more sense to contact customer support about the code that had been provided, rather than asking here - the reason it was encrypted was that it uses some private functions.

    You can stop it doing the deletion by doing:

    sstatus(debugMode t)
    procedure(abDeletePsfCloseProc(session) t)
    sstatus(debugMode nil)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 10 years ago

    Dear Andrew,

    Yes, it was given by cadence people for the case 45758268.  In fact I have filed a SR for this.

    Will the commands ( you have mentioned ) will do the both i.e. delete and invoke ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    If you log something as an SR then please do not also ask here. Otherwise people like me (I try to cover a lot of the forum questions in addition to my actual job with Cadence - this is not part of my job) end up replicating the effort of others in the support team. We simply do not have the resources to do that. The forum guidelines ask you not to contact customer support and ask the same question in the forums.

    If you want to enable and disable it, maybe a better solution is this:

    (sstatus debugMode t)
    (setq abDeletePsfEnabled t)
    (defun abDeletePsfCloseProc (session)
      (when abDeletePsfEnabled
       (hiDisplayAppDBox
        ?name 'abDeletePsfConfirm
        ?dboxBanner "Delete Simulation Results"
        ?dboxText "Delete Simulation Results?"
        ?dialogType hicQuestionDialog
        ?dialogStyle 'modal
        ?buttonLayout 'YesNo
        ?callback (sprintf nil "(abDeletePsfCB %L)"
                   (asiGetPsfDir session))
        )
      )
    )
    (sstatus debugMode nil)

    Then you can turn it on or off by setting abDeletePsfEnabled=t or =nil. If this works for you, please provide this to the customer support AE so they don't waste their time on it too...

    (note, this part of the code is not the sensitive part that doesn't need to be encrypted)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 10 years ago

    Dear Andrew,

    Sorry for the violations.

    It is working fine indeed.

    I have informed the same to customer support.

    Kind Regards,

    • 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