pub struct FIFOReducer<const DW: usize, const DN: usize, const REVERSE: bool> {
pub data_in: Signal<In, Bits<DW>>,
pub read: Signal<Out, bool>,
pub empty: Signal<In, bool>,
pub data_out: Signal<Out, Bits<DN>>,
pub write: Signal<Out, bool>,
pub full: Signal<In, bool>,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§data_in: Signal<In, Bits<DW>>
§read: Signal<Out, bool>
§empty: Signal<In, bool>
§data_out: Signal<Out, Bits<DN>>
§write: Signal<Out, bool>
§full: Signal<In, bool>
§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> Freeze for FIFOReducer<DW, DN, REVERSE>
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