Function libreda_lefdef::export::export_instances_to_def
source · fn export_instances_to_def<C, Crd>(
options: &DEFExportOptions<C>,
top: CellRef<'_, C>,
macro_outlines: &HashMap<C::CellId, Rect<Crd>>,
def: &mut DEF
) -> Result<HashMap<C::CellInstId, String>, LefDefExportError>where
Crd: NumCast + Ord + CoordinateType + PrimInt,
C: L2NBase<Coord = Crd>,Expand description
Populate a DEF structure with the component instances.
Return a name mapping from instance IDs to their DEF names.
The mapping contains possibly generated instance names.