Struct rust_hdl_widgets::fifo::fifo_reducer::FIFOReducer
source · pub struct FIFOReducer<const DW: usize, const DN: usize, const REVERSE: bool> {
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>
Trait Implementations§
source§impl<const DW: usize, const DN: usize, const REVERSE: bool> Block for FIFOReducer<DW, DN, REVERSE>
impl<const DW: usize, const DN: usize, const REVERSE: bool> Block for FIFOReducer<DW, DN, REVERSE>
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, const REVERSE: bool> RefUnwindSafe for FIFOReducer<DW, DN, REVERSE>
impl<const DW: usize, const DN: usize, const REVERSE: bool> Send for FIFOReducer<DW, DN, REVERSE>
impl<const DW: usize, const DN: usize, const REVERSE: bool> Sync for FIFOReducer<DW, DN, REVERSE>
impl<const DW: usize, const DN: usize, const REVERSE: bool> Unpin for FIFOReducer<DW, DN, REVERSE>
impl<const DW: usize, const DN: usize, const REVERSE: bool> UnwindSafe for FIFOReducer<DW, DN, REVERSE>
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