pub struct FIFOReadLogic<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> {
pub clock: Signal<In, Clock>,
pub read: Signal<In, Bit>,
pub data_out: Signal<Out, D>,
pub empty: Signal<Out, Bit>,
pub almost_empty: Signal<Out, Bit>,
pub underflow: Signal<Out, Bit>,
pub write_address_delayed: Signal<In, Bits<NP1>>,
pub ram_read_address: Signal<Out, Bits<N>>,
pub ram_read_data: Signal<In, D>,
pub ram_read_clock: Signal<Out, Clock>,
pub read_address_out: Signal<Out, Bits<NP1>>,
pub fill_level: Signal<Out, Bits<NP1>>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§read: Signal<In, Bit>
§data_out: Signal<Out, D>
§empty: Signal<Out, Bit>
§almost_empty: Signal<Out, Bit>
§underflow: Signal<Out, Bit>
§write_address_delayed: Signal<In, Bits<NP1>>
§ram_read_address: Signal<Out, Bits<N>>
§ram_read_data: Signal<In, D>
§ram_read_clock: Signal<Out, Clock>
§read_address_out: 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 FIFOReadLogic<D, N, NP1, BLOCK_SIZE>
impl<D: Synth, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Block for FIFOReadLogic<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 FIFOReadLogic<D, N, NP1, BLOCK_SIZE>where
D: Freeze,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> RefUnwindSafe for FIFOReadLogic<D, N, NP1, BLOCK_SIZE>where
D: RefUnwindSafe,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Send for FIFOReadLogic<D, N, NP1, BLOCK_SIZE>where
D: Send,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Sync for FIFOReadLogic<D, N, NP1, BLOCK_SIZE>where
D: Sync,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> Unpin for FIFOReadLogic<D, N, NP1, BLOCK_SIZE>where
D: Unpin,
impl<D, const N: usize, const NP1: usize, const BLOCK_SIZE: u32> UnwindSafe for FIFOReadLogic<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