mnflow.mfda.cad.dld.theme.condenser_sorter.DLD
- class mnflow.mfda.cad.dld.theme.condenser_sorter.DLD(opt_collection_sideway=None, verbose=None, opt_process_upon_init=None, opt_write_upon_init=None, opt_save_image=None, top_cell_name=None, *args, **kwargs)
A DLD system with a Condenser-and-Sorter theme.
Constructor
Parameters
Internal config
- opt_collection_sidewaybool
Whether to include sideway collection for *sorters*, by default None
- verbosebool, optional
verbose, by default None
- opt_process_upon_initbool, optional
Whether to invoke the
processmethod from inside the constructor to design the system, by default True- opt_write_upon_initbool, optional
Whether to invoke the
writemethod from inside the constructor to write the GDS/DXF layout file, by default None- opt_save_imagebool, optional
Whether to invoke the
save_imagemethod from inside the constructor to save layout as png file(s), by default None- top_cell_namestr
Name of top cell to be created as needed.
- __init__(opt_collection_sideway=None, verbose=None, opt_process_upon_init=None, opt_write_upon_init=None, opt_save_image=None, top_cell_name=None, *args, **kwargs)
Constructor
Parameters
Internal config
- opt_collection_sidewaybool
Whether to include sideway collection for *sorters*, by default None
- verbosebool, optional
verbose, by default None
- opt_process_upon_initbool, optional
Whether to invoke the
processmethod from inside the constructor to design the system, by default True- opt_write_upon_initbool, optional
Whether to invoke the
writemethod from inside the constructor to write the GDS/DXF layout file, by default None- opt_save_imagebool, optional
Whether to invoke the
save_imagemethod from inside the constructor to save layout as png file(s), by default None- top_cell_namestr
Name of top cell to be created as needed.
Methods
__init__([opt_collection_sideway, verbose, ...])Constructor
add([element, snap_direction, p1, p2, ...])Add/Snap an element or a cell from another layout to a cell of layout of this element.
add_pad(width, snap_direction[, layer])Add a pad to layout.
clip([cell, clip_nondim, clip_dim, layer, ...])Clipping a cell.
find_widest_stage_box(config_stages, ...)Finds the stage with widest bounding box.
find_widest_stage_inlet(config_stages, ...)Finds the stage with widest inlet.
get_die_info()Returning the die information.
get_merged_config(config_default, config)Merges (with override)
configintoconfig_defaultand returns mergedconfigandconfig_autocontaining configs determined automatically for core.DLD and block.DLD.infer_count_stage(*arg)Infer count of stages from provided arguments.
infer_sidewall_width(config_stages, ...)Infer sidewall width of stages from provided arguments.
infer_width(config_stages, ...)Infer width of stages from provided arguments.
load(fname)Load and return object from a pickle file.
mirror_x()Mirror layout around x axis.
mirror_y()Mirror layout around y axis.
process(*args, **kwargs)A method attribute to be overriden in child classes.
prune([cell_name, cell_index, cell])Prune cells.
report(fname)Prepare a report file from dictionary of attributes.
rotate(angle_deg)Rotate layout
save(fname)Pickle the object.
save_image([fname_cad, ...])Save image (png) files from layout.
set_ll([target_ll])Setting the lower left coordinates of system.
transform(t)A generic transformation.
write([fname])Write the layout file in gds/dxf format.
Attributes
LIST_TYPE_UNPICKLABLEinvalid_types_for_num_stage_inferencekeys_in_config_that_always_applied_homogeneously