• 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 generate completed nets text file.

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 13536
  • 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 generate completed nets text file.

lrl12skdev
lrl12skdev over 15 years ago

Hi everyone,

 I would like to generate a text file listing all the incomplete/complete nets because I need to pass it on to another process. Is it possible to do these via Skill?. show incomplete nets return value is boolean but there is an output window listing the nets so there must be a way I just don't know how at the moment, Any Idea?

best regards,  lrlsk

  • Cancel
Parents
  • Quek
    Quek over 15 years ago

    Hi Irlsk

    There does not seem to exists a single SKILL function to get incomplete/complete nets so I made use of the IC5141 showIncompleteNets form as shown below. Hope that it will be useful for you.

    Best regards
    Quek

    ; Tested using IC5141.500.6.142
    procedure( CCSgetNets()
       let( (icNetsForm icNets cNets icPort cPort correctForm)
          lxHiShowIncNets()
          icNetsForm=hiGetCurrentForm()
          if( symbolToString(icNetsForm->hiFormSym)=="_lxvIncNetForm" then
             icNets=icNetsForm->lxIncNetIncompleteListBoxField->choices
             cNets=icNetsForm->lxIncNetCompleteListBoxField->choices
             correctForm=t
          ) ;if
          hiFormCancel(icNetsForm)
       
          if( correctForm then
             icPort=outfile("./incomplete.nets")
             cPort=outfile("./completed.nets")
             foreach(net icNets
                fprintf(icPort "%s\n" net)
             ) ;foreach
             foreach(net cNets
                fprintf(cPort "%s\n" net)
             ) ;foreach
             close(icPort)
             close(cPort)
             printf("Incomplete nets: %L\n" icNets)
             printf("Completed nets: %L\n" cNets)
          ) ;if
       ) ;let
    ) ;procedure

    hiSetBindKey("Layout" "F10" "CCSgetNets()")

    getnets.il
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 15 years ago

    Hi Irlsk

    There does not seem to exists a single SKILL function to get incomplete/complete nets so I made use of the IC5141 showIncompleteNets form as shown below. Hope that it will be useful for you.

    Best regards
    Quek

    ; Tested using IC5141.500.6.142
    procedure( CCSgetNets()
       let( (icNetsForm icNets cNets icPort cPort correctForm)
          lxHiShowIncNets()
          icNetsForm=hiGetCurrentForm()
          if( symbolToString(icNetsForm->hiFormSym)=="_lxvIncNetForm" then
             icNets=icNetsForm->lxIncNetIncompleteListBoxField->choices
             cNets=icNetsForm->lxIncNetCompleteListBoxField->choices
             correctForm=t
          ) ;if
          hiFormCancel(icNetsForm)
       
          if( correctForm then
             icPort=outfile("./incomplete.nets")
             cPort=outfile("./completed.nets")
             foreach(net icNets
                fprintf(icPort "%s\n" net)
             ) ;foreach
             foreach(net cNets
                fprintf(cPort "%s\n" net)
             ) ;foreach
             close(icPort)
             close(cPort)
             printf("Incomplete nets: %L\n" icNets)
             printf("Completed nets: %L\n" cNets)
          ) ;if
       ) ;let
    ) ;procedure

    hiSetBindKey("Layout" "F10" "CCSgetNets()")

    getnets.il
    • 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