Struct libreda_lefdef::def_ast::Net
source · pub struct Net {Show 16 fields
pub name: Option<String>,
pub mustjoin: Option<Mustjoin>,
pub terminals: Vec<NetTerminal>,
pub shield_nets: Vec<String>,
pub xtalk_class: u16,
pub non_default_rule: Option<String>,
pub regular_wiring: Vec<RegularWiring>,
pub source: NetSource,
pub fixed_bump: bool,
pub frequency: Option<f64>,
pub original: Option<String>,
pub net_use: DEFSignalUse,
pub pattern: NetPattern,
pub est_cap: Option<f64>,
pub weight: u32,
pub properties: BTreeMap<String, PropertyValue>,
/* private fields */
}Expand description
Definition of a net and possibly its routes.
Fields§
§name: Option<String>Name of the net. Must be generated for MUSTJOIN nets. ‘MUSTJOIN’ is an invalid net name.
mustjoin: Option<Mustjoin>Net name is generated for MUSTJOIN nets.
terminals: Vec<NetTerminal>Terminals connected to the net.
shield_nets: Vec<String>Names of special nets that are used to shield this net. The shield nets must be defined earlier in ‘SPECIALNETS’.
xtalk_class: u16Crosstalk class number.
Default is 0 which will not be written to DEF.
Should be a value from 0 to 200.
non_default_rule: Option<String>Use another width rule than the default rule defined in the LEF WIDTH statement for the routing layer.
regular_wiring: Vec<RegularWiring>Specify the physical wiring.
source: NetSourceSource from where the net was created.
fixed_bump: boolFixed bump: TBD
frequency: Option<f64>Frequency of the net. Used as a hint for the router.
original: Option<String>If this net results from partitioning another net, then this refers to the original net.
net_use: DEFSignalUseUsage type of the net.
pattern: NetPatternDesired routing pattern for the net.
est_cap: Option<f64>Estimated wire capacitance of this net.
weight: u32Weight of the net. Nets with high weight should be tried to keep short by routing tools. Default = 1.
properties: BTreeMap<String, PropertyValue>Additional properties.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Net
impl RefUnwindSafe for Net
impl Send for Net
impl Sync for Net
impl Unpin for Net
impl UnwindSafe for Net
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more