A method and apparatus for translating a hierarchical IC layout file into
a format that can be used by a mask writer that accepts files having a
limited hierarchy. Cover cells of the original IC layout file or a
modified file are designated, and the hierarchical file is redefined to
include only those designated cover cells. Non-designated cover cells and
other geometric data are flattened into the designated cover cells. The
hierarchy of the modified file is then redefined to be less than or equal
to the hierarchy limit of the mask writing tool.