rust_hls_macro 0.2.0

High level synthesis support for rust-hdl
Documentation
1
2
3
4
5
6
7
8
use rust_hls::hls;

#[hls_main]
pub extern "C" fn adder(a: u32, b: u32) -> u32 {
    a + b
}

fn main() {}