Trait libreda_pnr::route::global_router::GlobalRouter
source · [−]pub trait GlobalRouter<LN: L2NBase> {
type RoutingResult;
type Error;
fn name(&self) -> String;
fn route<RP>(
&self,
routing_problem: &RP
) -> Result<Self::RoutingResult, Self::Error>
where
RP: GlobalRoutingProblem<LN>;
}
Expand description
Basic trait for a global router.
Associated Types
type RoutingResult
type RoutingResult
Result of the global routing. The exact type depends on the routing algorithm.
Required methods
fn route<RP>(
&self,
routing_problem: &RP
) -> Result<Self::RoutingResult, Self::Error> where
RP: GlobalRoutingProblem<LN>,
fn route<RP>(
&self,
routing_problem: &RP
) -> Result<Self::RoutingResult, Self::Error> where
RP: GlobalRoutingProblem<LN>,
Compute the global routes. Neither layout nor netlist are modified.