Write GDSII

set mw_design_lib       my.mwlib
set fs_release          /tools/fip40.3/lsi40nm_3.0-current/tsmc_cln40g/
set streamout_mw_file   $fs_release/shared/synopsys/icc_tech/lsi40_7+2.lmap_out
 
set_write_stream_options \
  -map_layer $streamout_mw_file \
  -child_depth 10000 \
  -output_filling [list fill] \
  -output_outdated_fill \
  -keep_data_type \
  -allow_fill_data_mapping \
  -output_pin [list text geometry] \
  -output_net [list text plex] \
  -output_geometry_property \
  -compressed \
  -max_name_length 100
 
write_stream -lib_name $mw_design_lib -format gds -cells top_cell top.gds.gz