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§

source

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§

source

fn logic_value(&self) -> Self::LogicValue

Get the target value of a signal.

Implementors§

source§

impl Signal for NDLMSignal

§

type LogicValue = Logic3

source§

impl<S> Signal for SignalClocked<S>where S: Signal,