Struct rust_hdl_widgets::ramrom::rom::ROM
source · pub struct ROM<D: Synth, const N: usize> {
pub address: Signal<In, Bits<N>>,
pub data: Signal<Out, D>,
/* private fields */
}
Fields§
§address: Signal<In, Bits<N>>
§data: Signal<Out, D>
Implementations§
Trait Implementations§
source§impl<D: Synth, const N: usize> Block for ROM<D, N>
impl<D: Synth, const N: usize> Block for ROM<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> RefUnwindSafe for ROM<D, N>where D: RefUnwindSafe,
impl<D, const N: usize> Send for ROM<D, N>where D: Send,
impl<D, const N: usize> Sync for ROM<D, N>where D: Sync,
impl<D, const N: usize> Unpin for ROM<D, N>where D: Unpin,
impl<D, const N: usize> UnwindSafe for ROM<D, N>where D: UnwindSafe + RefUnwindSafe,
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