Trait libreda_sta::traits::timing_base::Signal
source · pub trait Signal: Clone + Debug + Sync + Send {
type LogicValue: Copy + Clone + Debug + Default + Sync + Send;
// Required method
fn logic_value(&self) -> Self::LogicValue;
}Expand description
Representation of signals at input or output pins.
Required Associated Types§
sourcetype LogicValue: Copy + Clone + Debug + Default + Sync + Send
type LogicValue: Copy + Clone + Debug + Default + Sync + Send
Type of logic value.
Typically this might be a three-valued type which represents logical 0, 1 and ‘unknown’.
The default is typically ‘unknown’.
This is used to specify static input signals when evaluating cell delays or constraints.
Required Methods§
sourcefn logic_value(&self) -> Self::LogicValue
fn logic_value(&self) -> Self::LogicValue
Get the target value of a signal.