pub trait RoutingProblem<C: L2NBase> {
    fn fused_layout_netlist(&self) -> &C;
fn top_cell(&self) -> C::CellId;
fn nets(&self) -> Box<dyn Iterator<Item = C::NetId>>;
fn boundary(&self) -> Option<SimpleRPolygon<C::Coord>>; fn net_weight(&self, _net: &C::NetId) -> f64 { ... }
fn arc_weight(
        _signal_source: &TerminalId<C>,
        _signal_destination: &TerminalId<C>
    ) -> f64 { ... }
fn blockages(
    ) -> Box<dyn Iterator<Item = (C::LayerId, SimpleRPolygon<C::Coord>)>> { ... } }
Expand description

Representation of the routing problem.

This excludes information directly related to the technology such as design rules.

Required methods

Get the base layout/netlist structure.

Get the top cell whose content should be placed.

Return the nets which should be routed.

Routes must remain within this boundary.

Provided methods

Get the weight of a net. Default is 1.0. When optimizing the wire-length, the weighted wire-length should be used. For example a weight 0.0 means that the net should not be considered for wire-length optimization. Place and route algorithms may or may not use the net weight.

Weight of an ‘arc’, i.e. a net segment which starts at signal_source and ends at signal_destination. Default weight is 1.0`. Place and route algorithms may or may not use the arc weight.

Shapes where routes should not pass.