Struct rust_hdl::prelude::FIFOReadController
source · pub struct FIFOReadController<T>where
T: Synth,{
pub data: Signal<In, T>,
pub read: Signal<Out, bool>,
pub empty: Signal<In, bool>,
pub almost_empty: Signal<In, bool>,
}Fields§
§data: Signal<In, T>§read: Signal<Out, bool>§empty: Signal<In, bool>§almost_empty: Signal<In, bool>Implementations§
source§impl<T> FIFOReadController<T>where
T: Synth,
impl<T> FIFOReadController<T>where T: Synth,
pub fn join(&mut self, other: &mut FIFOReadResponder<T>)
Trait Implementations§
source§impl<T> Block for FIFOReadController<T>where
T: Synth,
impl<T> Block for FIFOReadController<T>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)source§impl<T> Clone for FIFOReadController<T>where
T: Clone + Synth,
impl<T> Clone for FIFOReadController<T>where T: Clone + Synth,
source§fn clone(&self) -> FIFOReadController<T>
fn clone(&self) -> FIFOReadController<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T> Default for FIFOReadController<T>where
T: Default + Synth,
impl<T> Default for FIFOReadController<T>where T: Default + Synth,
source§fn default() -> FIFOReadController<T>
fn default() -> FIFOReadController<T>
Returns the “default value” for a type. Read more