I know, there were already a lot of questions and answer about srtmout command.
But could you pls. explain this question again, how we can start export GDS file under skill?
When I try to do it manually under unix - all works fine, for example:
strmout -logFile "acg_layPcellTest.err" -view "layout" -topCell "acg_layPcellTest" -techLib "SG13_dev" -strmFile "acg_layPcellTest.gds" -library "acg_test" -runDir "./gds"
And if I write in my code follwoing:
sprintf(args "-library \"%s\" -strmFile \"%s\" -techLib \"%s\" -topCell \"%s\" -view \"%s\" -logFile \"%s\" -runDir \"./gds\" -hierDepth \"32767\"" lib strcat(cell ".gds") tf->libName cell view strcat(cell ".err"));
ipcBeginProcess(sprintf(nil "strmout %s" args)
All also works fine, gds will be created but in CIW I sow, taht procedure return nil.
But if I try, to create mane code as was show on this forum:
streamOutKeys = ncons(nil);
streamOutKeys->library = lib; streamOutKeys->strmFile = strcat(cell ".gds"); streamOutKeys->techLib = tf->libName; streamOutKeys->topCell = cell; streamOutKeys->view = view; streamOutKeys->logFile = strcat(cell ".err");
templateFile = makeTempFileName("./streamOutKeys");prt = outfile(templateFile);fprintf(prt "streamOutKeys='");pprint(streamOutKeys prt);newline(prt);close(prt);
sprintf(nil "strmout %s" templateFile)
I have following error:
ERROR (XSTRM-102): The './streamOutg4021' option specified is invalid. View the available options using the "-help" command and then specify the valid option.INFO (XSTRM-273): Translation failed. '1' error(s) and '0' warning(s) found.
That's because the streamOutKeys approach was for the old IC5141 stream interface ("pipo strmout templateFile") rather than the IC61X stream interface ('strmout").
The ipcBeginProcess won't return nil - it will return a handle on the process - which you can then use:
id=ipcBeginProcess(...)ipcWait(id) ; wait for it to finish.
In reply to Andrew Beckett:
In reply to MedAn:
No, the streamOutKeys mechanism is really a legacy support and is used just to seed the UI; it's not for batch use (it used to be for batch use in IC5141). In the documentation (on the page you specify) it says "Seeding the XStream Out GUI using streamOutKeys SKILL List and .cdsinit File".
You can however write all the options you want into a simple file with name-value pairs in each line and then invoke "strmout -templateFile filename". If you want to know the syntax of the file, one way is to bring up the UI and save the template from the form. Essentially the options in the template file are the same as the command line options - it's just sometimes more convenient to put all those option-value pairs in a file instead.
Does that answer your question?