pub struct DelayLine<D, const N: usize, const W: usize>where
D: Synth,{
pub clock: Signal<In, Clock>,
pub data_in: Signal<In, D>,
pub data_out: Signal<Out, D>,
pub delay: Signal<In, Bits<W>>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§data_in: Signal<In, D>
§data_out: Signal<Out, D>
§delay: Signal<In, Bits<W>>
Trait Implementations§
source§impl<D, const N: usize, const W: usize> Block for DelayLine<D, N, W>where
D: Synth,
impl<D, const N: usize, const W: usize> Block for DelayLine<D, N, W>where D: Synth,
source§fn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
source§fn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
source§fn has_changed(&self) -> bool
fn has_changed(&self) -> bool
Returns
true
if anything in the circuit has changed (outputs or internal state)