• 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 a custom menu to CIW

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 145
  • Views 19607
  • 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 a custom menu to CIW

NcfC
NcfC over 11 years ago
Hi,

I'm using IC5141 and I'm trying to add a custom menu to CIW,


procedure( Menu_CIW()
ciwMenuInit()
menu_ciw = hiCreatePulldownMenu( 'Menu_CIW "CusTools" list( menuItem_1 menuItem_2 menuItem_3 ) )
hiInsertBannerMenu( window(1) menu_ciw 3 )
)

and I've add a line in .cdsinit to load the scripts at startup:

load( "/path/to/script/cmenu.il" )

When icfb starts, it doesn't show the custom menu in the ciw banner. I've also tried to explicitly call the function Menu_CIW() inside .cdsinit, but it also didn't work. It works only if I call the function from the command line in ciw.

Can anyone help me understand why it is not working?

thanks in advance.

best regards,
  • Cancel
Parents
  • psill000
    psill000 over 11 years ago

    Another way to add menu items to the ciw is creating a ciw.menus file in ~/meus directory. You can also place the menus directory in your work directory if you prefer to have separate ciw menus per project.

    Example of a ciw.menus file:


    daMenu      = '(myMenu "My Stuff" (
                    (strCase        "StringCase"    "println(\"booya1\")")
                    (validLayer     "Valid Layers"  "println(\"booya2\")")
                    (trySlider      "Cool Stuff" (
                            (mySlider1        "Test1" "println(\"booya3\")")
                            (mySlider2        "Test2" "println(\"booya4\")")
                            ))
                    )); end of Utilities menu
    daLoadFile  = '(lscr "mySkill" (
                    (skLintGui      "Lint"          "skShowForm()")
                    (cdsFind        "cdsFinder"     "startFinder()")
                    (skillIde       "Skill IDE"     "_ilgRunSkillIde()")
                    (refresh        "Refresh List"  "println(\"booya5\")")
                    (reLoad         "Reload File"   "println(\"booya6\")")
                    (xscripts       "xScripts File" (
                            (holder "" "")
                            ))
                    (virtuoso       "Virtuoso File" (
                            (holder "" "")
                            ))
                    (bindkey        "Bindkey File"  (
                            (holder "" "")
                            ))
                    )); end of loadFile

    newLocalCiwMenu = '(daMenu daLoadFile)

    ciwMenuList = append(ciwMenuList newLocalCiwMenu)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • psill000
    psill000 over 11 years ago

    Another way to add menu items to the ciw is creating a ciw.menus file in ~/meus directory. You can also place the menus directory in your work directory if you prefer to have separate ciw menus per project.

    Example of a ciw.menus file:


    daMenu      = '(myMenu "My Stuff" (
                    (strCase        "StringCase"    "println(\"booya1\")")
                    (validLayer     "Valid Layers"  "println(\"booya2\")")
                    (trySlider      "Cool Stuff" (
                            (mySlider1        "Test1" "println(\"booya3\")")
                            (mySlider2        "Test2" "println(\"booya4\")")
                            ))
                    )); end of Utilities menu
    daLoadFile  = '(lscr "mySkill" (
                    (skLintGui      "Lint"          "skShowForm()")
                    (cdsFind        "cdsFinder"     "startFinder()")
                    (skillIde       "Skill IDE"     "_ilgRunSkillIde()")
                    (refresh        "Refresh List"  "println(\"booya5\")")
                    (reLoad         "Reload File"   "println(\"booya6\")")
                    (xscripts       "xScripts File" (
                            (holder "" "")
                            ))
                    (virtuoso       "Virtuoso File" (
                            (holder "" "")
                            ))
                    (bindkey        "Bindkey File"  (
                            (holder "" "")
                            ))
                    )); end of loadFile

    newLocalCiwMenu = '(daMenu daLoadFile)

    ciwMenuList = append(ciwMenuList newLocalCiwMenu)

    • 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