pub struct WireLoad<C: Ctx> {
pub name: String,
pub extra_ctx: C::Other,
pub attributes: Attributes,
pub area: f64,
pub capacitance: f64,
pub resistance: f64,
pub slope: f64,
pub fanout_length: GroupSet<FanoutLength>,
/* private fields */
}
Expand description
A wire_load
group is defined in a library
group, as follows.
Fields§
§name: String
name
extra_ctx: C::Other
§attributes: Attributes
group undefined attributes
area: f64
Use this attribute to specify area per unit length of interconnect wire. Reference
capacitance: f64
Use this attribute to specify capacitance per unit length of interconnect wire. Reference
resistance: f64
Use this attribute to specify wire resistance per unit length of interconnect wire. Reference
slope: f64
Use this attribute to characterize linear fanout length behavior
beyond the scope of the longest length specified
in the fanout_length
attribute.
Reference
fanout_length: GroupSet<FanoutLength>
Use this attribute to define values for fanout and length when you create the wire load manually. fanoutAn integer representing the total number of pins, minus one, on the net driven by the given output.lengthA floating-point number representing the estimated amount of metal that is statistically found on a network with the given number of pins.
Examples
library (example)
...
wire_load (small) {
area : 0.0 ;
capacitance : 1.0 ;
resistance : 0.0 ;
slope : 0.0 ;
fanout_length (1,1.68) ;
}
}
Implementations§
Source§impl<C: Ctx> WireLoad<C>
impl<C: Ctx> WireLoad<C>
pub fn comments_this(&self) -> Option<&String>
pub fn comments_this_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_area(&self) -> Option<&String>
pub fn comments_area_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_capacitance(&self) -> Option<&String>
pub fn comments_capacitance_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_resistance(&self) -> Option<&String>
pub fn comments_resistance_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_slope(&self) -> Option<&String>
pub fn comments_slope_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
Trait Implementations§
Source§impl<C: Ctx> Borrow<String> for WireLoad<C>
impl<C: Ctx> Borrow<String> for WireLoad<C>
Source§fn borrow(&self) -> &WireLoadId
fn borrow(&self) -> &WireLoadId
Source§impl<'de, C: Ctx> Deserialize<'de> for WireLoad<C>where
C::Other: Deserialize<'de>,
impl<'de, C: Ctx> Deserialize<'de> for WireLoad<C>where
C::Other: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl<C: Ctx> Item for WireLoad<C>
impl<C: Ctx> Item for WireLoad<C>
type Id = String
type IdReadonlyItem = IdReadonlyWireLoad<C>
Source§unsafe fn __unsafe_deref_mut(&self) -> &mut Self::IdReadonlyItem
unsafe fn __unsafe_deref_mut(&self) -> &mut Self::IdReadonlyItem
fn id(&self) -> &Self::Id
fn id_readonly(&mut self) -> &mut Self::IdReadonlyItem
Auto Trait Implementations§
impl<C> Freeze for WireLoad<C>
impl<C> RefUnwindSafe for WireLoad<C>
impl<C> Send for WireLoad<C>
impl<C> Sync for WireLoad<C>
impl<C> Unpin for WireLoad<C>
impl<C> UnwindSafe for WireLoad<C>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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