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)Auto Trait Implementations§
impl<T, const N: usize> Freeze for LazyFIFOReader<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for LazyFIFOReader<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for LazyFIFOReader<T, N>where
T: Send,
impl<T, const N: usize> Sync for LazyFIFOReader<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for LazyFIFOReader<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for LazyFIFOReader<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