Is it possible to create gds of a design for which some subcells are included and others are not? For instance, some of my subcells are vendor macros, for which I need to stream an empty reference like with "Translation Depth"=0. But other instances are part of my custom design so I need them to be included. I considered first flattening those instances into the top level, but this is undersirable because of hierarchical reuse. Is there any sort of cell list parameter that can do this?
The content of cells from a Reference Library are not streamed out, just the instance information, so you could just put the library these cells come from in the Reference Library list for Stream Out (Stream Out Options, Libraries, Reference Libraries).
Hopefully this helps?
I had been playing with that option, but it doesn't immediately solve my problem because I sometimes have situations where the top cell (which I need to stream) and the subcell (which I need to not stream) are in the same library. I debated copying the top cell to a scratch library first, but I worry that it could be error-prone. Right now I'm thinking I might do a full stream and then manipulate the gds file afterward to remove the definitions of cells I don't want.
The File->Export->Stream allows you to specify a list of cells to export, and I think this in conjunction with setting the translation depth to 0 would do what you want, Might be a bit cumbersome though if you have a lot of cells...