pub struct FIFOWriteLogic<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> {Show 13 fields
pub write: Signal<In, Bit>,
pub data_in: Signal<In, D>,
pub full: Signal<Out, Bit>,
pub almost_full: Signal<Out, Bit>,
pub overflow: Signal<Out, Bit>,
pub clock: Signal<In, Clock>,
pub ram_write_address: Signal<Out, Bits<N>>,
pub ram_write_clock: Signal<Out, Clock>,
pub ram_write_data: Signal<Out, D>,
pub ram_write_enable: Signal<Out, Bit>,
pub read_address: Signal<In, Bits<NP1>>,
pub write_address_delayed: Signal<Out, Bits<NP1>>,
pub fill_level: Signal<Out, Bits<NP1>>,
/* private fields */
}Fields§
§write: Signal<In, Bit>§data_in: Signal<In, D>§full: Signal<Out, Bit>§almost_full: Signal<Out, Bit>§overflow: Signal<Out, Bit>§clock: Signal<In, Clock>§ram_write_address: Signal<Out, Bits<N>>§ram_write_clock: Signal<Out, Clock>§ram_write_data: Signal<Out, D>§ram_write_enable: Signal<Out, Bit>§read_address: Signal<In, Bits<NP1>>§write_address_delayed: Signal<Out, Bits<NP1>>§fill_level: Signal<Out, Bits<NP1>>Trait Implementations§
Source§impl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>
impl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for FIFOWriteLogic<D, 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<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Freeze for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>where
D: Freeze,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> RefUnwindSafe for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>where
D: RefUnwindSafe,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Send for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>where
D: Send,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Sync for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>where
D: Sync,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Unpin for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>where
D: Unpin,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> UnwindSafe for FIFOWriteLogic<D, N, NP1, BLOCK_SIZE>where
D: 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