Struct libreda_pnr::place::stdcell_placer::PlacerAdapter
source · pub struct PlacerAdapter<P> {
placer: P,
}Expand description
Adapt a SimpleStdCellPlacer to expose the MixedSizePlacer API.
Fields§
§placer: PImplementations§
source§impl<P> PlacerAdapter<P>
impl<P> PlacerAdapter<P>
sourcepub fn new(simple_stcell_placer: P) -> Self
pub fn new(simple_stcell_placer: P) -> Self
Wrap a SimpleStdCellPlacer to expose the MixedSizePlacer API.
Trait Implementations§
source§impl<P: SimpleStdCellPlacer<C>, C: L2NBase<Coord = Coord>> MixedSizePlacer<C> for PlacerAdapter<P>
impl<P: SimpleStdCellPlacer<C>, C: L2NBase<Coord = Coord>> MixedSizePlacer<C> for PlacerAdapter<P>
source§fn find_cell_positions_impl(
&self,
placement_problem: &dyn PlacementProblem<C>
) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
fn find_cell_positions_impl( &self, placement_problem: &dyn PlacementProblem<C> ) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
Actual implementation of
MixedSizePlacer::find_cell_positions.source§fn find_cell_positions(
&self,
placement_problem: &dyn PlacementProblem<C>
) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
fn find_cell_positions( &self, placement_problem: &dyn PlacementProblem<C> ) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
Find the positions of all circuit instances inside
circuit. Read more