• 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. Exporting images for CDF forms to generate cellview doc...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 126
  • Views 15341
  • 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

Exporting images for CDF forms to generate cellview documentation

Herge
Herge over 12 years ago

For cellviews there exists a function "hiExportImage" which allows to generate an image file for a given cellview, opened in a (eventually hidden) window -- at least this is what I've understood. This should allow me to generate illustrations for all cells in a library automatically. Nice.

My question is about CDF forms : How could I automatically export images for CDF forms ? There is a "hiWindowSaveImage" function which can take handles to different types of objects including windows and forms. So the problem would boil down to getting the handle to the CDF form of interest. And here I am stuck -- I don't see how to programmatically get a handle to the CDF form associated to a particular cell.

Any suggestions ? 

 

  • Cancel
  • theopaone
    theopaone over 12 years ago

     I use a snapshot tool like XV or one built into Gnome. I don't think the CDF editor has a window ID so I can't find it in a SKILL function.

    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Herge
    Herge over 12 years ago

    Yes, that is the method I would like to avoid. My forms have "modes" (depending on some key parameters, the display of other parameters are activated or disactivated) and I'd like to automate the printing of snapshots for all these. 

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

    This works:

    hiWindowSaveImage(?target hiGetCurrentForm() ?path "export.png" )

    It won't work for the layout edit properties form (in IC615 and before, but it would for IC616 onwards) - because it's a Motif rather than "hi" (implemented in Qt) form - in IC616 that changes though.

    So you should be able to do it this way.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • theopaone
    theopaone over 12 years ago

     Thank you Andrew

    I didn't know that they had updated the CDF form. That is great news.

    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Herge
    Herge over 12 years ago
    OK, Andrew, very nice. Thank you. The next question is how to fire the CDF form programmatically. I had no time to look yet, I expect their will be a GUI function allowing to popup the CDF form for a selected instance in an open cellview. Is that so ? Any suggestion.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • berndfi
    berndfi over 12 years ago

     You could either do this with
    "leHiEditProp()" on the layout side
    "schHiObjectProperty()" or on the schematic side.
    The point is that you have to have the instace for which you want to see
    the properties selected.
    Another option would possilby be to use
    "leHiCreateInst()", "schHiCreateInst()", but then you have to
    populate the library, cell and view information to the form somehow.

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

    I was going to answer similarly - although I wasn't sure what you meant by "CDF form" - none of the above are actually the "CDF form" - the closest would be Tools->CDF->Edit CDF in the CIW.

    But I was guessing that you might have meant the edit properties form. But even then I was not sure whether you meant schematic or layout. And if Layout, it won't work (I think) until IC616.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Herge
    Herge over 12 years ago

    Andrew, Bernd,

     I meant the object properties form in the schematic window ("the thing the user interacts with when inserting or modifying an instance"). From what I've understood, the outlooks are good then : fair chance that I can get it to do what I want. I'll try out next week. Thanks. 

    • 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