• 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 15927
  • 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
Parents
  • 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
Reply
  • 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
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