OperatingConditions

Struct OperatingConditions 

Source
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>

Source

pub fn comments_this(&self) -> Option<&String>

Source

pub fn comments_this_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_calc_mode(&self) -> Option<&String>

Source

pub fn comments_calc_mode_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_parameteri(&self) -> Option<&String>

Source

pub fn comments_parameteri_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_process(&self) -> Option<&String>

Source

pub fn comments_process_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_process_label(&self) -> Option<&String>

Source

pub fn comments_process_label_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_temperature(&self) -> Option<&String>

Source

pub fn comments_temperature_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_tree_type(&self) -> Option<&String>

Source

pub fn comments_tree_type_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Source

pub fn comments_voltage(&self) -> Option<&String>

Source

pub fn comments_voltage_entry<'a>(&'a mut self) -> Entry<'a, u64, String>

Trait Implementations§

Source§

impl<C: Ctx> Borrow<String> for OperatingConditions<C>

Source§

fn borrow(&self) -> &OperatingConditionsId

Immutably borrows from an owned value. Read more
Source§

impl<C: Ctx> Borrow<str> for OperatingConditions<C>

Source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
Source§

impl<C: Clone + Ctx> Clone for OperatingConditions<C>
where C::Other: Clone,

Source§

fn clone(&self) -> OperatingConditions<C>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<C: Debug + Ctx> Debug for OperatingConditions<C>
where C::Other: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, C: Ctx> Deserialize<'de> for OperatingConditions<C>

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<C: Ctx> Item for OperatingConditions<C>

Source§

type Id = String

Source§

type IdReadonlyItem = IdReadonlyOperatingConditions<C>

Source§

unsafe fn __unsafe_deref_mut(&self) -> &mut Self::IdReadonlyItem

Safety Read more
Source§

fn id(&self) -> &Self::Id

Source§

fn id_readonly(&mut self) -> &mut Self::IdReadonlyItem

Source§

impl<C: Ctx> Serialize for OperatingConditions<C>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<C> Freeze for OperatingConditions<C>
where <C as Ctx>::Other: Freeze,

§

impl<C> RefUnwindSafe for OperatingConditions<C>
where <C as Ctx>::Other: RefUnwindSafe,

§

impl<C> Send for OperatingConditions<C>
where <C as Ctx>::Other: Send,

§

impl<C> Sync for OperatingConditions<C>
where <C as Ctx>::Other: Sync,

§

impl<C> Unpin for OperatingConditions<C>
where <C as Ctx>::Other: Unpin,

§

impl<C> UnwindSafe for OperatingConditions<C>
where <C as Ctx>::Other: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> Ungil for T
where T: Send,