• 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 script to auto save upon streamout, and upon page...

Stats

  • Replies 3
  • Subscribers 149
  • Views 562
  • Members are here 0

Skill script to auto save upon streamout, and upon page up throughout layout hierarchy

blankman
blankman 26 days ago

Hi, Haven't had the time to look into creating this via Skill myself yet, just putting feelers out to see if anything already exists. Had a look through existing posts but coud not locate.

Just wondering if there is a possibility to autosave upon streamout within Virtuoso?

Also, is it possible to setup an auto save feature to auto save upon page up through layout hierarchy? 

I am trying to minimize the amount of popups I see asking me if I want to save the cellview if layout edits have been made but not saved.

Any help very much appreciated,

Kr,

Brian.

  • Cancel
  • Sign in to reply
Parents
  • Andrew Beckett
    Andrew Beckett 22 days ago

    I just threw this together. Not especially well tested, but I think it does what you want?

    /* abLayoutSaveTriggers.ils
    
    Author     A.D.Beckett
    Group      Custom IC (UK), Cadence Design Systems Ltd.
    Language   SKILL
    Date       May 12, 2026 
    Modified   
    By         
    
    Auto-save on either close/pop a window, or on stream out.
    
    ***************************************************
    
    SCCS Info: @(#) abLayoutSaveTriggers.ils 05/12/26.17:02:05 1.1
    
    */
    
    procedure(abSaveAnyEditedLayouts()
        foreach(cv dbGetOpenCellViews()
            when(dbIsCellViewModified(cv) &&
                (cv~>mode=="a" || cv~>mode=="w")
                dbSave(cv)
            )
        )
        t
    )
    
    procedure(abSaveOnCloseTrigger(args)
        when(args->action=='close
            abSaveAnyEditedLayouts()
        )
        t
    )
    
    deRegUserTriggers("maskLayout" 'abSaveOnCloseTrigger)
    xstOutOnTranslateCB("r" 'abSaveAnyEditedLayouts)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 22 days ago

    I just threw this together. Not especially well tested, but I think it does what you want?

    /* abLayoutSaveTriggers.ils
    
    Author     A.D.Beckett
    Group      Custom IC (UK), Cadence Design Systems Ltd.
    Language   SKILL
    Date       May 12, 2026 
    Modified   
    By         
    
    Auto-save on either close/pop a window, or on stream out.
    
    ***************************************************
    
    SCCS Info: @(#) abLayoutSaveTriggers.ils 05/12/26.17:02:05 1.1
    
    */
    
    procedure(abSaveAnyEditedLayouts()
        foreach(cv dbGetOpenCellViews()
            when(dbIsCellViewModified(cv) &&
                (cv~>mode=="a" || cv~>mode=="w")
                dbSave(cv)
            )
        )
        t
    )
    
    procedure(abSaveOnCloseTrigger(args)
        when(args->action=='close
            abSaveAnyEditedLayouts()
        )
        t
    )
    
    deRegUserTriggers("maskLayout" 'abSaveOnCloseTrigger)
    xstOutOnTranslateCB("r" 'abSaveAnyEditedLayouts)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information