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§
source§impl<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>
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<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§
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