Struct rust_hdl::prelude::AsynchronousFIFO
source · pub struct AsynchronousFIFO<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32>where
D: Synth,{Show 14 fields
pub read: Signal<In, bool>,
pub data_out: Signal<Out, D>,
pub empty: Signal<Out, bool>,
pub almost_empty: Signal<Out, bool>,
pub underflow: Signal<Out, bool>,
pub read_clock: Signal<In, Clock>,
pub read_fill: Signal<Out, Bits<NP1>>,
pub write: Signal<In, bool>,
pub data_in: Signal<In, D>,
pub full: Signal<Out, bool>,
pub almost_full: Signal<Out, bool>,
pub overflow: Signal<Out, bool>,
pub write_clock: Signal<In, Clock>,
pub write_fill: Signal<Out, Bits<NP1>>,
/* private fields */
}Fields§
§read: Signal<In, bool>§data_out: Signal<Out, D>§empty: Signal<Out, bool>§almost_empty: Signal<Out, bool>§underflow: Signal<Out, bool>§read_clock: Signal<In, Clock>§read_fill: Signal<Out, Bits<NP1>>§write: Signal<In, bool>§data_in: Signal<In, D>§full: Signal<Out, bool>§almost_full: Signal<Out, bool>§overflow: Signal<Out, bool>§write_clock: Signal<In, Clock>§write_fill: Signal<Out, Bits<NP1>>Trait Implementations§
source§impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>where
D: Synth,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>where D: 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)