pub struct Router<const D: usize, const A: usize, const N: usize> {
pub upstream: SoCBusResponder<D, A>,
pub nodes: [SoCBusController<D, A>; N],
/* private fields */
}
Fields§
§upstream: SoCBusResponder<D, A>
§nodes: [SoCBusController<D, A>; N]
Implementations§
Trait Implementations§
source§impl<const D: usize, const A: usize, const N: usize> Block for Router<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Block for Router<D, A, 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)