pub struct LazyFIFOFeeder<T, const N: usize>where
T: Synth,{
pub clock: Signal<In, Clock>,
pub bus: FIFOWriteController<T>,
pub done: Signal<Out, bool>,
pub start: Signal<In, bool>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§bus: FIFOWriteController<T>
§done: Signal<Out, bool>
§start: Signal<In, bool>
Implementations§
Source§impl<T, const N: usize> LazyFIFOFeeder<T, N>where
T: Synth,
impl<T, const N: usize> LazyFIFOFeeder<T, N>where
T: Synth,
pub fn new(data: &[T], sleeps: &[Bits<32>]) -> LazyFIFOFeeder<T, N>
Trait Implementations§
Source§impl<T, const N: usize> Block for LazyFIFOFeeder<T, N>where
T: Synth,
impl<T, const N: usize> Block for LazyFIFOFeeder<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)Auto Trait Implementations§
impl<T, const N: usize> Freeze for LazyFIFOFeeder<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for LazyFIFOFeeder<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for LazyFIFOFeeder<T, N>where
T: Send,
impl<T, const N: usize> Sync for LazyFIFOFeeder<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for LazyFIFOFeeder<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for LazyFIFOFeeder<T, N>where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more