pub struct EdgeTristateBuffer<T: Synth> {
pub to_pin: Signal<In, T>,
pub from_pin: Signal<Out, T>,
pub output_enable: Signal<In, Bit>,
pub clock: Signal<In, Clock>,
pub reset: Signal<In, Bit>,
pub pin: Signal<InOut, T>,
/* private fields */
}
Fields§
§to_pin: Signal<In, T>
§from_pin: Signal<Out, T>
§output_enable: Signal<In, Bit>
§clock: Signal<In, Clock>
§reset: Signal<In, Bit>
§pin: Signal<InOut, T>
Trait Implementations§
Source§impl<T: Synth> Block for EdgeTristateBuffer<T>
impl<T: Synth> Block for EdgeTristateBuffer<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> Freeze for EdgeTristateBuffer<T>where
T: Freeze,
impl<T> RefUnwindSafe for EdgeTristateBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for EdgeTristateBuffer<T>where
T: Send,
impl<T> Sync for EdgeTristateBuffer<T>where
T: Sync,
impl<T> Unpin for EdgeTristateBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for EdgeTristateBuffer<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