Struct rust_hdl_widgets::ramrom::ram::RAM
source · 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§
source§impl<D: Synth, const N: usize> Block for RAM<D, N>
impl<D: Synth, const N: usize> Block for RAM<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)