fn export_nets_and_pins_to_def<C, Crd>(
    options: &DEFExportOptions<C>,
    top: CellRef<'_, C>,
    instance_names: &HashMap<C::CellInstId, String>,
    def: &mut DEF
) -> Result<HashMap<C::NetId, String>, LefDefExportError>where
    C: L2NBase<Coord = Crd>,
Expand description

Populate a DEF structure with nets and top-level pins. Return a name mapping from net IDs to their DEF names. The mapping contains possibly generated instance names.

Parameters

  • instance_names: Mapping from cell instance IDs to their DEF names. This is generated by export_instances_to_def().