pub struct Accum<const N: usize, const M: usize, const P: usize> {
pub clock: Signal<In, Clock>,
pub strobe_in: Signal<In, Bit>,
pub data_in: Signal<In, Bits<N>>,
pub strobe_out: Signal<Out, Bit>,
pub data_out: Signal<Out, Bits<M>>,
/* private fields */
}
Fields
clock: Signal<In, Clock>
strobe_in: Signal<In, Bit>
data_in: Signal<In, Bits<N>>
strobe_out: Signal<Out, Bit>
data_out: Signal<Out, Bits<M>>
Implementations
Trait Implementations
sourceimpl<const N: usize, const M: usize, const P: usize> Block for Accum<N, M, P>
impl<const N: usize, const M: usize, const P: usize> Block for Accum<N, M, P>
fn connect_all(&mut self)
fn update_all(&mut self)
fn has_changed(&self) -> bool
fn accept(&self, name: &str, probe: &mut dyn Probe)
Auto Trait Implementations
impl<const N: usize, const M: usize, const P: usize> RefUnwindSafe for Accum<N, M, P>
impl<const N: usize, const M: usize, const P: usize> Send for Accum<N, M, P>
impl<const N: usize, const M: usize, const P: usize> Sync for Accum<N, M, P>
impl<const N: usize, const M: usize, const P: usize> Unpin for Accum<N, M, P>
impl<const N: usize, const M: usize, const P: usize> UnwindSafe for Accum<N, M, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more