pub struct RAMWrite<D: Synth, const N: usize> {
pub address: Signal<In, Bits<N>>,
pub clock: Signal<In, Clock>,
pub data: Signal<In, D>,
pub enable: Signal<In, bool>,
}
Fields§
§address: Signal<In, Bits<N>>
§clock: Signal<In, Clock>
§data: Signal<In, D>
§enable: Signal<In, bool>
Trait Implementations§
Source§impl<D: Synth, const N: usize> Block for RAMWrite<D, N>
impl<D: Synth, const N: usize> Block for RAMWrite<D, N>
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> Freeze for RAMWrite<D, N>where
D: Freeze,
impl<D, const N: usize> RefUnwindSafe for RAMWrite<D, N>where
D: RefUnwindSafe,
impl<D, const N: usize> Send for RAMWrite<D, N>where
D: Send,
impl<D, const N: usize> Sync for RAMWrite<D, N>where
D: Sync,
impl<D, const N: usize> Unpin for RAMWrite<D, N>where
D: Unpin,
impl<D, const N: usize> UnwindSafe for RAMWrite<D, N>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