I want to flatten a design COMPLETELY. I am using the leFlattenInst(...) routine to do the flattening with 31 levels and flattening the instances and mosaics so that should be enough to get them all but to be safe, but do I need to go back and somehow check to see if everything is flattened and then I somehow need make the routine recursive or does leFlattenInst(...) do that for me?
If it needs to be recursive, how can I check to see if I am done?
I can't see why it would not flatten everything or why you'd need to make it recursive. Of course, I'm assuming you're telling it to flatten pcells too - but assuming that, it should work. You could always check with cvId~>instances to see if there are any remaining, but I can't see why you would need to.
Thanks, that was the answer I had hoped for. Yes, I am telling it to flatten pcells too. Just wanted to be sure it was covered.
Just add to one more query to thi post:-
Is it possible to flatten an instance/pcell and do some checking and then revert back to the original one ( non-flattened one i.e. to bring the inst/pcell to its original condition) in SKILL.
I probably wouldn't do this - but maybe you can do an hiUndo to undo the change?
Why do you need to flatten it in order to do some checks? Can't you do the checks by looking at the contents of the pcell (i.e. the instId~>master)?