pub struct SensitizationVector { /* private fields */ }
Expand description
§vector Complex Attribute
Similar to the pin_names
attribute,
the vector
attribute describes a transition pattern for the specified pins.
The stimulus is described by an ordered list of vectors.
The arguments for the vector
attribute are as follows:
vector id
The vector id
argument is an identifier to the vector string (a number tag
that defines the list of possible sensitization combinations in a cell).
The vector id value must be an integer greater than or equal to zero and
unique among all vectors in the current sensitization
group. It is recommended
that you start numbering from 0 or 1.
vector string
The vector string
argument represents a pin transition state. The string consists
of the following transition status values: 0, 1, X, and Z where each character is separated by a space.
The number of elements in the vector string must equal the number of arguments in pin_names
.
The vector
attribute can also be declared as:
vector (positive_integer, "{0|1|X|Z} [0|1|X|Z]…");
§Syntax
vector (integer, string);
§Example
sensitization(sensitization_nand2) {
pin_names ( IN1, IN2, OUT1 );
vector ( 1, "0 0 1" );
vector ( 2, "0 1 1" );
vector ( 3, "1 0 1" );
vector ( 4, "1 1 0" );
}
Trait Implementations§
Source§impl Clone for SensitizationVector
impl Clone for SensitizationVector
Source§fn clone(&self) -> SensitizationVector
fn clone(&self) -> SensitizationVector
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SensitizationVector
impl Debug for SensitizationVector
Source§impl Default for SensitizationVector
impl Default for SensitizationVector
Source§fn default() -> SensitizationVector
fn default() -> SensitizationVector
Source§impl<'de> Deserialize<'de> for SensitizationVector
impl<'de> Deserialize<'de> for SensitizationVector
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 PartialEq for SensitizationVector
impl PartialEq for SensitizationVector
Source§impl Serialize for SensitizationVector
impl Serialize for SensitizationVector
impl Eq for SensitizationVector
impl StructuralPartialEq for SensitizationVector
Auto Trait Implementations§
impl Freeze for SensitizationVector
impl RefUnwindSafe for SensitizationVector
impl Send for SensitizationVector
impl Sync for SensitizationVector
impl Unpin for SensitizationVector
impl UnwindSafe for SensitizationVector
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> 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