Home > Community > Forums > Custom IC SKILL > how to export gds file using skill

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 how to export gds file using skill 

Last post Fri, Jun 26 2009 1:43 AM by Andrew Beckett. 1 replies.
Started by VEERA PRAMOD 25 Jun 2009 11:28 PM. Topic has 1 replies and 1705 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Jun 25 2009 11:28 PM

    • VEERA PRAMOD
    • Not Ranked
    • Joined on Thu, Jun 11 2009
    • Hyderabad, Andhra Pradesh
    • Posts 11
    • Points 330
    how to export gds file using skill Reply

    Hi all..

       i had written a skill program to export gds of a edit cellview directly it is not working properly.Some times it is working,some times it taking icfb into infinite loop.Please tell me the prcocess to export gds file for a edit cell view with out giving any input if you know.

     

    Thank you. 

    Veera Pramodu Kotrika 

    • Post Points: 20
  • Fri, Jun 26 2009 1:43 AM

    Re: how to export gds file using skill Reply

    Something like this should do it:

    
        defun(CCSrunStrmout (lib cell view)
    	let((streamOutKeys templateFile prt id)
    	    streamOutKeys=ncons(nil)
    	    streamOutKeys->libName=lib
    	    streamOutKeys->primaryCell=cell
    	    streamOutKeys->viewName=view
    	    streamOutKeys->outFile="PIPO.log"
    	    streamOutKeys->errFile="PIPO.err"
    	    templateFile=makeTempFileName("./streamOutKeys")
    	    prt=outfile(templateFile)
    	    fprintf(prt "streamOutKeys='")
    	    pprint(streamOutKeys prt)
    	    newline(prt)
    	    close(prt)
    	    id=ipcBeginProcess(
    		sprintf(nil "pipo strmout %s" templateFile)
    		""
    		CCSstrmDataHandler
    		CCSstrmDataHandler
    		CCSstrmExitHandler
    	    ) ; ipcBeginProcess
                ; use ipcWait(id) if you want to wait for it to finish
    	) ; let
        ) ; defun
    
        defun(CCSstrmDataHandler (_id data)
            printf("%s" data)
        )
    
        defun(CCSstrmExitHandler (_id status)
            printf("Stream Out exited with status %L\n" status)
        )
    

    Note that I've not tested the above, it was modified from some similar code I already had, in order to protect the innocent...

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by VEERA PRAMOD at 25 Jun 2009 11:28 PM. Topic has 1 replies.