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