pub struct Expander<const DN: usize, const DW: usize> {
pub bus_read: FIFOReadController<Bits<DN>>,
pub bus_write: FIFOWriteController<Bits<DW>>,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields
bus_read: FIFOReadController<Bits<DN>>
bus_write: FIFOWriteController<Bits<DW>>
clock: Signal<In, Clock>
Implementations
Trait Implementations
sourceimpl<const DN: usize, const DW: usize> Block for Expander<DN, DW>
impl<const DN: usize, const DW: usize> Block for Expander<DN, DW>
sourcefn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
sourcefn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
sourcefn 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<const DN: usize, const DW: usize> RefUnwindSafe for Expander<DN, DW>
impl<const DN: usize, const DW: usize> Send for Expander<DN, DW>
impl<const DN: usize, const DW: usize> Sync for Expander<DN, DW>
impl<const DN: usize, const DW: usize> Unpin for Expander<DN, DW>
impl<const DN: usize, const DW: usize> UnwindSafe for Expander<DN, DW>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more