Struct rust_hdl::prelude::FaderWithSyncROM
source · pub struct FaderWithSyncROM {
pub clock: Signal<In, Clock>,
pub active: Signal<Out, bool>,
pub enable: Signal<In, bool>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§active: Signal<Out, bool>
§enable: Signal<In, bool>
Implementations§
source§impl FaderWithSyncROM
impl FaderWithSyncROM
pub fn new(clock_frequency: u64, phase: u32) -> FaderWithSyncROM
Trait Implementations§
source§impl Block for FaderWithSyncROM
impl Block for FaderWithSyncROM
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)