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
Hi IrlskThere 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 regardsQuek; Tested using IC5141.500.6.142procedure( 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) ;procedurehiSetBindKey("Layout" "F10" "CCSgetNets()")
In reply to Quek:
Thank you very much. Your script works perfect and this is exactly what I have in mind. Thanks also for the attachment, this saves me some time instead of copying and pasting the text because sometimes strange char appear by doing so.
In reply to lrl12skdev:
Hi IrIskIt is good to know that the script is useful for you. : ) Next time when you encounter the strange char problem, try running the file through "dos2unix" cmd.linux>dos2unix myfileBest regardsQuek