pub struct RegisteredEdgeTristate<const W: usize> {
pub bus: Signal<InOut, Bits<W>>,
pub write_enable: Signal<In, Bit>,
pub write_data: Signal<In, Bits<W>>,
pub read_data: Signal<Out, Bits<W>>,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§bus: Signal<InOut, Bits<W>>
§write_enable: Signal<In, Bit>
§write_data: Signal<In, Bits<W>>
§read_data: Signal<Out, Bits<W>>
§clock: Signal<In, Clock>
Trait Implementations§
source§impl<const W: usize> Block for RegisteredEdgeTristate<W>
impl<const W: usize> Block for RegisteredEdgeTristate<W>
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)source§impl<const W: usize> Default for RegisteredEdgeTristate<W>
impl<const W: usize> Default for RegisteredEdgeTristate<W>
source§fn default() -> RegisteredEdgeTristate<W>
fn default() -> RegisteredEdgeTristate<W>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<const W: usize> RefUnwindSafe for RegisteredEdgeTristate<W>
impl<const W: usize> Send for RegisteredEdgeTristate<W>
impl<const W: usize> Sync for RegisteredEdgeTristate<W>
impl<const W: usize> Unpin for RegisteredEdgeTristate<W>
impl<const W: usize> UnwindSafe for RegisteredEdgeTristate<W>
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