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§
sourcefn dir(&self) -> RoutingDir
fn dir(&self) -> RoutingDir
The preferred routing direction.
sourcefn offset(&self) -> TrackOffset
fn offset(&self) -> TrackOffset
An offset that shifts the first track of the layer.
Provided Methods§
sourcefn endcap(&self) -> i64
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.
sourcefn via_spacing(&self) -> usize
fn via_spacing(&self) -> usize
The minimum spacing between adjacent vias on the same metal track.
sourcefn strap_via_spacing(&self) -> usize
fn strap_via_spacing(&self) -> usize
The minimum spacing between adjacent vias on the same power strap.
sourcefn pitch(&self) -> i64
fn pitch(&self) -> i64
The line + space of this layer.
The default implementation should not generally be overridden.
sourcefn physical_offset(&self) -> i64
fn physical_offset(&self) -> i64
The offset of the first track in physical units.