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, const P: usize> Logic for [L; P]

source§

fn update(&mut self)

source§

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

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>