pub struct AsyncFIFO<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32>where
T: Synth,{
pub bus_write: FIFOWriteResponder<T>,
pub write_clock: Signal<In, Clock>,
pub bus_read: FIFOReadResponder<T>,
pub read_clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§bus_write: FIFOWriteResponder<T>
§write_clock: Signal<In, Clock>
§bus_read: FIFOReadResponder<T>
§read_clock: Signal<In, Clock>
Trait Implementations§
Source§impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: Synth,
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for AsyncFIFO<T, N, NP1, BLOCK_SIZE>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)Auto Trait Implementations§
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Freeze for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: Freeze,
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> RefUnwindSafe for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: RefUnwindSafe,
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Send for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: Send,
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Sync for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: Sync,
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Unpin for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: Unpin,
impl<T, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> UnwindSafe for AsyncFIFO<T, N, NP1, BLOCK_SIZE>where
T: 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