Trait Logic

Source
pub trait Logic {
    // Required method
    fn update(&mut self);

    // Provided methods
    fn connect(&mut self) { ... }
    fn hdl(&self) -> Verilog { ... }
    fn timing(&self) -> Vec<TimingInfo> { ... }
}

Required Methods§

Source

fn update(&mut self)

Provided Methods§

Source

fn connect(&mut self)

Source

fn hdl(&self) -> Verilog

Source

fn timing(&self) -> Vec<TimingInfo>

Implementations on Foreign Types§

Source§

impl<L: Logic> Logic for Vec<L>

Source§

fn update(&mut self)

Source§

impl<L: Logic, const P: usize> Logic for [L; P]

Source§

fn update(&mut self)

Implementors§

Source§

impl<D: Direction, T: Synth> Logic for Signal<D, T>

Source§

impl<T: Synth> Logic for Constant<T>

Source§

impl<U: Block> Logic for TopWrap<U>