Struct libreda_pnr::place::mixed_size_placer_cascade::PlacerCascade
source · pub struct PlacerCascade<L: L2NBase> {
stages: Vec<Box<dyn MixedSizePlacer<L>>>,
}Expand description
A pipeline of placers. The result of the first stage is used as the initial placement for the next stage.
Fields§
§stages: Vec<Box<dyn MixedSizePlacer<L>>>Implementations§
source§impl<L: L2NBase> PlacerCascade<L>
impl<L: L2NBase> PlacerCascade<L>
sourcepub fn new(placers: Vec<Box<dyn MixedSizePlacer<L>>>) -> Self
pub fn new(placers: Vec<Box<dyn MixedSizePlacer<L>>>) -> Self
Create a new placer cascade.
Trait Implementations§
source§impl<C: L2NBase> MixedSizePlacer<C> for PlacerCascade<C>
impl<C: L2NBase> MixedSizePlacer<C> for PlacerCascade<C>
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