• 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. Saving snapshots of layout, schematic views

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 16039
  • 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

Saving snapshots of layout, schematic views

jalwyn
jalwyn over 14 years ago

Hi,

I am trying to save the current layout/schematic which is being edited to a snaphot cadence library.This snapshot is taken at specific time intervals say every 10 minutes. I would retain 2 snapshots the latest one and the previous 10 minutes. I do not want to save the view being edited. I did write a skill code for this task, the skill code runs in the background and as able to create the snapshots. The problem was I could not undo(hiUndo()) some edits in the current cell view, as the the undo operation probably tried to undo the operations done by the background skill code. I am not sure if my understaning is correct. Can anyone please advice if there is a better way to handle this.

I am providing the skeleton of the skill code I wrote

 procedure(saveSnpSht()
 prog(()
  ;This procedure saves the existing snapshot to old snapshot and saves the
  ;current cell view as new snapshot
 )
)   

procedure(CCS_snpShot()
  hiRegTimer("saveSnpSht()  CCS_snpShot()" 6000)
)

I will execute  CCS_snpShot() in ciw, this keeps running in he background while I continue editing the cell view.

 Thanks and regards

John 

  
 

  • Cancel
Parents
  • jalwyn
    jalwyn over 14 years ago

    Hi Quek, Lawrence,

    Thanks for the infos you have provided.

    I use IC5141 will be moving to OA some time later.

    Let me explain the requirement in more detail

    1. By snapshot I meant saving the cadence files(all contents of cell/view dir)

    2. I do not intend to save the current cell view as the user will do it whenever he wishes to, the script running in background would save the view being edited in a seperate directory. In effect this would be something similar to saving mails in Drafts folder when the mail is being composed.The mail gets saved at regular intervals even if the user does not save it.

    The benefit of this approach is to recover data that user was working on sometime back.
    Use of unix snapshots or version control tools would need specific configurations, allocation of storage space etc..
    Also I guess all of that would be useful ony if user tries to save the view either manually saving it or using the autosave, autocheckin features.

    As mentioned earlier, I was not able to undo an edit done to layout probably because hiUndo() tried to undo one of the tasks done by the
    saveSnpShot() function running in the background as that was the operation that hiUndo() recognized.
    Is it possible to branch out the saveSnpShot() function as seperate process such that the tasks done by it do not interfere with users tasks.Would ipc help?

    Please let me know your comments.

    Thanks and regards

    John

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jalwyn
    jalwyn over 14 years ago

    Hi Quek, Lawrence,

    Thanks for the infos you have provided.

    I use IC5141 will be moving to OA some time later.

    Let me explain the requirement in more detail

    1. By snapshot I meant saving the cadence files(all contents of cell/view dir)

    2. I do not intend to save the current cell view as the user will do it whenever he wishes to, the script running in background would save the view being edited in a seperate directory. In effect this would be something similar to saving mails in Drafts folder when the mail is being composed.The mail gets saved at regular intervals even if the user does not save it.

    The benefit of this approach is to recover data that user was working on sometime back.
    Use of unix snapshots or version control tools would need specific configurations, allocation of storage space etc..
    Also I guess all of that would be useful ony if user tries to save the view either manually saving it or using the autosave, autocheckin features.

    As mentioned earlier, I was not able to undo an edit done to layout probably because hiUndo() tried to undo one of the tasks done by the
    saveSnpShot() function running in the background as that was the operation that hiUndo() recognized.
    Is it possible to branch out the saveSnpShot() function as seperate process such that the tasks done by it do not interfere with users tasks.Would ipc help?

    Please let me know your comments.

    Thanks and regards

    John

     

     

    • 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