pub fn hpwl<C: L2NBase, L>(top: &CellRef<'_, C>) -> L where
    C::Coord: NumCast,
    L: Num + NumCast + Zero
Expand description

Compute the half-perimeter wire length estimation for the cell top. Returns the sum of half-perimeters of each nets bounding box. Respects the pin locations at sub cells (instead of just taking the sub cell location).