• 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. Disable "Save Display Information" form

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 1887
  • 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

Disable "Save Display Information" form

Octavian
Octavian over 11 years ago

Hello,

I'm making some display resource modifications from a skill script using the function drSetPacket. When I close the CIW window I get a pop up asking me if I want to save display information changes.

How can I disable that pop up? Preferably, this should also be done from the skill code and would not apply for any additional changes made after that skill code is executed. Basically I'm looking for a way to reset the "changed flag" after my modifications.

I'm using IC514.

 

Thanks,

--Tavi

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Tavi,

    Certainly if you use drLoadDrf("display.drf" nil) (note the nil on the second argument) it doesn't ask you to save changes because of the new display.drf being loaded. However, there's nothing similar for drSetPacket.There's no SKILL function exposed to clear the modified counter.

    One way is to use this (slight hack):

    procedure(CCFtidyUpAtExit()
      hiRegTimer("CCFcancelSaveDisplayDrf()" 0)
    )
    procedure(CCFcancelSaveDisplayDrf()
      when(hiIsFormDisplayed(techSaveDrmForm)
        hiFormCancel(techSaveDrmForm)
      )
    )
        
    regExitBefore('CCFtidyUpAtExit)

    Note that in my case I get an error displayed in the CIW at exit time if I've modifed the packets, but it still exits. I couldn't (in the limited time I had) figure out a way to stop that.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Octavian
    Octavian over 11 years ago

    Thanks for the quick reply

     But this will cancel the form even when other modifications were made to the display information.

    I'm thinking about creating a temporary drf file with my modifications and loading that with drLoadDrf. Will that work?

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

    Yes, that should work. 

    Andrew 

    • 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