pub struct RegisterFIFO<T>where
T: Synth,{
pub data_in: Signal<In, T>,
pub data_out: Signal<Out, T>,
pub write: Signal<In, bool>,
pub read: Signal<In, bool>,
pub full: Signal<Out, bool>,
pub empty: Signal<Out, bool>,
pub clock: Signal<In, Clock>,
/* private fields */
}Fields§
§data_in: Signal<In, T>§data_out: Signal<Out, T>§write: Signal<In, bool>§read: Signal<In, bool>§full: Signal<Out, bool>§empty: Signal<Out, bool>§clock: Signal<In, Clock>Trait Implementations§
Source§impl<T> Block for RegisterFIFO<T>where
T: Synth,
impl<T> Block for RegisterFIFO<T>where
T: Synth,
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)Source§impl<T> Default for RegisterFIFO<T>
impl<T> Default for RegisterFIFO<T>
Source§fn default() -> RegisterFIFO<T>
fn default() -> RegisterFIFO<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for RegisterFIFO<T>where
T: Freeze,
impl<T> RefUnwindSafe for RegisterFIFO<T>where
T: RefUnwindSafe,
impl<T> Send for RegisterFIFO<T>where
T: Send,
impl<T> Sync for RegisterFIFO<T>where
T: Sync,
impl<T> Unpin for RegisterFIFO<T>where
T: Unpin,
impl<T> UnwindSafe for RegisterFIFO<T>where
T: UnwindSafe,
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