Struct rust_hdl_widgets::fifo::sync_fifo::SynchronousFIFO
source · pub struct SynchronousFIFO<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> {
pub clock: Signal<In, Clock>,
pub read: Signal<In, Bit>,
pub data_out: Signal<Out, D>,
pub empty: Signal<Out, Bit>,
pub almost_empty: Signal<Out, Bit>,
pub underflow: Signal<Out, Bit>,
pub write: Signal<In, Bit>,
pub data_in: Signal<In, D>,
pub full: Signal<Out, Bit>,
pub almost_full: Signal<Out, Bit>,
pub overflow: Signal<Out, Bit>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§read: Signal<In, Bit>
§data_out: Signal<Out, D>
§empty: Signal<Out, Bit>
§almost_empty: Signal<Out, Bit>
§underflow: Signal<Out, Bit>
§write: Signal<In, Bit>
§data_in: Signal<In, D>
§full: Signal<Out, Bit>
§almost_full: Signal<Out, Bit>
§overflow: Signal<Out, Bit>
Trait Implementations§
source§impl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for SynchronousFIFO<D, N, NP1, BLOCK_SIZE>
impl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for SynchronousFIFO<D, N, NP1, BLOCK_SIZE>
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)