Struct rust_hdl_widgets::ramrom::ram::RAMWrite
source · 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)