pub struct Host<const A: usize> {
pub bidi_bus: BidiBusM<Bits<8>>,
pub bus: SoCBusController<16, A>,
pub sys_clock: Signal<In, Clock>,
pub bidi_clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§bidi_bus: BidiBusM<Bits<8>>
§bus: SoCBusController<16, A>
§sys_clock: Signal<In, Clock>
§bidi_clock: Signal<In, Clock>
Implementations§
Trait Implementations§
Source§impl<const A: usize> Block for Host<A>
impl<const A: usize> Block for Host<A>
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<const A: usize> Freeze for Host<A>
impl<const A: usize> RefUnwindSafe for Host<A>
impl<const A: usize> Send for Host<A>
impl<const A: usize> Sync for Host<A>
impl<const A: usize> Unpin for Host<A>
impl<const A: usize> UnwindSafe for Host<A>
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