Struct rust_hdl_widgets::fifo::fifo_reducer_n::FIFOReducerN
source · pub struct FIFOReducerN<const DW: usize, const DN: usize> {
pub data_in: Signal<In, Bits<DW>>,
pub read: Signal<Out, Bit>,
pub empty: Signal<In, Bit>,
pub data_out: Signal<Out, Bits<DN>>,
pub write: Signal<Out, Bit>,
pub full: Signal<In, Bit>,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§data_in: Signal<In, Bits<DW>>
§read: Signal<Out, Bit>
§empty: Signal<In, Bit>
§data_out: Signal<Out, Bits<DN>>
§write: Signal<Out, Bit>
§full: Signal<In, Bit>
§clock: Signal<In, Clock>
Implementations§
Trait Implementations§
source§impl<const DW: usize, const DN: usize> Block for FIFOReducerN<DW, DN>
impl<const DW: usize, const DN: usize> Block for FIFOReducerN<DW, DN>
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<const DW: usize, const DN: usize> RefUnwindSafe for FIFOReducerN<DW, DN>
impl<const DW: usize, const DN: usize> Send for FIFOReducerN<DW, DN>
impl<const DW: usize, const DN: usize> Sync for FIFOReducerN<DW, DN>
impl<const DW: usize, const DN: usize> Unpin for FIFOReducerN<DW, DN>
impl<const DW: usize, const DN: usize> UnwindSafe for FIFOReducerN<DW, DN>
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