Trait atoll::grid::AtollLayer

source ·
pub trait AtollLayer {
    // Required methods
    fn dir(&self) -> RoutingDir;
    fn line(&self) -> i64;
    fn space(&self) -> i64;
    fn offset(&self) -> TrackOffset;

    // Provided methods
    fn endcap(&self) -> i64 { ... }
    fn via_spacing(&self) -> usize { ... }
    fn strap_via_spacing(&self) -> usize { ... }
    fn pitch(&self) -> i64 { ... }
    fn physical_offset(&self) -> i64 { ... }
}
Expand description

An ATOLL-compatible routing layer.

Required Methods§

source

fn dir(&self) -> RoutingDir

The preferred routing direction.

source

fn line(&self) -> i64

The line width on this layer.

source

fn space(&self) -> i64

The space between adjacent tracks on this layer.

source

fn offset(&self) -> TrackOffset

An offset that shifts the first track of the layer.

Provided Methods§

source

fn endcap(&self) -> i64

The amount by which this layer should extend beyond the center line of a track on the this layer’s grid defining layer.

source

fn via_spacing(&self) -> usize

The minimum spacing between adjacent vias on the same metal track.

source

fn strap_via_spacing(&self) -> usize

The minimum spacing between adjacent vias on the same power strap.

source

fn pitch(&self) -> i64

The line + space of this layer.

The default implementation should not generally be overridden.

source

fn physical_offset(&self) -> i64

The offset of the first track in physical units.

Implementors§