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