Home > Community > Forums > Custom IC Design > Save Display Information

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Save Display Information 

Last post Wed, May 21 2014 4:31 AM by Magistus. 5 replies.
Started by keithd 19 Jul 2012 01:42 PM. Topic has 5 replies and 2107 views
Page 1 of 1 (6 items)
Sort Posts:
  • Thu, Jul 19 2012 1:42 PM

    • keithd
    • Not Ranked
    • Joined on Thu, Jun 11 2009
    • Austin, TX
    • Posts 2
    • Points 30
    Save Display Information Reply

     hi,

    I don't use Virtuoso much, so this may be obvious to the power users, but when I exit Virtuoso (6.15) it always opens a "Save Display Information" dialog and accuses me of editing the way my layers appear, even if the only thing I've done is open the tool and then type 'exit' in the CIW.

     Does it do that because it is reading display info from a file other than display.drf?   Is there a way to suppress this dialog or a dotfile I need to look at/modify?

     

    thanks

    -keith

    Filed under: ,
    • Post Points: 5
  • Thu, Jul 19 2012 2:12 PM

    • keithd
    • Not Ranked
    • Joined on Thu, Jun 11 2009
    • Austin, TX
    • Posts 2
    • Points 30
    Re: Save Display Information Reply

     nevermind.

     

    the problem appears be because I had a "drLoadDrf" command in my .cdsinit file.

    • Post Points: 20
  • Thu, Jul 19 2012 2:19 PM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 393
    • Points 7,415
    Re: Save Display Information Reply

    This form has always annoyed me as well. We setup the following trick to automatically cancel the form when we exit:

    procedure(myAutoCancelSaveDrfForm()
        when(hiGraphicMode()
            hiRegTimer("hiiSetCurrentForm('techSaveDrmForm) hiFormCancel(techSaveDrmForm)" 10)
            ;for some reason the form in 6.1 doesn't appear as soon as in 5.1.41, so it needs a longer delay
            hiRegTimer("hiiSetCurrentForm('techSaveDrmForm) hiFormCancel(techSaveDrmForm)" 30)
        )
    ) ;proc

    regExitBefore('MTstAutoCancelSaveDrfForm)

    Maybe some of the Cadence insiders have a better way to handle this, but this works for me.

    Derek

    • Post Points: 20
  • Fri, Jul 20 2012 12:58 AM

    Re: Save Display Information Reply

    Derek,

    drLoadDrf() has a second (optional) argument. If you use:

    drLoadDrf("/path/to/display.drf" nil)

    Then it won't ask you to save it if display characteristics are changed during the session. This is often called in the libInit.il in the technology library - so adding nil as the second argument is any easy fix.

    Andrew.

    • Post Points: 20
  • Fri, Jul 20 2012 7:52 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 393
    • Points 7,415
    Re: Save Display Information Reply

    Thanks Andrew. I looked at the various places in our code where drf files are loaded and half of them used the second argument. I have updated the rest to pass in nil as well. There are so many layers in this onion. ;-)

     Derek

    • Post Points: 20
  • Wed, May 21 2014 4:31 AM

    • Magistus
    • Not Ranked
    • Joined on Fri, May 3 2013
    • Posts 8
    • Points 85
    Re: Save Display Information Reply

    The idea with the second argument does not work. I added

    drLoadDrf("./display.drf" nil)

    in my .cdsinit and the window still appears after I exit virtuoso. Based on Dereks idea I have done it in that way:

    procedure(myAutoCancelSaveDrfForm()
    hiRegTimer("hiiSetCurrentForm('techSaveDrmForm) hiFormCancel(techSaveDrmForm)" 0)
    )
    regExitBefore('myAutoCancelSaveDrfForm)

    Curiously a delay of 0 is enough!

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by keithd at 19 Jul 2012 01:42 PM. Topic has 5 replies.