pub struct RAM<D: Synth, const N: usize> {
pub read_address: Signal<In, Bits<N>>,
pub read_clock: Signal<In, Clock>,
pub read_data: Signal<Out, D>,
pub write_address: Signal<In, Bits<N>>,
pub write_clock: Signal<In, Clock>,
pub write_data: Signal<In, D>,
pub write_enable: Signal<In, bool>,
/* private fields */
}
Fields
read_address: Signal<In, Bits<N>>
read_clock: Signal<In, Clock>
read_data: Signal<Out, D>
write_address: Signal<In, Bits<N>>
write_clock: Signal<In, Clock>
write_data: Signal<In, D>
write_enable: Signal<In, bool>
Implementations
Trait Implementations
sourceimpl<D: Synth, const N: usize> Block for RAM<D, N>
impl<D: Synth, const N: usize> Block for RAM<D, N>
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<D, const N: usize> RefUnwindSafe for RAM<D, N> where
D: RefUnwindSafe,
impl<D, const N: usize> Send for RAM<D, N> where
D: Send,
impl<D, const N: usize> Sync for RAM<D, N> where
D: Sync,
impl<D, const N: usize> Unpin for RAM<D, N> where
D: Unpin,
impl<D, const N: usize> UnwindSafe for RAM<D, N> where
D: UnwindSafe + RefUnwindSafe,
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