• 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. How to add personal application to the RMB menu in the Library...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14094
  • 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

How to add personal application to the RMB menu in the Library Manager? And also get the selected view object.

fatcat1206
fatcat1206 over 9 years ago

Hi All

I developed a piece of code, which is a text generator, which can grab the pin definitions from a existing file, and generate the content based on user defined templates and keywords.

I was trying to find a proper entry for this application. One idea is to call it in the "Library Manager", by selecting a veriloga/verilogams/function view, and click the RMB. In the pop up menu, there is a entry for my code.

Does anyone knows how to do that?

Besides, I also need to get the corresponding file of that view, it would be input argument for my App.

Best Regards

Yi

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Yi,

    The library manager may be customised by putting some functions in a file cdsLibMgr.il and some in your .cdsinit. The documentation for this is in the Cadence Application Infrastructure Guide and also in the Library Manager User Guide. The idea is that you define the menus in the cdsLibMgr.il but the action is performed in the main virtuoso executable via a callback there.

    In order to get the master file for a cellView you'd use:

    masterFile=ddGetObj(libName cellName viewName "*")

    and then you could use:

    fileName=ddGetObjReadPath(masterFile)
    filePort=infile(fileName)
    ...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago

    Hi Andrew

    Thank you for your reply.

    Do you happen to have an example for the "cdsLibMgr.il" file.

    I take a look in documentation, it would be helpful if I have an example by hand, which put everything together.

    I also take a look in my design environment, there is no such file.
    Since it's customer defined file, it seems that no one use it before in my place.

    Best Regards


    Yi

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

    Yi,

    There are several examples in the documentation (actually written by me, taken from an application note I wrote on this subject many years ago).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago

    Hi Andrew

    Thanks,

    I have found some examples in the "Cadence Application Infrastructure SKILL Reference", in Charter 4 "Library Manager Functions"

    Best Regards

    Yi

    • 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