• 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 menu item to the export in CIW

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 143
  • Views 17755
  • 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 menu item to the export in CIW

venuuuuu
venuuuuu over 13 years ago

 hi all,

I need to add a menu item "Run GDS to Library" (Which writes out GDS files for all layout views in a library) to export in CIW.

Let me know how to do it .

  • Cancel
Parents
  • venuuuuu
    venuuuuu over 13 years ago

     hi Andrew,

     I done as u suggested in last post. 1st i created a form and fill it with fields(rundirectory, library). Then i created a menu in CIW. But when i running the script for form then CIW shows "nil" and one worning.

     procedure(gds()
      let( (form)
     if(boundp('CCSgdsForm) && CCSgdsForm then
          form = CCSgdsForm
        else
          form = CCScreategdsForm()
        ); if
        when(hiIsForm(form)
         
      enterString(
            ?prompts list("Enter rundirectory to gds ")
            ?form form
            ;?initProc t_initProcName 

            ?doneProc "CCSgdsDoneProc"
            ;?formProc t_formProcName
            ?alwaysMap t
            ?cmdName "CCSgdsForm"
    )
        ); when the form exists
      ); let
    ); procedure CCSmetBus

    procedure(CCScreategdsForm()
       let( (rundirectory librarys library form )
    librarys=ddGetLibList()~>name
            library = hiCreateCyclicField(
              ?name 'library
              ?choices      librarys
              ?prompt       "Library"
              ?value        car(librarys)
              ?callback     "CCSchangelibrary()"

    )
    rundirectory=hiCreateStringField(
    ?name 'rundirectory
    ?prompt "Rundirectory"
    ?value  ""
    ?defValue "."
    ?callback "CCSchangeDirectory()"
    ); hiCreateStringField


     form = hiCreateAppForm(
              ?name 'CCScelltoGdsForm
              ?formTitle "Cell into GDS"
              ?formType     'options
              ?buttonLayout 'HideCancelDef
              ?fields list(list(library 0:0 200:30 50)
                    list(rundirectory 0:30 200:30 50) )
            ); hiCreateAppForm
     
                
         ); let

    );procedure

     procedure(CCSchangeDirectory()
      let( (origRundirectory)
        when(boundp('CCSgdsForm) && CCSgdsForm
          origRundirectory= CCSgdsForm->rundirectory->value
          CCSgdsForm->rundirectory->value = origRundirectory
          unless(CCSgdsForm->currentRundirectory == CCSgdsForm->rundirectory->value
            CCSgdsForm->currentRundirectory = CCSgdsForm->rundirectory->value
          ); unless
          applyEnterFun(form)
        ); when the form exists
      ); let
    ); procedure



    procedure(CCSgdsDoneProc( done points "wgl")
      let( ( form )
        when(boundp('CCSgdsForm) && CCSgdsForm
          form   = CCSgdsForm
          if(done then
                form->currentRundirectory = nil
                  CCSgdsCB(
                 form->rundirectory~>value
                 )
           ); if done
        ); when form exists
      ); let
    ); procedure

    Then CIW shows:

    " (icfb) Syncing library list with the Library Manager."

    And I feel my form is not working properly. Please help me to do this.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • venuuuuu
    venuuuuu over 13 years ago

     hi Andrew,

     I done as u suggested in last post. 1st i created a form and fill it with fields(rundirectory, library). Then i created a menu in CIW. But when i running the script for form then CIW shows "nil" and one worning.

     procedure(gds()
      let( (form)
     if(boundp('CCSgdsForm) && CCSgdsForm then
          form = CCSgdsForm
        else
          form = CCScreategdsForm()
        ); if
        when(hiIsForm(form)
         
      enterString(
            ?prompts list("Enter rundirectory to gds ")
            ?form form
            ;?initProc t_initProcName 

            ?doneProc "CCSgdsDoneProc"
            ;?formProc t_formProcName
            ?alwaysMap t
            ?cmdName "CCSgdsForm"
    )
        ); when the form exists
      ); let
    ); procedure CCSmetBus

    procedure(CCScreategdsForm()
       let( (rundirectory librarys library form )
    librarys=ddGetLibList()~>name
            library = hiCreateCyclicField(
              ?name 'library
              ?choices      librarys
              ?prompt       "Library"
              ?value        car(librarys)
              ?callback     "CCSchangelibrary()"

    )
    rundirectory=hiCreateStringField(
    ?name 'rundirectory
    ?prompt "Rundirectory"
    ?value  ""
    ?defValue "."
    ?callback "CCSchangeDirectory()"
    ); hiCreateStringField


     form = hiCreateAppForm(
              ?name 'CCScelltoGdsForm
              ?formTitle "Cell into GDS"
              ?formType     'options
              ?buttonLayout 'HideCancelDef
              ?fields list(list(library 0:0 200:30 50)
                    list(rundirectory 0:30 200:30 50) )
            ); hiCreateAppForm
     
                
         ); let

    );procedure

     procedure(CCSchangeDirectory()
      let( (origRundirectory)
        when(boundp('CCSgdsForm) && CCSgdsForm
          origRundirectory= CCSgdsForm->rundirectory->value
          CCSgdsForm->rundirectory->value = origRundirectory
          unless(CCSgdsForm->currentRundirectory == CCSgdsForm->rundirectory->value
            CCSgdsForm->currentRundirectory = CCSgdsForm->rundirectory->value
          ); unless
          applyEnterFun(form)
        ); when the form exists
      ); let
    ); procedure



    procedure(CCSgdsDoneProc( done points "wgl")
      let( ( form )
        when(boundp('CCSgdsForm) && CCSgdsForm
          form   = CCSgdsForm
          if(done then
                form->currentRundirectory = nil
                  CCSgdsCB(
                 form->rundirectory~>value
                 )
           ); if done
        ); when form exists
      ); let
    ); procedure

    Then CIW shows:

    " (icfb) Syncing library list with the Library Manager."

    And I feel my form is not working properly. Please help me to do this.

     

    • 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