Struct rust_hdl::widgets::fifo::async_fifo::AsynchronousFIFO
source · [−]pub struct AsynchronousFIFO<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> {Show 14 fields
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 read_clock: Signal<In, Clock>,
pub read_fill: Signal<Out, Bits<NP1>>,
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>,
pub write_clock: Signal<In, Clock>,
pub write_fill: Signal<Out, Bits<NP1>>,
/* private fields */
}
Fields
read: Signal<In, Bit>
data_out: Signal<Out, D>
empty: Signal<Out, Bit>
almost_empty: Signal<Out, Bit>
underflow: Signal<Out, Bit>
read_clock: Signal<In, Clock>
read_fill: Signal<Out, Bits<NP1>>
write: Signal<In, Bit>
data_in: Signal<In, D>
full: Signal<Out, Bit>
almost_full: Signal<Out, Bit>
overflow: Signal<Out, Bit>
write_clock: Signal<In, Clock>
write_fill: Signal<Out, Bits<NP1>>
Trait Implementations
sourceimpl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>
impl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>
fn connect_all(&mut self)
fn update_all(&mut self)
fn has_changed(&self) -> bool
fn accept(&self, name: &str, probe: &mut dyn Probe)
sourceimpl<D: Default + Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Default for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>
impl<D: Default + Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Default for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>
sourcefn default() -> AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>
fn default() -> AsynchronousFIFO<D, N, NP1, BLOCK_SIZE>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> RefUnwindSafe for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE> where
D: RefUnwindSafe,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Send for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE> where
D: Send,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Sync for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE> where
D: Sync,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Unpin for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE> where
D: Unpin,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> UnwindSafe for AsynchronousFIFO<D, N, NP1, BLOCK_SIZE> where
D: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more