• 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. VIVA Skill Functions

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 143
  • Views 17731
  • 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

VIVA Skill Functions

netbug
netbug over 9 years ago

Good afternoon,

I am using quite intensively VIVA, and I would like to create some bindkeys for the main functions I am using.

So I would like to do the following (not ordered by priority)

1 - Change Font from created labels, or when creating a label automatically use a given font and size

2 - Save the images to a PNG file with a name generated automatically, that can have any format

For eg. the name of the file could look like "test_13Mar2016_01", "test 13Mar2016_02, etc". 

If you could refer to a manual having skill functions for VIVA, I would appreciate.

Many thanks,

Pedro

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    The awvGetWindowTitle() approach I mentioned earlier would get the info about the test name from the tab if used in ADE XL. In my case, my tests are called "AC" and "TRAN", and depending on the selected VIVA window I get:

    awvGetWindowTitle(currentWindow()) => "AC : opamp090 full_diff_opamp_AC schematic"

    awvGetWindowTitle(currentWindow()) => "TRAN : opamp090 full_diff_opamp_TRAN schematic"

    So ADE XL names the window with the test name and the test bench.

    You can get the test names from ADE XL using:

    axlSess=axlGetWindowSession()
    sdb=axlGetMainSetupDB(axlSess)
    testNames=cadr(axlGetTests(sdb))

    but this has to be done when the ADE XL window is the current window, and it would give you a list of all the test names, so I'm not sure it's useful.

    For the font information, this is covered in detail in the documentation. It's pretty easy to find, but if you bring up Help->Virtuoso Documentation Library, then make sure that View->Show Navigation is enabled (not hidden), and then search in the left pane for "Font String" (include the quotation marks) you should find it. Or you could search for graphLabel - it's pretty easy to locate.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    The awvGetWindowTitle() approach I mentioned earlier would get the info about the test name from the tab if used in ADE XL. In my case, my tests are called "AC" and "TRAN", and depending on the selected VIVA window I get:

    awvGetWindowTitle(currentWindow()) => "AC : opamp090 full_diff_opamp_AC schematic"

    awvGetWindowTitle(currentWindow()) => "TRAN : opamp090 full_diff_opamp_TRAN schematic"

    So ADE XL names the window with the test name and the test bench.

    You can get the test names from ADE XL using:

    axlSess=axlGetWindowSession()
    sdb=axlGetMainSetupDB(axlSess)
    testNames=cadr(axlGetTests(sdb))

    but this has to be done when the ADE XL window is the current window, and it would give you a list of all the test names, so I'm not sure it's useful.

    For the font information, this is covered in detail in the documentation. It's pretty easy to find, but if you bring up Help->Virtuoso Documentation Library, then make sure that View->Show Navigation is enabled (not hidden), and then search in the left pane for "Font String" (include the quotation marks) you should find it. Or you could search for graphLabel - it's pretty easy to locate.

    Regards,

    Andrew.

    • 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