Struct rust_hdl_widgets::edge_ff::EdgeDFF
source · pub struct EdgeDFF<T: Synth> {
pub d: Signal<In, T>,
pub q: Signal<Out, T>,
pub clk: Signal<In, Clock>,
}
Fields§
§d: Signal<In, T>
§q: Signal<Out, T>
§clk: Signal<In, Clock>
Implementations§
Trait Implementations§
source§impl<T: Synth> Block for EdgeDFF<T>
impl<T: Synth> Block for EdgeDFF<T>
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<T> RefUnwindSafe for EdgeDFF<T>where T: RefUnwindSafe,
impl<T> Send for EdgeDFF<T>where T: Send,
impl<T> Sync for EdgeDFF<T>where T: Sync,
impl<T> Unpin for EdgeDFF<T>where T: Unpin,
impl<T> UnwindSafe for EdgeDFF<T>where T: UnwindSafe,
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