I need a flattened GDS output from a stream out in IC6.1.5, the usual output of the File>Export>Stream is a GDS file with Hierarchical information.Can anyone tell me how to have an output gds file which is in a flattened state?.
Have you tried looking at Solution 11739836 ?
In reply to skillUser:
sorry i forgot to mention.. I need it to be executed in command line only, so maybe a use of skill code or etc...
In reply to jorenrefuerzo:
The same approach as described in the solution could be used from the command line - it uses a trigger in the User Defined SKILL file - you'd pass this to strmout with the -userSkillFile command line argument.
In reply to Andrew Beckett:
Thanks Andrew and Lawrence ...
Hi Andrew and Lawrence,
Looks like the skill script can only flatten into limited levels only... when i tried a bigger block which has a no. of levels, it did not flatten down to the lowest level... Do you have suggestions or inputs?..thanks in advance...
Have you tried putting a value larger than 32 for the x_levels argument to dbFlattenInst() SKILL function? I tested briefly that a value larger than 32 would be accepted and it was, but I don't have a layout with this many levels of hierarchy in it for testing purposes...
It seems that the 32 and higher value is working, i just found out that the erros is due to the layout that is to be flattened cannot be checkout out.. it seems that for the script to work. The layout must be editable by the user...
In reply to RVERP:
The lower level pins won't be preserved because the dbFlattenInst in the solution has nil for the fourth argument. For the labels, you could first record the dbIds of all the labels before you flatten:
labelTable=makeTable('labelTable nil)foreach(shape cv~>shapes when(shape~>objType=="label" || shape~>objType=="textDisplay" labelTable[shape]=t ))
then after the flatten, delete any label that's not in the table:
foreach(shape cv~>shapes when(shape~>objType=="label" || shape~>objType=="textDisplay" unless(labelTable[shape] dbDeleteObject(shape) ) ))
This is completely untested. Just wanted to make a suggestion. Oh, and you broke the forum guidelines by posting on the end of a 4 year old post. Better to post a new one and reference the original.