Function libreda_lefdef::import::import_def_into_db
source · pub fn import_def_into_db<C, Crd>(
options: &DEFImportOptions<C>,
lef: Option<&LEF>,
def: &DEF,
chip: &mut C
) -> Result<(), LefDefImportError>where
Crd: NumCast + Ord + CoordinateType + PrimInt,
C: L2NEdit<Coord = Crd>,Expand description
Convert a LEF and a DEF structure into a Chip data structure.
A LEF data structure may be necessary for the definition of default wiring lengths. An error will be returned if the LEF data structure is omitted but needed.