Struct rust_hdl::prelude::LFSRSimple
source · pub struct LFSRSimple {
pub clock: Signal<In, Clock>,
pub strobe: Signal<In, bool>,
pub num: Signal<Out, Bits<32>>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§strobe: Signal<In, bool>
§num: Signal<Out, Bits<32>>
Trait Implementations§
source§impl Block for LFSRSimple
impl Block for LFSRSimple
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 Default for LFSRSimple
impl Default for LFSRSimple
source§fn default() -> LFSRSimple
fn default() -> LFSRSimple
Returns the “default value” for a type. Read more