• 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 16051
  • 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
  • skillUser
    skillUser over 14 years ago

     Hi John,

    I hope you are using IC61x as there are new capabilities ther, such as hiWindowSaveImage():

     

    hiWindowSaveImage(
      [?target g_target]
      [?path t_path]
      [?format t_format]
      [?toplevel g_toplevel]
      [?quality n_quality]
      [?delay n_delay]
      [?timeoutBeep g_timeoutBeep]
    )
      => t | nil 

    This lets you save an image to various formats such as PNG, BMP, JPEG etc.

    And in IC614 there is another related function that you might be interested in, hiGenerateThumbnails():

     

    hiGenerateThumbnails(
      ?lib g_lib
      [?cell g_cell]
      [?view g_view]
      [?sizes g_sizes]
      [?output g_output]
      [?verbose g_verbose]
    )
      => thumbnails | nil

    This creates a 128x128 size PNG of the cellview in the cellview directory.

    If you are using IC514 then I think the options within the tools are limited, you might print/plot a cellview to a postscript file. The Tools->Camera utility calls "xcam" behind the scenes, so this may not be much different than what you were thinking originally?

    I hope that the above information helps,

    Regards,

    Lawrence.

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

     Hi John,

    I hope you are using IC61x as there are new capabilities ther, such as hiWindowSaveImage():

     

    hiWindowSaveImage(
      [?target g_target]
      [?path t_path]
      [?format t_format]
      [?toplevel g_toplevel]
      [?quality n_quality]
      [?delay n_delay]
      [?timeoutBeep g_timeoutBeep]
    )
      => t | nil 

    This lets you save an image to various formats such as PNG, BMP, JPEG etc.

    And in IC614 there is another related function that you might be interested in, hiGenerateThumbnails():

     

    hiGenerateThumbnails(
      ?lib g_lib
      [?cell g_cell]
      [?view g_view]
      [?sizes g_sizes]
      [?output g_output]
      [?verbose g_verbose]
    )
      => thumbnails | nil

    This creates a 128x128 size PNG of the cellview in the cellview directory.

    If you are using IC514 then I think the options within the tools are limited, you might print/plot a cellview to a postscript file. The Tools->Camera utility calls "xcam" behind the scenes, so this may not be much different than what you were thinking originally?

    I hope that the above information helps,

    Regards,

    Lawrence.

    • 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