pub struct BaseController<const A: usize> {
pub from_cpu: FIFOReadController<Bits<16>>,
pub to_cpu: FIFOWriteController<Bits<16>>,
pub clock: Signal<In, Clock>,
pub bus: SoCBusController<16, A>,
/* private fields */
}
Fields§
§from_cpu: FIFOReadController<Bits<16>>
§to_cpu: FIFOWriteController<Bits<16>>
§clock: Signal<In, Clock>
§bus: SoCBusController<16, A>
Trait Implementations§
Source§impl<const A: usize> Block for BaseController<A>
impl<const A: usize> Block for BaseController<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)Source§impl<const A: usize> Default for BaseController<A>
impl<const A: usize> Default for BaseController<A>
Source§fn default() -> BaseController<A>
fn default() -> BaseController<A>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<const A: usize> Freeze for BaseController<A>
impl<const A: usize> RefUnwindSafe for BaseController<A>
impl<const A: usize> Send for BaseController<A>
impl<const A: usize> Sync for BaseController<A>
impl<const A: usize> Unpin for BaseController<A>
impl<const A: usize> UnwindSafe for BaseController<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