Struct rust_hdl::prelude::LazyFIFOReader
source · pub struct LazyFIFOReader<T, const N: usize>where
T: Synth,{
pub clock: Signal<In, Clock>,
pub bus: FIFOReadController<T>,
pub done: Signal<Out, bool>,
pub start: Signal<In, bool>,
pub error: Signal<Out, bool>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§bus: FIFOReadController<T>
§done: Signal<Out, bool>
§start: Signal<In, bool>
§error: Signal<Out, bool>
Implementations§
source§impl<T, const N: usize> LazyFIFOReader<T, N>where
T: Synth,
impl<T, const N: usize> LazyFIFOReader<T, N>where T: Synth,
pub fn new(data: &[T], sleeps: &[Bits<32>]) -> LazyFIFOReader<T, N>
Trait Implementations§
source§impl<T, const N: usize> Block for LazyFIFOReader<T, N>where
T: Synth,
impl<T, const N: usize> Block for LazyFIFOReader<T, N>where T: 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)