• 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 component parameters list in hiCreateCyclicField...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14330
  • 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 component parameters list in hiCreateCyclicField ?choices

yuhua
yuhua over 14 years ago

Hi all ,

i want to add skill code when i select library name , add cell list in  CellName
when i select cell name , add component parameters list in CellParamName

library and cell name select is ok , but i could get component parameters list when i select cell name .

pls help it , thanks

                     list(
                          hiCreateCyclicField(?name  'LibName
                                              ?prompt "Library Name :"
                                              ?choices libNameList
                                              ?defValue "analogLib"
                                              ?callback "cellNameList=ddGetObj(LibForm->LibName->value)->cells~>name
                                                         LibForm->CellName->choices = cellNameList"
                                             )
                          (0:35) (600:30) 200
                         )
                     list(
                          hiCreateCyclicField(?name  'CellName
                                              ?prompt "Cell Name :"
                                              ?choices cellNameList
                                              ?callback "cellParameterList=cdfGetCellCDF(LibForm->CellName->value)->parameters~>name
                                                         LibForm->CellParamName->choices = cellParameterList"
                                             )
                          (0:70) (600:30) 200
                         )
                     list(
                          hiCreateCyclicField(?name  'CellParamName
                                              ?prompt "Component Parameters :"
                                              ?choices cellParameterList
                                             )
                          (0:105) (600:30) 200
                         )

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Your question is not that clear. What doesn't work? A complete example would help otherwise people have to spend significant time adding the missing parts to try it out to find out what the problem is.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yuhua
    yuhua over 14 years ago

    Dear andrew ,

    My question is how to add component parameters to list , when i select cell name , thanks  

     cdfparam.il , load("cdfparam.il") in CIW

    procedure(LibForm()
     
       let((libNameList cellNameList cellParameterList LibForm)

           libNameList = ddGetLibList()~>name
           cellNameList = list(" ")
           cellParameterList = list(" ")

           fields = list(
                         list(
                              hiCreateCyclicField(?name  'LibName
                                                  ?prompt "Library Name :"
                                                  ?choices libNameList
                                                  ?defValue "analogLib"
                                                  ?callback "cellNameList=ddGetObj(LibForm->LibName->value)->cells~>name
                                                             LibForm->CellName->choices = cellNameList"
                                                 )
                              (0:35) (600:30) 150
                             )
                         list(
                              hiCreateCyclicField(?name  'CellName
                                                  ?prompt "Cell Name :"
                                                  ?choices cellNameList
                                                  ?callback "cellParameterList=cdfGetCellCDF(LibForm->CellName->value)~>parameters~>name
                                                             LibForm->CellParamName->choices = cellParameterList"
                                                 )
                              (0:70) (600:30) 150
                             )
                         list(
                              hiCreateCyclicField(?name  'CellParamName
                                                  ?prompt "Component Parameters :"
                                                  ?choices cellParameterList
                                                 )
                              (0:105) (600:30) 150
                             )
                        ) ; end of first list

           LibForm = hiCreateAppForm(?name 'LibForm
                                     ?fields fields
                                     ?formTitle "parameter select"
                                     ?callback "Run(LibForm->libName->value
                                                    LibForm->CellName->value
                                                    LibForm->CellParamName->value
                                                     )"
                                    )
           hiDisplayForm(LibForm)

          ) ; end of let
    ) ; end of procedure

    LibForm()

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

    The value passed to cdfGetCellCDF was wrong. You need to pass it a dd object. It should be:

                               hiCreateCyclicField(?name  'CellName
                                                  ?prompt "Cell Name :"
                                                  ?choices cellNameList
                                                  ?callback "cellParameterList=cdfGetCellCDF(ddGetObj(LibForm->LibName->value LibForm->CellName->value))~>parameters~>name
                                                             LibForm->CellParamName->choices = cellParameterList"

                                                 )
                              (0:70) (600:30) 150
                             )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yuhua
    yuhua over 14 years ago

    Dear andrew,

     it's work now , thanks for your help

     

    BRs,

    Yuhua

    • 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