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

use super::OpalKellyHost;
use super::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);
}