1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use rust_hdl_core::prelude::*;

use crate::OpalKellyHost;
use crate::OpalKellyHostInterface;

pub trait OpalKellyBSP {
    fn hi() -> OpalKellyHostInterface;
    fn ok_host() -> OpalKellyHost;
    fn leds() -> Signal<Out, Bits<8>>;
    fn clocks() -> Vec<Signal<In, Clock>>;
    fn synth<U: Block>(uut: U, dir: &str);
}