pub struct OperatingConditions<C: Ctx> {
pub name: String,
pub extra_ctx: C::Other,
pub attributes: Attributes,
pub calc_mode: Option<String>,
pub parameteri: Option<f64>,
pub process: f64,
pub process_label: Option<String>,
pub temperature: f64,
pub tree_type: Option<TreeType>,
pub voltage: f64,
/* private fields */
}
Expand description
Use this group to define operating conditions;
that is, process
, voltage
, and temperature
.
You define an operating_conditions
group at the library-level, as shown here:
Reference
Fields§
§name: String
name
extra_ctx: C::Other
§attributes: Attributes
group undefined attributes
calc_mode: Option<String>
An optional attribute, you can use calc_mode to specify an associated process mode. Reference
parameteri: Option<f64>
Use this optional attribute to specify values for up to five user-defined variables. Reference
process: f64
Use the process
attribute to specify a scaling factor to account for variations in the outcome of the actual semiconductor manufacturing steps.
A floating-point number from 0 through 100. Reference
process_label: Option<String>
Use the process_label attribute to specify the name of the current process. Reference
temperature: f64
Use the temperature
attribute to specify the ambient temperature in which the design is to operate.
Reference
tree_type: Option<TreeType>
Use the tree_type
attribute to specify the environment interconnect model.
Valid values are best_case_tree
, balanced_tree
, and worst_case_tree
.
Reference
voltage: f64
Use the voltage
attribute to specify the operating voltage of the design; typically 5 volts for a CMOS library.
A floating-point number from 0 through 1000, representing the absolute value of the actual voltage Reference
Implementations§
Source§impl<C: Ctx> OperatingConditions<C>
impl<C: Ctx> OperatingConditions<C>
pub fn comments_this(&self) -> Option<&String>
pub fn comments_this_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_calc_mode(&self) -> Option<&String>
pub fn comments_calc_mode_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_parameteri(&self) -> Option<&String>
pub fn comments_parameteri_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_process(&self) -> Option<&String>
pub fn comments_process_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_process_label(&self) -> Option<&String>
pub fn comments_process_label_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_temperature(&self) -> Option<&String>
pub fn comments_temperature_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_tree_type(&self) -> Option<&String>
pub fn comments_tree_type_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
pub fn comments_voltage(&self) -> Option<&String>
pub fn comments_voltage_entry<'a>(&'a mut self) -> Entry<'a, u64, String>
Trait Implementations§
Source§impl<C: Ctx> Borrow<String> for OperatingConditions<C>
impl<C: Ctx> Borrow<String> for OperatingConditions<C>
Source§fn borrow(&self) -> &OperatingConditionsId
fn borrow(&self) -> &OperatingConditionsId
Source§impl<C: Clone + Ctx> Clone for OperatingConditions<C>
impl<C: Clone + Ctx> Clone for OperatingConditions<C>
Source§fn clone(&self) -> OperatingConditions<C>
fn clone(&self) -> OperatingConditions<C>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de, C: Ctx> Deserialize<'de> for OperatingConditions<C>
impl<'de, C: Ctx> Deserialize<'de> for OperatingConditions<C>
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 OperatingConditions<C>
impl<C: Ctx> Item for OperatingConditions<C>
type Id = String
type IdReadonlyItem = IdReadonlyOperatingConditions<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 OperatingConditions<C>
impl<C> RefUnwindSafe for OperatingConditions<C>
impl<C> Send for OperatingConditions<C>
impl<C> Sync for OperatingConditions<C>
impl<C> Unpin for OperatingConditions<C>
impl<C> UnwindSafe for OperatingConditions<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